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.
Metadata
Release files for vcfpy 0.14.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| vcfpy-0.14.2.tar.gz | 40.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vcfpy-0.14.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 84.1 kB
Release files / vcfpy-0.14.2.tar.gz
| Download URL | vcfpy-0.14.2.tar.gz |
|---|---|
| Size | 40.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89786ed8f49013c2a6fd4add57a1590a43140c3fac4628da0f27e92d50bfd891
|
|
BLAKE2b-256 checksum How to use checksums |
18001411d5743738f8dddff65c71d099a006eb627e2cc8b82d830ebf06a8677d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / vcfpy-0.14.2-py3-none-any.whl
| Download URL | vcfpy-0.14.2-py3-none-any.whl |
|---|---|
| Size | 43.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
532ea951514ceb1f6a873185d65f7b43fa83130126ebd951621b4dae79c48774
|
|
BLAKE2b-256 checksum How to use checksums |
4e32703c6e20edf3f707c5baeb2b3f44280fabfadcf1f6667aa2f9feb12516f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for vcfpy 0.14.2
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.