Skip to content

Commit 01018cd

Browse files
committed
Merge branch 'release/v1.0' into develop
2 parents 9edf636 + 885a37a commit 01018cd

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
#VCF Parser#
22
Small library for parsing vcf files. Based on [PyVCF](https://github.com/jamescasbon/PyVCF)
33

4+
**vcf_parser can split multi allelic calls in vcf now.**
5+
46
pip install vcf_parser
57

8+
If used within a python environment:
9+
610
```python3
711
from vcf_parser import parser
812
my_parser = parser.VCFParser(infile='infile.vcf')
913
for variant in my_parser:
1014
print(variant)
1115
```
1216

13-
**vcf_parser can split multi allelic calls in vcf now.**
17+
or used as a command line tool
18+
19+
vcf_parser examples/test_vcf.vcf --split
20+
21+
Prints a new vcf with splitted variants to screen.
1422

1523
Vcf parser is really a lightweight version of [PyVCF](https://github.com/jamescasbon/PyVCF) with most of it's code borrowed and modified from there.
1624

0 commit comments

Comments
 (0)