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
Unable to parse certain Genbank format #2844
Comments
@biologyguy are you able to take a look at this since you wrote the structured comment parsing? I wonder if the input is malformed?
The trailing full stop on |
Hi @peterjc, |
OK - would one of you like to contact the NCBI about this file? For Biopython, assuming this file is indeed invalid, how about a middle ground: Abort parsing the structured comment and raise a warning, allowing the user to continue (perhaps they don't care about this part of the file). |
Assuming tests pass, I've added in the check and raise a warning. Is okay? |
@philiptzou are you able to install Biopython from source? The latest master branch should now work, and we'd appreciate you testing it. Also, have you emailed the NCBI about this problematic structured annotation? |
Thanks! Just noticed the message and I'll soon try it! |
Work like a charm! |
Setup
I am reporting a problem with Biopython version, Python version, and operating
system as follows:
Expected behaviour
Should be able to process AYW00820.1.
Actual behaviour
Steps to reproduce
The text was updated successfully, but these errors were encountered: