biotite.sequence.io.save_sequences

biotite.sequence.io.save_sequences(file_path, sequences)[source]

Save multiple sequences into a sequence file without the need to manually instantiate a File object.

Internally this function uses a File object, based on the given file extension.

Parameters
file_pathstr

The path to structure file.

sequencesdict of (str, Sequence)

The sequences to be saved. The dictionary maps a header name to asequence.