load_sequences#

biotite.sequence.io.load_sequences(file_path)[source]#

Load multiple sequences 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:
sequencesdict of (str, Sequence)

The sequences in the file. This dictionary maps each header name to the respective sequence.