Skip to content

Genbank writer #263

Description

@manulera

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions