semvec/pypi-packages huggingface dataset:
vcfgo 0.0.10
A Python package for working with VCF files

vcfgo
*****

.. image:: https://badge.fury.io/py/vcfgo.svg
    :target: https://badge.fury.io/py/vcfgo
.. image:: https://readthedocs.org/projects/vcfgo/badge/?version=latest
    :target: https://vcfgo.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status
.. image:: https://travis-ci.com/sbslee/vcfgo.svg?branch=master
    :target: https://travis-ci.com/sbslee/vcfgo

``vcfgo`` is a Python package for working with Variant Call Format (VCF) files.
Documentation is available at 
`Read the Docs <https://vcfgo.readthedocs.io/en/latest/>`_.

Installation
============

The easiest way to install vcfgo is to use ``pip``::

    $ pip install -U vcfgo

Examples
========

To read a VCF file::

    from vcfgo.VCFFile import VCFFile
    vcffile = VCFFile("example.vcf")
    vcffile.read() # vcffile.read("chr1:1005-1009")

To iterate through::

    for record in vcffile.data:
        print(record.fields) # print(record.pos)