Icon representing a recipe

Recipe: 649r2 comment structs

created by gramps

Profile


Name
649r2 comment structs
ID
44544
Shared with
Public
Parent
647 comment structs
Children
None
Created on
November 10, 2012 at 13:17 PM UTC
Updated on
November 10, 2012 at 13:17 PM UTC
Description

Yields predicted structs from the comment on puzzle 647 page offset 24 segs

Best for


Code


newprog = "649r2 comment structs" -- -- autogenerated code local Struct_Types = { ["L"] = "Loop", ["E"] = "Sheet", ["H"] = "Helix", ["M"] = "Ligand" } function Make_All_Loop() selection.SelectAll() structure.SetSecondaryStructureSelected("L") print("everything has been changed to a loop") selection.DeselectAll() end -- function Make_All_Loop function Restore_One_Stuct(s_start,s_end,s_type) selection.SelectRange(s_start,s_end) print(Struct_Types[s_type].."("..s_start..","..s_end..")") structure.SetSecondaryStructureSelected(s_type) selection.DeselectAll() end -- function Restore_One_Stuct function Restore_Structs() Restore_One_Stuct(1,24,"H") Restore_One_Stuct(25,36,"L") Restore_One_Stuct(37,42,"E") Restore_One_Stuct(43,51,"L") Restore_One_Stuct(52,53,"E") Restore_One_Stuct(54,58,"L") Restore_One_Stuct(59,62,"E") Restore_One_Stuct(63,66,"L") Restore_One_Stuct(67,74,"E") Restore_One_Stuct(75,78,"L") Restore_One_Stuct(79,84,"E") Restore_One_Stuct(85,85,"L") Restore_One_Stuct(86,89,"E") Restore_One_Stuct(90,94,"L") Restore_One_Stuct(95,101,"H") Restore_One_Stuct(102,113,"L") Restore_One_Stuct(114,120,"E") Restore_One_Stuct(121,123,"L") Restore_One_Stuct(124,131,"E") Restore_One_Stuct(132,139,"L") Restore_One_Stuct(140,147,"E") Restore_One_Stuct(148,158,"L") Restore_One_Stuct(159,161,"H") Restore_One_Stuct(162,163,"L") end -- function Restore_Structs print("begin ",newprog) if structure.GetCount() == 163 then -- num segs match Make_All_Loop() Restore_Structs() else -- print warning line print("segment number mismatch -- no action taken") end print("end ",newprog)

Comments


gramps Lv 1

begin 649r2 comment structs
everything has been changed to a loop
Helix(1,24) – helix is a guess; segs 1 to 24 didn't appear in puzzle 647
Loop(25,36)
Sheet(37,42)
Loop(43,51)
Sheet(52,53)
Loop(54,58)
Sheet(59,62)
Loop(63,66)
Sheet(67,74)
Loop(75,78)
Sheet(79,84)
Loop(85,85)
Sheet(86,89)
Loop(90,94)
Helix(95,101)
Loop(102,113)
Sheet(114,120)
Loop(121,123)
Sheet(124,131)
Loop(132,139)
Sheet(140,147)
Loop(148,158)
Helix(159,161)
Loop(162,163)
end 649r2 comment structs

This recipe applies to …
649: Electron Density for CASP10 Target T0691 Round 2
https://fold.it/portal/node/993861

… which is an update to …
647: Electron Density for CASP10 Target T0691
https://fold.it/portal/node/993806

except that segs 1-24 in the newer puzzle (they seem to form a helix) did not appear in puzzle 647. This recipe was created by taking the code from 647's predicted structs recipe and adding 24 to all the numbers; so the source for this is …
Recipe: 647 comment structs
https://fold.it/portal/recipe/44441

Thanks to AD team members for assistance figuring out these details.