Skip to content

martinghunt/varifier

 
 

Repository files navigation

varifier

Note: full documentation is under construction

Installation

conda

Conda (channel only) bioconda version

Prerequisite: conda (and bioconda channel correctly set up)

$ conda install varifier

Container

Docker images are hosted at quay.io.

singularity

Prerequisite: singularity

$ URI="docker://quay.io/iqballab/varifier"
$ singularity exec "$URI" varifier --help

The above will use the latest version. If you want to specify a version/commit then use a tag (or commit) like so.

$ TAG="3c8152a"
$ URI="docker://quay.io/iqballab/varifier:${TAG}"

docker

Docker Repository on Quay

Prerequisite: docker

$ docker pull quay.io/iqballab/varifier
$ docker run quay.io/iqballab/varifier varifier --help

You can find all the available tags on the quay.io repository.

Local

Dependencies:

Install:

pip3 install .

Usage

To verify calls in a VCF file, you will need:

  1. test.vcf - the VCF file to be tested
  2. ref.fasta - FASTA file of reference corresponding to the VCF file
  3. truth.fasta - a truth genome FASTA file

Run:

varifier vcf_eval truth.fasta ref.fasta test.vcf out_dir

This makes a new directory called out_dir. The results are in the file summary_stats.json.

Tests

To run the tests, run tox from the root of the repository.

About

Variant call verification

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.3%
  • Other 1.7%