An accurate NGS-based structural variant detection tool for human genomes
Project description
SVhet
An accurate NGS-based structural variation filtering tool based on heterozygous sites on reads mapped to deleted regions and their flanks. SVhet has been tested on common SV callers including Manta, DELLY and Lumpy (both PE150 and PE250). While SVhet works for all regions in theory, it is only tested on GIAB v0.6 Tier 1 SV regions, with either/both breakpoint(s) located within the regions. To use SVhet with minimal loss in recall and best performance, users are recommended to include only SVs within Tier 1 regions and not specify --fully-within.
GIAB v0.6 Tier 1 SV benchmark regions can be downloaded here.
Installation
SVhet can be downloaded and installed using conda or mamba. This will automatically configure the environment and install most dependencies of SVhet.
git clone git@github.com:snakesch/SVhet.git
cd SVhet
conda env create -f environment.yml
conda activate svhet
Alternatively, SVhet can be downloaded from PyPI:
pip install svhet
Next, make sure singularity (v3.0+) is available on the system and pull the DeepVariant image:
singularity pull docker://google/deepvariant:1.9.0
Running SVhet
SVhet can be run as a single command from CLI and takes as input candidate SVs proposed by state-of-the-art SV callers (both VCF and BAM) and a reference genome. Depending on the specific SV caller used, users may adopt different CIPOS and CIEND tags (e.g. CIPOS95 for Lumpy).
svhet \
--input VCF \
--bam BAM \
--ref REFERENCE \
--output VCF_OUT \
--image DEEPVARIANT_IMAGE \
--outdir OUTPUT_DIR \
--threads INT \
--cipos-tag CIPOS \
--ciend-tag CIEND
A list of all available arguments can be accessed from svhet --help.
Test run
A minimal test set is available from test/. To run the test case, download hs37d5 reference and its index file from GIAB FTP
Test command:
svhet \
--input test.vcf.gz \
--bam test.bam \
--ref REFERENCE \
--output test.svhet.vcf.gz \
--image DEEPVARIANT_IMAGE \
--outdir test_output/ \
--threads 4 \
--cipos-tag CIPOS \
--ciend-tag CIEND
Upon successful execution, output files should be similar to those in test/test_output/.
License
SVhet is available under an MIT license.
Issues and correspondence
Issues and correspondence to Louis SHE (snakesch@connect.hku.hk).
Citation
Preprint pending.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file svhet-0.1.2.tar.gz.
File metadata
- Download URL: svhet-0.1.2.tar.gz
- Upload date:
- Size: 19.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c07bd4a377a91d808e56356b81712cd42e3e652f4ab12452675cf65b97e290
|
|
| MD5 |
1421cb09250d7b60276234194abb7dac
|
|
| BLAKE2b-256 |
f278baecbb2f23c281eda90138086f95ed3aa133cfcf61381349e435fc3739d6
|
File details
Details for the file svhet-0.1.2-py3-none-any.whl.
File metadata
- Download URL: svhet-0.1.2-py3-none-any.whl
- Upload date:
- Size: 60.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
356433cc0cd368a008814717bff7f6682e1f08a0165aba98a165a074d9b4ab61
|
|
| MD5 |
aad4664c353f1230fd0762c670bf66e8
|
|
| BLAKE2b-256 |
919a7dbfe07414de80ab63506cb6ce5361c99340a15d775a7553e84328248197
|