Python 3 VCF library with good support for both reading and writing
Project description
VCFPy
Python 3 VCF library with good support for both reading and writing
- Free software: MIT license
- Documentation: https://vcfpy.readthedocs.io.
Features
- Support for reading and writing VCF v4.3
- Interface to
INFOandFORMATfields is based ondictallows for easier modification than PyVCF (also I find this more pythonic) - Read (and jump in) and write BGZF files just using
vcfpy
Why another VCF parser for Python!
I've been using PyVCF with quite some success in the past. However, the main bottleneck of PyVCF is when you want to modify the per-sample genotype information. There are some issues in the tracker of PyVCF but none of them can really be considered solved. I tried several hours to solve these problems within PyVCF but this never got far or towards a complete rewrite...
For this reason, VCFPy was born and here it is!
What's the State?
VCFPy is the result of two full days of development plus some maintenance work later now (right now). I'm using it in several projects but it is not as battle-tested as PyVCF.
Why Python 3 Only?
As I'm only using Python 3 code, I see no advantage in carrying around support for legacy Python 2 and maintaining it. At a later point when VCFPy is known to be stable, Python 2 support might be added if someone contributes a pull request.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vcfpy-0.14.2.tar.gz.
File metadata
- Download URL: vcfpy-0.14.2.tar.gz
- Upload date:
- Size: 40.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89786ed8f49013c2a6fd4add57a1590a43140c3fac4628da0f27e92d50bfd891
|
|
| MD5 |
83eae0b978461567210a1cedcbfb3058
|
|
| BLAKE2b-256 |
18001411d5743738f8dddff65c71d099a006eb627e2cc8b82d830ebf06a8677d
|
File details
Details for the file vcfpy-0.14.2-py3-none-any.whl.
File metadata
- Download URL: vcfpy-0.14.2-py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
532ea951514ceb1f6a873185d65f7b43fa83130126ebd951621b4dae79c48774
|
|
| MD5 |
5a83d9c6d8f51984bc751520b9c635af
|
|
| BLAKE2b-256 |
4e32703c6e20edf3f707c5baeb2b3f44280fabfadcf1f6667aa2f9feb12516f9
|