cyvcf2

cyvcf2 parses and queries Variant Call Format (VCF) and Binary Call Format (BCF) files to provide fast programmatic access to genetic variation data produced by DNA sequencing, alignment, and variant calling.


Key Features:

  • Fast parsing and querying: Provides high-performance parsing and iteration over VCF and BCF records for large datasets.
  • Handles complex VCF/BCF structures: Optimized to manage the nested and annotated fields typical of VCF and BCF formats.
  • Annotation and genotype metadata access: Exposes variant annotations and genotype fields for programmatic inspection and filtering.

Scientific Applications:

  • Variant annotation: Facilitates extraction and downstream annotation of genetic variants recorded in VCF/BCF files.
  • Genotype analysis: Enables examination of genotype calls and related metadata across samples and cohorts.
  • Data integration: Supports incorporating VCF/BCF-derived variant data into broader genomic analyses and pipelines.

Methodology:

Leverages Python to parse and query VCF and BCF files and optimizes handling of these complex file formats to efficiently extract and analyze genetic variation data.

Topics

Details

Tool Type:
command-line tool, library
Programming Languages:
Python
Added:
8/1/2018
Last Updated:
12/10/2018

Operations

Publications

Pedersen BS, Quinlan AR. cyvcf2: fast, flexible variant analysis with Python. Bioinformatics. 2017;33(12):1867-1869. doi:10.1093/bioinformatics/btx057. PMID:28165109. PMCID:PMC5870853.

Documentation