brow42 Lv 1
Puzzle comments (just from poking around, haven't played it yet):
All segments have 1 rotamer, except histidine, which has 2. This seems strange.
All segments have 7 atoms (except proline, which is missing the usual hydrogen). 5 and 6 are both sidechain atoms. Both are bandable by scripts, and presumably, both are bandable by hand as well. Perhaps 5 is close to the backbone and 6 is far away (and big)? Banding by hand might be unreliable, maybe you sometimes band to 5 and sometimes to 6?
Scripting comments:
Devs should make shake and wiggle sidechains return immediately, so that scripts do not have to be modified to skip these time-consuming steps.
Devs should provide a function to indicate centroid mode so that scripts can be modified. Should be in behavior or puzzle depending on whether users will be able to turn this on and off within a puzzle or not.
Most of the score parts are gone. Scripts like DRW should be modified to check which score parts actually exist (disulfide being an exception). I know Timo checks for Other part, but now he has to check for all the others.
Script workaround:
This will check for centroid and turn off sidechain shake and wiggle for Lua2. Lua1 code would be similar.
function IsCentroid()
return tostring(current.GetSegmentEnergySubscore(1,'sidechain')) == '-0'
end
function DisableSidechains()
local function null(i) return end
local function ReplaceWiggle(Wiggle)
return function(i,a,b) if a ~= false then Wiggle(i,true,false) end end
end
structure.ShakeSidechainsAll = null
structure.ShakeSidechainsSelected = null
structure.LocalWiggleAll = ReplaceWiggle(structure.LocalWiggleAll)
structure.LocalWiggleSelected = ReplaceWiggle(structure.LocalWiggleSelected)
structure.WiggleAll = ReplaceWiggle(structure.WiggleAll)
structure.WiggleSelected = ReplaceWiggle(structure.WiggleSelected)
end
if IsCentroid() then DisableSidechains() end