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
Support VCF 4.1 #17
Comments
Hello James, I just started working with your PyVCF library (I had a small quick and dirty one, not quite so complete and clean as yours) and am adding code for VCF 4.1. I already added the new INFO and FORMAT keywords, parse the ALT lines in the header, and rearrangement breakends in the ALT column. Still have to add in unit tests though... Anyways, just letting you know what I am up to. Cheers, Daniel PS Your code is real clean and structured, a pleasure to work with. |
Thanks so much @dzerbino #42 and @martijnvermaat #28 for the initial work on this. The HEAD now is setup as 0.5.0-pre. I want to get full 4.1 support for the 0.5.0 release. Currently the only ticket is #20, but I'll leave off cutting the release until people have taken the SV code for a spin. |
Please see the proposal on #48 for multiple classes for ALTs |
Anyone think I should release this? python3 tests currently broken http://travis-ci.org/#!/jamescasbon/PyVCF/jobs/1702018 not sure why. |
Hello James, I tried to address these issues, but at the end of the day it's a backward compatibility issue between Python 3.x and 2.x. This is a matter of policy, but maintaining compatibility would probably involve two separate distributions. It's probably best to stick to Python 2.7, just like the BioPython project did. Regards, Daniel |
Thanks @dzerbino, but more importantly: do you think the SV work is ready for a release? |
Oh, sorry: it definitely covers the SV spec. There are a few usage details which people may or may not find convenient:
|
@dzerbino Re: the A/G integer-casting, see my recent change to store those associations in a dictionary for more foolproof conversion. But I see no obvious problem with storing them as strings, consistent with duck typing. Like you point out, it's unlikely that a casual user will refer directly to those values. |
@lennax Thanks, I had missed that change! |
Thanks for the input, I'm closing. |
Some new metadata in VCF 4.1 spec, notably contigs.
Added test data and tests, need to write code for this.
The text was updated successfully, but these errors were encountered: