This release is a pre-release and may not be stable for production use.
ExtremeVariantFilter
Extreme Variant Filter is a set of tools developed to aid in the identification of false positive variants in Genomic Variant Call Files based on XGBoost.
Functions
apply_filter
Usage:
apply_filter (--vcf STR) (--snp-model STR) (--indel-model STR) [--verbose]
Description:
Apply models generated by train_model to a VCF.
Arguments:
--vcf STR VCF to be filtered
--snp-model STR Model for applying to SNPs
--indel-model INT Model for applying to InDels
Options:
-h, --help Show this help message and exit.
-v, --version Show version and exit.
--verbose Log output
Examples:
apply_filter --vcf <table> --snp-model <snp.pickle.dat> --indel-model <indel.pickle.dat>
train_model
Usage:
train_model (--true-pos STR) (--false-pos STR) (--type STR) [--out STR] [--njobs INT] [--verbose]
Description:
Train a model to be saved and used to filter VCFs.
Arguments:
--true-pos STR Path to true-positive VCF from VCFeval or comma-seperated list of paths
--false-pos STR Path to false-positive VCF from VCFeval or comma-seperated list of paths
--type STR SNP or INDEL
Options:
-o, --out <STR> Outfile name for writing model [default: (type).filter.pickle.dat]
-n, --njobs <INT> Number of threads to run in parallel [default: 2]
-h, --help Show this help message and exit.
-v, --version Show version and exit.
--verbose Log output
Examples:
train_table --true-pos <path/to/tp/vcf(s)> --false-pos <path/to/fp/vcf(s)> --type [SNP, INDEL] --njobs 20
Install
To install and run EVF simply type:
pip install extremevariantfilter
Alternatively, clone this repo and build using the following commands:
git clone https://github.com/stLFR/extremevariantfilter.git
cd extremevariantfilter
pip install .
stLFR Paper Results
If you'd like to use this tool to corroborate the results from the
stLFR Paper on Bioarxiv paper,
the models used for variant filtering are available within the models/ directory.
In order to get identical results, after installation, use the command
pip install -r requirements.txt from within this directory to ensure your
environment matches the one we used for our results.
Different versions of certain packages will result in variable results.
Metadata
Release files for extremevariantfilter 0.0a4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| extremevariantfilter-0.0a4.tar.gz | 2.7 MB | Without provenance | Details for extremevariantfilter-0.0a4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| extremevariantfilter-0.0a4-py2-none-any.whl | Python 2 | none | any | Details for extremevariantfilter-0.0a4-py2-none-any.whl |
Total release size: 2.7 MB
Release files / extremevariantfilter-0.0a4.tar.gz
| Download URL | extremevariantfilter-0.0a4.tar.gz |
|---|---|
| Size | 2.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6add6dd252c703e5951afcffbad406d1d8c81f1465ec104ee835ad00136a9780
|
|
BLAKE2b-256 checksum How to use checksums |
fea79173b6e985e301c95c50dfdc074b9e401801266c4fa6eb6ac73bbd574db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10
|
Release files / extremevariantfilter-0.0a4-py2-none-any.whl
| Download URL | extremevariantfilter-0.0a4-py2-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
eba0ec19e3bbf2fac9982960d53a0b8c808189ce511250ff1ce543d908c761ea
|
|
BLAKE2b-256 checksum How to use checksums |
4ec290c9625f9b980903eb3df303721d0903403c4c178da52f4dd4cbdfda44b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.10
|
Security for extremevariantfilter 0.0a4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.