biotite.sequence.io.genbank.set_sequence

biotite.sequence.io.genbank.set_sequence(gb_file, sequence, sequence_start=1)[source]

Set the ORIGIN field of a GenBank file with a sequence.

Parameters
gb_fileGenBankFile

The GenBank file to be edited.

sequencestr or NucleotideSequence or ProteinSequence

The sequence that is put into the GenBank file.

sequence_startint, optional

The number of the first base of the sequence.