Difference between revisions of "Spin ID strings"

From relax wiki
Jump to navigation Jump to search
(Created page with "== See manual == 4.2.2 Molecule, residue, and spin containers == Structure == # The molecule ID token beginning with the '''#''' character, # The residue ID token beginning w...")
 
Line 10: Line 10:
 
  #<mol name> :<res id>[, <res id>[, <res id>, ...]] @<atom id>[,<atom id>[, <atom id>, ...]]
 
  #<mol name> :<res id>[, <res id>[, <res id>, ...]] @<atom id>[,<atom id>[, <atom id>, ...]]
  
Where the token elements are '''<mol name>''', the name of the molecule, '''<res id>''', the residue identifier which can be a number, name, or range of numbers, '''<atom id>''', the atom or spin system identifier which can be a number, name, or range of numbers.
+
Where the token elements are '''<mol name>''', the name of the molecule, '''<res id>''', the residue identifier which can be a number, name, or range of numbers,<br>
 +
'''<atom id>''', the atom or spin system identifier which can be a number, name, or range of numbers.
 +
 
 +
If one of the tokens is left out then all elements will be assumed to match. <br>
 +
For example if the string does not contain the '''#''' character then all molecules will match the string. <br>
 +
If only the molecule ID component is specified, then all spins of the molecule will match. <br>
 +
Regular expression can, in some instances, be used to select spins. For example the string
 +
'''@H*''' will select the protons ‘H’, ‘H2’ and ‘H98’.

Revision as of 12:38, 28 February 2014

See manual

4.2.2 Molecule, residue, and spin containers

Structure

  1. The molecule ID token beginning with the # character,
  2. The residue ID token beginning with the : character,
  3. The atom or spin system ID token beginning with the @ character.

The full ID string specification is

#<mol name> :<res id>[, <res id>[, <res id>, ...]] @<atom id>[,<atom id>[, <atom id>, ...]]

Where the token elements are <mol name>, the name of the molecule, <res id>, the residue identifier which can be a number, name, or range of numbers,
<atom id>, the atom or spin system identifier which can be a number, name, or range of numbers.

If one of the tokens is left out then all elements will be assumed to match.
For example if the string does not contain the # character then all molecules will match the string.
If only the molecule ID component is specified, then all spins of the molecule will match.
Regular expression can, in some instances, be used to select spins. For example the string @H* will select the protons ‘H’, ‘H2’ and ‘H98’.