Icon representing a recipe

Recipe: 696 JPred structs

created by gramps

Profile


Name
696 JPred structs
ID
45871
Shared with
Public
Parent
None
Children
None
Created on
April 04, 2013 at 14:57 PM UTC
Updated on
April 04, 2013 at 14:57 PM UTC
Description

yields the JPred structs predicted from the puzzle 696 AA sequence

Best for


Code


newprog = "696 JPred 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,72,"L") Restore_One_Stuct(73,73,"E") Restore_One_Stuct(74,76,"L") Restore_One_Stuct(77,89,"H") Restore_One_Stuct(90,94,"L") Restore_One_Stuct(95,104,"H") Restore_One_Stuct(105,110,"L") Restore_One_Stuct(111,115,"E") Restore_One_Stuct(116,125,"H") Restore_One_Stuct(126,127,"L") end -- function Restore_Structs print("begin ",newprog) if structure.GetCount() == 127 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 696 JPred structs
everything has been changed to a loop
Loop(1,72)
Sheet(73,73)
Loop(74,76)
Helix(77,89)
Loop(90,94)
Helix(95,104)
Loop(105,110)
Sheet(111,115)
Helix(116,125)
Loop(126,127)
end 696 JPred structs

Structures only towards the back C- end, at least this is a start, editing in structure mode likely useful

JPred HTML (fwiw, only up for another day or so:
http://www.compbio.dundee.ac.uk/www-jpred/results/jp_8x5SuI9/jp_8x5SuI9.html

puzzle 696 page:
http://fold.it/portal/node/994891