structure.WiggleSelected[]
- Function
- void structure.WiggleSelected(integer iterations[, backbone, sidechains])
- Description
- Local wiggle all segments.
- V1 Function Name
- New to V2
Remarks[]
The function structure.WiggleSelected applies global wiggle only to selected segments.
The function structure.WiggleAll affects all segments of the protein, regardless of whether they are selected.
Global wiggle is not the same as local wiggle. See global wiggle and local wiggle for more on the differences between the two types of wiggle
Previous versions[]
In version 2 of the Foldit Lua interface, there are four different wiggle functions, two for global wiggle, and two for local wiggle.
In version 1, there were three global wiggle functions:
- do_global_wiggle_all
- do_global_wiggle_backbone
- do_global_wiggle_sidechains
In version 1, there was one local wiggle function:
- do_local_wiggle
The approximate equivalences are:
- structure.WiggleAll = do_global_wiggle_xxx on all segments
- structure.WiggleSelected = do_global_wiggle_xxx on selected segments
- structure.LocalWiggleAll = do_local_wiggle on all segments
- structure.LocalWiggleSelected = do_local_wiggle on selected segments
For structure.WiggleSelected, the "backbone" and "sidechains" parameters eliminate the need for the three separate "do_global_wiggle" functions found in version 1.
See feedback Local/Global Wiggle Selected/All for more.