Skip to content
forked from ACEnglish/truvari

Structural variant toolkit for VCFs

License

Notifications You must be signed in to change notification settings

sonny-mo/truvari

 
 

Repository files navigation

████████╗██████╗ ██╗   ██╗██╗   ██╗ █████╗ ██████╗ ██╗
╚══██╔══╝██╔══██╗██║   ██║██║   ██║██╔══██╗██╔══██╗██║
   ██║   ██████╔╝██║   ██║██║   ██║███████║██████╔╝██║
   ██║   ██╔══██╗██║   ██║╚██╗ ██╔╝██╔══██║██╔══██╗██║
   ██║   ██║  ██║╚██████╔╝ ╚████╔╝ ██║  ██║██║  ██║██║
   ╚═╝   ╚═╝  ╚═╝ ╚═════╝   ╚═══╝  ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝

Structural variant toolkit for benchmarking, annotating and more for VCFs

WIKI page has detailed documentation. You can also checkout the deployed documentation.

See Updates on new versions.

Installation

Truvari uses Python 3.7 and can be installed with pip:

  pip install Truvari 

PyPi has a history of all versions available. Pip installs all requirements EXCEPT external tools needed for running some annotations. See anno for details.

To build and install Truvari from scratch:

  python -m pip install --upgrade pip setuptools wheel
  python setup.py sdist bdist_wheel
  pip install dist/Truvari-<version>.tar.gz

Where <version> is which version you just built.

See tags/ for a list of all available versions.

Quick Start

Each sub-command contains help documentation. Start with truvari -h to see available commands.

The current most common Truvari use case is for structural variation benchmarking:

  truvari bench -b base.vcf.gz -c comp.vcf.gz -r reference.fasta -o output_dir/

Truvari Commands

  • bench - Performance metrics from comparison of two VCFs
  • stats - Basic SV relevant VCF stats
  • consistency - Consistency report between multiple VCFs
  • anno - Annotate a VCF

More Information

Find more details and discussions about Truvari on the WIKI page or the documentation.

https://www.spiralgenetics.com

About

Structural variant toolkit for VCFs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 55.5%
  • Jupyter Notebook 43.4%
  • Shell 1.1%