Icon representing a recipe

Recipe: CM - Glycine count 2.01

created by spmm

Profile


Name
CM - Glycine count 2.01
ID
100415
Shared with
Public
Parent
CM - Cysteines count 2.01
Children
Created on
December 22, 2014 at 02:14 AM UTC
Updated on
December 22, 2014 at 02:14 AM UTC
Description

Glycine count. counts and freezes glycines on the model. Good for finding them in design puzzes.

Best for


Code


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

Comments