CYANA Command: angles count: Difference between revisions

From CYANA Wiki
Jump to navigation Jump to search
 
(8 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 ==


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


  angles count "PHI PSI 10-17"
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]]
* [[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