Keywords: manual

Next: sequence_db.convert() convert Up: The sequence_db class: using Previous: sequence_db.read() read Contents Index

## sequence_db.write() -- write a database of sequences

`write(chains_list, seq_database_file, seq_database_format)`

> 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.

Example: See profile.build() command.