Hi @tnrich,
I noticed that the genbank writer writes the line BASE COUNT before the features. According to genbank specification this line should appear before the feature section, as it is a "sequence header". Taking a gb file with BASE COUNT, reading it with tg-oss and then writing to gb misplaces the line. This can create problems when parsing, for example in Biopython which was unable to parse (Biopython's parser is quite strict). See biopython/biopython#5172
To reproduce, check this file (BASE_COUNT after features) > read with ove demo > save to gb file > see BASE_COUNT line misplaced
pDGB3_alpha1.gb.zip
Would fix this myself but I don't have time, I have used a workaround for this on my end.
Hi @tnrich,
I noticed that the genbank writer writes the line
BASE COUNTbefore the features. According to genbank specification this line should appear before the feature section, as it is a "sequence header". Taking a gb file withBASE COUNT, reading it with tg-oss and then writing to gb misplaces the line. This can create problems when parsing, for example in Biopython which was unable to parse (Biopython's parser is quite strict). See biopython/biopython#5172To reproduce, check this file (BASE_COUNT after features) > read with ove demo > save to gb file > see BASE_COUNT line misplaced
pDGB3_alpha1.gb.zip
Would fix this myself but I don't have time, I have used a workaround for this on my end.