Skip to main content

PyPI version pylint FuncTests coverage develop Downloads

Logo
Toolkit for benchmarking, merging, and annotating Structural Variants

📚 WIKI page has detailed documentation.
📈 See Updates on new versions.
📝 Read our Papers (#1, #2) to learn more.

💻 Installation

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

  python3 -m pip install Truvari 

For details and more installation options, see Installation on the wiki.

⏩ 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 -o output_dir/

Find more matches by harmonizing phased varians using refine:

   truvari refine -R -U -r reference.fa --regions output_dir/candidate.refine.bed output_dir/

Use Truvari's comparison engine to consolidate redundant variants in a merged multi-sample VCF:

    bcftools merge -m none sampleA.vcf.gz sampleB.vcf.gz | bgzip > merge.vcf.gz
    tabix merge.vcf.gz
    truvari collapse -i merge.vcf.gz -o truvari_merge.vcf

🧬 Truvari Commands

  • bench - Performance metrics from comparison of two VCFs
  • collapse - Collapse possibly redundant VCF entries
  • refine - Automated bench result refinement with phab
  • anno - Add SV annotations to a VCF
  • phab - Harmonize variant representations using MSA
  • consistency - Consistency report between multiple VCFs
  • vcf2df - Turn a VCF into a pandas DataFrame
  • segment - Normalization of SVs into disjointed genomic regions
  • stratify - Count variants per-region in vcf
  • divide - Divide a VCF into independent shards

🔎 More Information

All documentation about Truvari is on the WIKI. Additional information about using Truvari can be found in Discussions

Metadata

Release files for truvari 4.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for truvari 4.3.0
File Size Uploaded Provenance Actions
truvari-4.3.0.tar.gz 80.6 kB Without provenance Details for truvari-4.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for truvari 4.3.0
File Interpreter ABI Platform Actions
truvari-4.3.0-py3-none-any.whl Python 3 none any Details for truvari-4.3.0-py3-none-any.whl

Total release size: 179.7 kB

Release files / truvari-4.3.0.tar.gz

Download URL truvari-4.3.0.tar.gz
Size 80.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cb25b3e8163584b51dec06356b89f193674e4388891e29b56c7e5b6f4bb63779
BLAKE2b-256 checksum
How to use checksums
84e61390170271f8edb54720e0bc860273643006a25e81de848086372a59e420
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Release files / truvari-4.3.0-py3-none-any.whl

Download URL truvari-4.3.0-py3-none-any.whl
Size 99.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b22fd57e3842708d065ff3bc9667bfef46d40c24ba2266e071719770e96e8d9
BLAKE2b-256 checksum
How to use checksums
8c4457aef9c420a8e1df701fa6a9b25e59feb5fb7296d7f48d80f0b620865228
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.9.19

Security for truvari 4.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page