Subsections


sequence.copy

Image sequence Image list-add

Synopsis

Copy the molecule, residue, and spin sequence data from one data pipe to another.

Defaults

sequence.copy(pipe_from=None, pipe_to=None, empty=True)

Keyword arguments

pipe_from: The name of the data pipe to copy the sequence data from.

pipe_to: The name of the data pipe to copy the sequence data to.

empty: A flag which if True will create a molecule, residue, and spin sequence in the target pipe lacking all of the spin data of the source pipe. If False, then the spin data will also be copied.

Description

This will copy the sequence data between data pipes. The destination data pipe must not contain any sequence data. If the source and destination pipes are not specified, then both will default to the current data pipe (hence providing one is essential).

Prompt examples

To copy the sequence from the data pipe `m1' to the current data pipe, type:

[numbers=none]
relax> sequence.copy('m1')

[numbers=none]
relax> sequence.copy(pipe_from='m1')

To copy the sequence from the current data pipe to the data pipe `m9', type:

[numbers=none]
relax> sequence.copy(pipe_to='m9')

To copy the sequence from the data pipe `m1' to `m2', type:

[numbers=none]
relax> sequence.copy('m1', 'm2')

[numbers=none]
relax> sequence.copy(pipe_from='m1', pipe_to='m2')


The relax user manual (PDF), created 2016-10-28.