biotite.sequence.io.genbank.get_definition¶
- biotite.sequence.io.genbank.get_definition(gb_file)[source]¶
Parse the DEFINITION field of a GenBank or GenPept file.
- Parameters
- gb_fileGenBankFile
The GenBank file to read the DEFINITION field from.
- Returns
- definitionstr
Content of the DEFINITION field.
Examples
>>> import os.path >>> file = GenBankFile.read(os.path.join(path_to_sequences, "ec_bl21.gb")) >>> print(get_definition(file)) Escherichia coli BL21(DE3), complete genome.
Gallery¶
Conservation of LexA DNA-binding site
Conservation of LexA DNA-binding site