Skip to main content

Tools for working with Variant Call Format files.

Project description

https://img.shields.io/pypi/v/vcftoolz.svg http://joss.theoj.org/papers/10.21105/joss.01144/status.svg

Tools for working with Variant Call Format files.

VCF Toolz was developed by the United States Food and Drug Administration, Center for Food Safety and Applied Nutrition.

Features

  • Compares the snps in two or more VCF files.

  • Lists the snps that are unique to each VCF file with full genotype information per snp.

  • Lists the snps that are missing from each VCF file if present in at least two other VCF files.

  • Generates Venn diagrams of positions and snps in the VCF files.

  • Reports precision, recall, and F1 score when the truth is known.

  • Reports the effectiveness of filtered variants when the truth is known.

  • Reformat the VCF file in a tall-narrow format for easy viewing and diffs.

  • Count samples, positions, calls, snps, indels, other variants, missing calls, and filter reasons.

  • Plot calls along the length of the genome and show the location of filtered calls.

Citing VCF Toolz

To cite VCF Toolz, please reference the VCF Toolz paper:

https://doi.org/10.21105/joss.01144

License

See the LICENSE file included in the VCF Toolz distribution.

History

1.2.0 (2019-04-04)

  • Fix defect in narrow command wrongly printing ALT=. when GT=.

  • Add the count command to count samples, positions, calls, snps, indels, other variants, filtered calls, missing calls, and filter reasons.

  • Add the plot command to plot calls along the length of the genome and show the location of filtered calls.

  • Change the text of the compare report to refer to “Calls”, not “Sample snps”.

  • Drop support for Python 3.4, which is not supported by matplotlib.

  • Add support for Python 3.7.

1.1.1 (2019-03-26)

  • Replace None with ‘.’ when printing call data.

  • Support VCF files with multiple alternate alleles per position.

1.1.0 (2019-02-06)

  • Support reading gzip compressed vcf files.

1.0.0 (2018-11-20)

  • First public release.

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

vcftoolz-1.2.1.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

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

vcftoolz-1.2.1-py2.py3-none-any.whl (21.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file vcftoolz-1.2.1.tar.gz.

File metadata

  • Download URL: vcftoolz-1.2.1.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for vcftoolz-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c65fe82c317da60084fdbed4827cdaeb7f0ea63a767a3ffcc6eaffe2f6ac8b8c
MD5 b0bb2c58fdb1f022abbc2313251ad2bf
BLAKE2b-256 a9703d8b403887b18e76badb4486b17728b2892ff55c7f09484a28605e98b18c

See more details on using hashes here.

File details

Details for the file vcftoolz-1.2.1-py2.py3-none-any.whl.

File metadata

  • Download URL: vcftoolz-1.2.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 21.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for vcftoolz-1.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 88ec9a9fa6ab48f4810ba502d1eeef323ae07bb1a27115b08ed1fdb769e30820
MD5 9e0115b6a8d93e9dba66c64f1d406904
BLAKE2b-256 db25455577736e7445afc78598fdfe505bd70e86c2095d0b5b00f99a67b89507

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