Subsections


sequence.write

Image sequence Image document-save

Synopsis

Write the molecule, residue, and spin sequence to a file.

Defaults

sequence.write(file=None, dir=None, sep=None, mol_name_flag=True, res_num_flag=True, res_name_flag=True, spin_num_flag=True, spin_name_flag=True, force=False)

Keyword arguments

file: The name of the file.

dir: The directory name.

sep: The column separator (the default of None corresponds to white space).

mol_name_flag: A flag which if True will cause the molecule name column to be shown.

res_num_flag: A flag which if True will cause the residue number column to be shown.

res_name_flag: A flag which if True will cause the residue name column to be shown.

spin_num_flag: A flag which if True will cause the spin number column to be shown.

spin_name_flag: A flag which if True will cause the spin name column to be shown.

force: A flag which if True will cause the file to be overwritten.

Description

Write the sequence data to file. If no directory name is given, the file will be placed in the current working directory.


The relax user manual (PDF), created 2020-08-26.