get_gi#

biotite.sequence.io.genbank.get_gi(gb_file: GenBankFile) int[source]#

Parse the GI from the VERSION field of a GenBank or GenPept file.

Parameters:
gb_fileGenBankFile

The GenBank file to read the VERSION field from.

Returns:
gistr

The GI of the file.