Icon representing a recipe

Recipe: 914 Secondary Structure from Contacts

created by Susume

Profile


Name
914 Secondary Structure from Contacts
ID
49377
Shared with
Public
Parent
914 Secondary Structure from Contacts
Children
Created on
June 12, 2014 at 06:17 AM UTC
Updated on
June 12, 2014 at 06:17 AM UTC
Description

For puzzle 914 only. Sets the SS to match the given contacts. Remember that long sheets can bend.

Best for


Code


-- for puzzle 914 -- sets secondary structure to match contacts -- remember that long sheets can bend selection.SelectAll() structure.SetSecondaryStructureSelected("L") selection.DeselectAll() selection.SelectRange(31,38) selection.SelectRange(41,45) selection.SelectRange(54,60) selection.SelectRange(80,83) selection.SelectRange(94,109) selection.SelectRange(112,126) selection.SelectRange(130,136) selection.SelectRange(140,145) structure.SetSecondaryStructureSelected("E") selection.DeselectAll() selection.SelectRange(6,19) selection.SelectRange(65,78) structure.SetSecondaryStructureSelected("H") selection.DeselectAll()

Comments