Skip to main content

vbtools: a variant benchmark tool to compare VCFs with a consensus set

Install

Before installation, make sure conda is under your PATH. Conda installation here.

# clone this repo
git clone git@github.com:broadinstitute/vbtools.git

# setup conda environment
cd vbtools

conda env create -f env.yml # this will take a few minutes
conda list  # verify new environment was installed correctly

# activate environment
conda activate vbtools

# deactivate the environment when done
conda deactivate

# completely remove the virtual environment
conda remove -name vbtools --all

Usage

You can use following command to benchmark a VCF against a reference/consensus VCF.

vcfbench.py -v <input.vcf> -b <reference.vcf>

--prefix is an option to define prefix to the output files.

Currently, only haploid VCF is supported in the analysis. Diploid VCF will be standardized into haploid before comparison. Input VCF should follow VCF spec v4.2.

Following pre-processing steps are performed on the input VCF before the analysis:

  1. remove unused alleles
  2. remove monomorphic sites
  3. remove sites with heterozygous genotypes
  4. remove non-SNP sites
  5. remove sites with asterisk marks
  6. change diploid to haploid VCF

The script will output:

  1. Site level comparison:
    • a tsv file including number of unique and shared sites.
  2. Sample level comparision:
    • The sample level comparison functionality will be added to the script soon.

Metadata

Release files for vbtools 0.1.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 vbtools 0.1.0
File Size Uploaded Provenance Actions
vbtools-0.1.0.tar.gz 5.1 kB Without provenance Details for vbtools-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.9 kB

Release files / vbtools-0.1.0.tar.gz

Download URL vbtools-0.1.0.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
6efcd364cf07c0e6d5ce9979c03d71b3a1f8254fdda38dcff5ce327a67b9dc76
BLAKE2b-256 checksum
How to use checksums
916360807d208790a81613d1cb12e995822e9866b9574de346bb171809405d75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.3

Release files / vbtools-0.1.0-py3-none-any.whl

Download URL vbtools-0.1.0-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
105e1c88db2dbab344a1fed078e7f715eda9ae9a26b54a48dfbf88284dfab69b
BLAKE2b-256 checksum
How to use checksums
d3b234d2693223978c037b912111c0a670835c12b99e4877831b1f13bacbbec6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.7.3

Security for vbtools 0.1.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

0.1.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