CYANA Command: angles count: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
Line 14: Line 14:
Count the number of side chain torsion angles in residues 10-17:
Count the number of side chain torsion angles in residues 10-17:


  angles count "CHI* 10-17"
  '''angles count "CHI* 10-17"'''
  print "Number of angles = $nsel"
  print "Number of angles = $nsel"



Revision as of 16:12, 29 January 2009

Count selected torsion angles

Parameters

selection=string
(default: all selected angles)

Description

Counts the number of selected torsion angles. The number of selected torsion angles can be accessed with the function nsel. A list of the selected angles is printed if the information level is full, e.g. by adding the parameter info=full. Fixed, non-rotatable angles are listed in parentheses.

Example

Count the number of side chain torsion angles in residues 10-17:

angles count "CHI* 10-17"
print "Number of angles = $nsel"

See also