CYANA Command: angles count: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 4: Line 4:
== Parameters ==
== Parameters ==


; selection=''string'': (default: ''all selected angles'')
; selection=''[[angle selection]]'': (default: ''all selected angles'')


== 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 ==

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