get_source#

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

Parse the SOURCE field of a GenBank or GenPept file.

Parameters:
gb_fileGenBankFile

The GenBank file to read the SOURCE field from.

Returns:
accessionstr

The name of the source organism.