Icon representing a recipe

Recipe: CM - Cysteines count 2.01

created by ComputerMage

Profile


Name
CM - Cysteines count 2.01
ID
46095
Shared with
Public
Parent
None
Children
Created on
May 21, 2013 at 15:41 PM UTC
Updated on
May 21, 2013 at 15:41 PM UTC
Description

Cystein count. counts and freezes cysteines on the model. Good for checking if cystein bridges are aligned.

Best for


Code


cysCount = 0 for i = 1, structure.GetCount() do if structure.GetAminoAcid(i) == 'c' then freeze.Freeze(i, true, false) cysCount = cysCount + 1 end end print ('Found ',cysCount,' cysteines')

Comments