get_raw_sequence#

biotite.sequence.io.genbank.get_raw_sequence(gb_file)[source]#

Get the raw sequence string from the ORIGIN field of a GenBank file.

Parameters:
gb_fileGenBankFile

The GenBank file to read the ORIGIN field from.

Returns:
seq_str: str

The unaltered sequence as string. Sequence positions and whitespace characters are removed.