Skip to main content

Structural variant comparison tool for VCFs

Project description

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

PyPI version pylint FuncTests coverage develop

Structural variant toolkit for benchmarking, annotating and more for VCFs

WIKI page has detailed documentation. See Updates on new versions.

Installation

Truvari uses Python 3.6+ and can be installed with pip:

  python3 -m 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:

  python3 setup.py install

See tags/ for a list of all available versions.

See Development/docker for instructions on how to build and use a Truvari Docker container.

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 -f reference.fasta -o output_dir/

Truvari Commands

  • bench - Performance metrics from comparison of two VCFs
  • collapse - Collapse possibly redundant VCF entries
  • anno - Add SV annotations to a VCF
  • vcf2df - Turn a VCF into a pandas DataFrame
  • consistency - Consistency report between multiple VCFs

More Information

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

https://www.spiralgenetics.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Truvari-3.0.0.tar.gz (39.1 kB view hashes)

Uploaded Source

Built Distributions

Truvari-3.0.0-py3.9.egg (118.6 kB view hashes)

Uploaded Source

Truvari-3.0.0-py3-none-any.whl (52.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page