Icon representing a recipe

Recipe: 646 comment structs

created by gramps

Profile


Name
646 comment structs
ID
44411
Shared with
Public
Parent
None
Children
None
Created on
October 25, 2012 at 12:33 PM UTC
Updated on
October 25, 2012 at 12:33 PM UTC
Description

Yields predicted structures for puzzle 646 which refers to the comment under puzzle 641

Best for


Code


newprog = "646 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,5,"H") Restore_One_Stuct(6,15,"L") Restore_One_Stuct(16,18,"E") Restore_One_Stuct(19,23,"L") Restore_One_Stuct(24,37,"H") Restore_One_Stuct(38,44,"L") Restore_One_Stuct(45,49,"H") Restore_One_Stuct(50,53,"L") Restore_One_Stuct(54,58,"E") Restore_One_Stuct(59,60,"L") Restore_One_Stuct(61,62,"E") Restore_One_Stuct(63,64,"L") Restore_One_Stuct(65,82,"H") Restore_One_Stuct(83,93,"L") Restore_One_Stuct(94,95,"E") Restore_One_Stuct(96,98,"L") Restore_One_Stuct(99,99,"H") Restore_One_Stuct(100,100,"L") Restore_One_Stuct(101,101,"H") Restore_One_Stuct(102,107,"L") Restore_One_Stuct(108,113,"E") Restore_One_Stuct(114,114,"L") end -- function Restore_Structs print("begin ",newprog) if structure.GetCount() == 114 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 646 comment structs
everything has been changed to a loop
Helix(1,5)
Loop(6,15)
Sheet(16,18)
Loop(19,23)
Helix(24,37)
Loop(38,44)
Helix(45,49)
Loop(50,53)
Sheet(54,58)
Loop(59,60)
Sheet(61,62)
Loop(63,64)
Helix(65,82)
Loop(83,93)
Sheet(94,95)
Loop(96,98)
Helix(99,99)
Loop(100,100)
Helix(101,101)
Loop(102,107)
Sheet(108,113)
Loop(114,114)
end 646 comment structs

Here's the puzzle 646 page, noting the the comment links to the comment for puzzle 641:
https://fold.it/portal/node/993800

comment structs creation how-to:
http://fold.it/portal/recipe/44263#comment-19933

gramps Lv 1

To explore the starts I first ran public Recipe:
Rav3n_pl SBS v1.2
https://fold.it/portal/recipe/22173
SBS == "Select Best Start"

Saving in slot 1 start points: 5909.4865582783
Saving in slot 2 start points: 4213.0858292331
Saving in slot 3 start points: 2707.5579279384
Saving in slot 4 start points: 4577.7364242556
Saving in slot 5 start points: 2238.9256938367
Saving in slot 6 start points: 4851.3680018741
Saving in slot 7 start points: 3428.9478880771
Found 7 starts. Searching for best.
Save 1 start points: 5909.4865582783
Stabilzed, fuzed and saved at: ???
Save 2 start points: 4213.0858292331
Stabilzed, fuzed and saved at: ???
Save 3 start points: 2707.5579279384
Stabilzed, fuzed and saved at: ???
Save 4 start points: 4577.7364242556
Stabilzed, fuzed and saved at: ???
Save 5 start points: 2238.9256938367
Stabilzed, fuzed and saved at: ???
Save 6 start points: 4851.3680018741
Stabilzed, fuzed and saved at: ???
Save 7 start points: 3428.9478880771
Stabilzed, fuzed and saved at: ???
Restoring best score. Happy folding ;]

Now to visit each of the starts I used public Recipe:
Quicksave extend V1.0
http://fold.it/portal/recipe/44020

Note: used "load" function, not "save"!

annotations for above run (used hover-Tab to identify the start names):

quark1 start points: 5909.486
Stabilzed, fuzed and saved at: ??? – your mileage may vary ;-)

quark2 start points: 4213.085
Stabilzed, fuzed and saved at: ???

quark3 start points: 2707.557
Stabilzed, fuzed and saved at: ???

quark4 start points: 4577.736
Stabilzed, fuzed and saved at: ???

quark5 start points: 2238.925
Stabilzed, fuzed and saved at: ???

zhang4 start points: 4851.368
Stabilzed, fuzed and saved at: ???

zhang5 start points: 3428.947
Stabilzed, fuzed and saved at: ???

This "646 comments structs" recipe might be applied initially to see how the starts conform to the predicted structs. Additionally, it might be possible to use public Recipe:
Note 10 worst V1.0
http://fold.it/portal/recipe/43913

to help identify potentially repairable kinks in the lower scoring starts. Wouldn't be any fun if all the SBS users ended up with the same one!

gramps Lv 1

Start quark2 came in about the middle of the pack in the above. After applying this comment structs recipe, Note'ing the worst 3 segs, setting view to rainbow (deselecting most of the rest of the view stuff) and Tab-hovering the first segment we get the following pic:

That captures the quark2 in its stabilized/fuzed state from SBS.