This hosts multiple scripts necessary for filtering and processing of variant calls in the vcfs/txt file generated by callers.
Project description
Post-processing of variant calls
This hosts multiple scripts necessary for filtering and processing of variant calls in the vcfs/txt file generated by callers.
Callers Supported
pv
is the main command for the postprocessing_variant_calls
package see pv --help
to see supported variant callers commands.
VarDictJava
The sub-command pv vardict
allows users to perform post-processing on VarDictJava output. The two supported inputs to pv vardict
from VarDictJava are single
and case-control
vcfs.
To specify to pv vardict
, which input type will be used one of the following sub-commands may be used:
pv vardict single
for single sample vcfspv vardict case-control
for case-controlled vcfs.
Next the user can specify, what post-processing should be done. Right now, postprocessing_variant_calls
supports filtering:
pv vardict single filter
pv vardict case-control filter
Finally, we can specify the paths and options for our filtering and run our command. Here is an example using the test data provided in this repository:
pv vardict single filter --inputVcf data/Myeloid200-1.vcf --tsampleName Myeloid200-1 -ad 1 -o data/single
There are various options and input specifications for filtering so see pv vardict single filter --help
or pv vardict single case-sontrol --help
for help.
See example_calls.sh
for more example calls.
How the repo was made
Template used: https://github.com/yxtay/python-project-template
Usage
External dependencies
- [Conda][conda]
- [Docker][docker]
- [Make][make]
Create environment
Use Conda to create a virtual environment and activate it for the project.
conda env create -f environment.yml
conda activate pv_calls
Install dependencies
Then install project dependencies with Poetry.
make deps-install
Updating Environment
To update the environment after initial setup up run:
conda env update -f environment.yml
instead of conda create
, and then re-run make deps-install
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
Hashes for postprocessing_variant_calls-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf49df60f78d588d281fe69543fc48c93a78047caaea630711b40dc689a256f9 |
|
MD5 | dc39ce4ef08dff4cd97621da24c64992 |
|
BLAKE2b-256 | 0a73dd3ff7a19f8dd872bf38d6e5d7a8977b0b4aa5df69fe90f097f62705d443 |
Hashes for postprocessing_variant_calls-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0cc7c5d50561e18d006b7aa7d0bf77337152d48dcb24110930046290f5c281e |
|
MD5 | 849f7ab0ffdee32450317c0cd3afb432 |
|
BLAKE2b-256 | 1a617f1e07afa8236eaef73bbdbaecb82b93cd9c327a992b640ee9f6841b78ba |