biotite.sequence.io.genbank.set_annotated_sequence

biotite.sequence.io.genbank.set_annotated_sequence(gb_file, annot_sequence)[source]

Set the FEATURES and ORIGIN fields of a GenBank file with the annotation and sequence of an annotated sequence.

Parameters
gb_fileGenBankFile

The GenBank file to be edited.

annot_sequenceAnnotatedSequence

The annotated sequence that is put into the GenBank file.