Open MrTomRod opened 1 year ago
Hi,
I apologize but I probably will not get to fixing this issue. Please try other methods of building a genbank from the source genomes/proteins.
No problem, there are easy workarounds.
The source feature is also malformed, which used to trigger a warning in Biopython but recently we had a regression and errored - see https://github.com/biopython/biopython/issues/4274
There appear to be more GenBank issues flagged by the Biopython parser in the example flagged in https://github.com/biopython/biopython/issues/4274 and are probably general issues:
//
line after the sequence at the end of the record
Hey! I ran into trouble with GenBank output. I tried to parse a file that contains these lines with BioPython:
Normally, BioPython uses this code to parse your "invalidly spaced" GenBank.
But because the
LOCUS
line is less than 79 characters long, the BioPython parser goes into this code, triggering a ValueError on line 1438:If it's not too much trouble, please fix this issue.