[Biopython-dev] Genbank structured comments

Peter Cock p.j.a.cock at googlemail.com
Thu Sep 10 08:25:04 UTC 2015


On Wed, Sep 9, 2015 at 11:37 PM, Brian Osborne <bosborne11 at verizon.net> wrote:
> Chris,
>
> This is the documentation I’m familiar with, but there may be more:
>
> http://www.ncbi.nlm.nih.gov/genbank/structuredcomment
>
> Peter, I can definitely separate these using ‘comment’ and
> ‘structured_comment’ keys in the record.annotations dict.
>
> If there’s no structured comment in the Genbank file, would
> there simply be an empty dict in the SeqRecord?
>
> E.g.
>
>>>> record.annotations[‘structured_comment']
> {}

That makes sense - equally no entry in the annotation dictionary
would be reasonable.

Peter



More information about the Biopython-dev mailing list