Iar: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
= iar = | |||
Synopsis: iar(''integer'') = ''integer'' | Synopsis: iar(''integer'') = ''integer'' | ||
Latest revision as of 19:18, 28 January 2009
iar
Synopsis: iar(integer) = integer
This function returns the residue index of the atom with the given atom index.
The residues are indexed from 1 to nr according to the sequence declared in the sequence file. Note that the (external) residue number that is used to identify a residue in the input files can be different from the (internal) residue index. The function rnum can be used to obtain the external residue number of from the residue index.
Optionally, the integer atom index can be replaced by a string consisting of the atom name and the residue number, separated by a blank or a period, ..