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