CYANA Command: angles count: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
 
(3 intermediate revisions by 2 users not shown)
Line 8: Line 8:
== Description ==
== Description ==


Counts the number of selected torsion angles. The number of selected torsion angles can be accessed with the function [[CYANA function: nsel|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.
Counts the number of selected torsion angles. The number of selected torsion angles can be accessed with the function [[CYANA Function: nsel|'''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 ==
== Example ==
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"



Latest revision as of 10:19, 6 August 2009

Count selected torsion angles

Parameters

selection=angle selection
(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