CYANA Command: angles count: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
''Count selected torsion angles''
''Count selected torsion angles''


== Parameters ==
== Parameters ==


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


== Description ==
== Description ==


Command that reports the number of torsion angles matched by the
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.
selection ''string''. By default, the selection made in the most recent
'''angles select''' command is used, or all angles if no selection has
been made so far. The number of selected 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-rotable 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 ==
 
Count the number of side chain torsion angles in residues 10-17:
 
angles count "CHI* 10-17"
print "Number of angles = $nsel"


== See also ==
== See also ==


* [[CYANA Command: angles select|angles select]]
* [[CYANA Command: angles select]]

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