Skip to main content

Manipulate vcf files of structural variants using SURVIVOR

Project description

surpyvor

A python wrapper around SURVIVOR, with additional convenience functions.

Installation and dependencies

surpyvor requires bcftools, bgzip, tabix and SURVIVOR to be installed and in the $PATH. Required python modules are cyvcf2, matplotlib, numpy, matplotlib-venn and upsetplot

surpyvor and its dependencies can be installed from bioconda:

conda install -c bioconda surpyvor

USAGE

sub-commands:

merge               merging vcf files of SVs
highsens            get union of SV vcfs
highconf            get intersection of SV vcfs
prf                 calculate precision, recall and F-measure
upset               Make upset plot for multiple SV vcf files
venn                Make venn diagram for 2 or 3 SV vcf files

Each sub-command has its own help information, accessible by running surpyvor <command> -h/--help

General and common arguments for most sub-commands:

-o/--output: output variant file to write. Default: stdout
--plotout: name ouf output plot to write. Default names depending on plot type.
-d/--distance: maximal pairwise distance between coordinates of SVs to be considered concordant. Default: 500
-l/--minlength: minimal SV length to include. Default: 50
--variants: vcf files to combine

Specific arguments

surpyvor prf

--ignore_chroms: ignore some chromosomes for calculations. Default: chrEBV
--bar: create a stacked bar chart colored by validation status [not created by default]
--matrix: create a confusion matrix [not created by default]

Citation

If you use this tool, please consider citing our publication and the citation for SURVIVOR.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

surpyvor-0.12.0.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file surpyvor-0.12.0.tar.gz.

File metadata

  • Download URL: surpyvor-0.12.0.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200325 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

File hashes

Hashes for surpyvor-0.12.0.tar.gz
Algorithm Hash digest
SHA256 1d65440be75aacadaa366c16662e199b9ac4148c400f5301d295220252a80efb
MD5 96308531a36806e914ac1c7763bbfcbc
BLAKE2b-256 a8f71534d744d5d26b3c0f2531b6b40104d98adb204e90fcd1a47c34312f55fe

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page