biotite.sequence.io.genbank.get_annotation

biotite.sequence.io.genbank.get_annotation(gb_file, include_only=None)[source]

Get the sequence annotation from the FEATURES field of a GenBank file.

Parameters
gb_fileGenBankFile

The GenBank file to read the FEATURES field from.

include_onlyiterable object of str, optional

List of names of feature keys, which should included in the annotation. By default all features are included.

Returns
annotationAnnotation

Sequence annotation from the file.