[BioPython] Cannot parse ApE plasmid editor GenBank file

Peter biopython at maubp.freeserve.co.uk
Tue Jun 5 14:46:23 UTC 2007


Martin MOKREJŠ wrote:
> Hi,
>  I am trying to parse a GenBank file created by ApE plasmid editor (see 
> Google for details) with biopython-1.43 and I get:

...

> AssertionError: Did not recognise the LOCUS line layout:
> LOCUS               6499 bp ds-DNA     linear       02-AUG-2006
> 
> Is the number of spaces wrong?

Yes - fields don't line up with either of the GenBank variants Biopython 
expects.  I suspect their files doesn't follow the current NCBI standard 
for the locus line...

Could you make a set of different files (for different sequences) and 
check if the spacing changes or is preserved?

Thanks Martin,

Peter







More information about the Biopython mailing list