SequenceDB.write() — write a database of sequences

write(chains_list, seq_database_file, seq_database_format, window_size=1024)
This command will write a database of sequences currently in memory, either in the PIR, FASTA, or BINARY format. The chains_list file is written only for the PIR or FASTA formats.

BINARY files are standard HDF5 files, and are machine-independent. Note, however, that they are not compatible with older versions of MODELLER.

See SequenceDB.read() for a discussion of the window_size parameter.

Example: See Profile.build() command.