load_sequence#
- biotite.sequence.io.load_sequence(file_path)[source]#
Load a sequence from a sequence file without the need to manually instantiate a
Fileobject.Internally this function uses a
Fileobject, based on the file extension.- Parameters:
- file_pathstr
The path to the sequence file.
- Returns:
- sequenceSequence
The first sequence in the file.