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')