-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reading/writing vcf breaks VCF header #210
Comments
Thanks @jrderuiter for reporting this. A quick diff shows two things:
The former is too bad, but not the cause of your issue. The latter is due to PyVCF not properly parsing the header lines (see also #90). I'll try to improve this. |
Thank you for looking into this. The two differences you mention are indeed
|
You could try again with the master branch:
|
I am trying to use PyVCF to write a simple script that filters VCF records based on certain criteria. However, this script seems to break the header of my VCF file, as bcftools no longer parses the resulting VCF, but has no problem with the VCF that is used as input.
Input vcf header: https://gist.github.com/jrderuiter/ca373a8d4b4652379244
Output vcf header: https://gist.github.com/jrderuiter/e1a4b2d5e437f7652e8c
Bcftools errors on output vcf:
The text was updated successfully, but these errors were encountered: