https://github.com/dridk/vcf-parser
vcf parser with annotation
https://github.com/dridk/vcf-parser
Last synced: about 1 month ago
JSON representation
vcf parser with annotation
- Host: GitHub
- URL: https://github.com/dridk/vcf-parser
- Owner: dridk
- License: agpl-3.0
- Created: 2020-07-03T13:10:16.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-10-01T13:48:52.000Z (over 3 years ago)
- Last Synced: 2025-01-31T17:52:25.373Z (3 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Annotated VCF parser
It supports vep and snpeff annotations
```python
from vcfReader import VcfReader
reader = VcfReader("myvcf.vcf", "vep")for variant in reader.get_variants():
print(variant["annotations"][0]["impact"]
```