Skip to main content

Structural variant comparison tool for VCFs

Project description

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

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.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 -f 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 - Add SV annotations to a VCF
  • collapse - Collapse possibly redundant VCF entries
  • truv2df - Turn a Truvari directory's VCFs into a pandas DataFrame

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-2.1.1.tar.gz (43.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Truvari-2.1.1-py3-none-any.whl (59.6 kB view details)

Uploaded Python 3

File details

Details for the file Truvari-2.1.1.tar.gz.

File metadata

  • Download URL: Truvari-2.1.1.tar.gz
  • Upload date:
  • Size: 43.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for Truvari-2.1.1.tar.gz
Algorithm Hash digest
SHA256 d770651e3b2bfe5dc796178491d69ecaa4ae02252d625de761c2e98457d53d2b
MD5 15e7ee52100a022a25d5047012e3cb05
BLAKE2b-256 bd430cab0cb5343600cd9b342a0b2dc53ce6d6c18eee61ed42f5d9b085cfe196

See more details on using hashes here.

File details

Details for the file Truvari-2.1.1-py3-none-any.whl.

File metadata

  • Download URL: Truvari-2.1.1-py3-none-any.whl
  • Upload date:
  • Size: 59.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.9

File hashes

Hashes for Truvari-2.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5f9b9dea1ea0b107d5306af43d76f56f1850231471dd6470fddd6bf9eadf8e6d
MD5 b9162fe250b8644cbc7941ee0a9baafa
BLAKE2b-256 ef00a9f17f4a4cf8d0c064a759c904cfd6ba60a166bf909a3efdb50002ad6f74

See more details on using hashes here.

Supported by

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