The Set structure command as seen in the Foldit GUI recipe editor.

Set structure is a command used in GUI recipes in Foldit.

Set structure changes the secondary structure type assigned to one or more segments to Helix, Sheet, or Loop. Changing the assigned secondary structure does change the position of the protein.

The secondary structure options for the Set structure command.

Set structure uses two ingredients: structure and segments.

The structure ingredient is a choice between Helix, Sheet, and Loop.

The segments ingredient can be specified in three ways:

  • All
  • By Stride
  • User Pick

Using "all" for the segments ingredient causes all segments in the puzzle to be changed to the indicated structure type.

In contrast, using "by stride" for the segments ingredient causes only specific segments to be changed. See by stride for more on this option.

The "user pick" option for the segments ingredient means the user is prompted to pick segments by clicking on them when the recipe reaches the command. A user pick is similar to selecting segments in the selection interface, but there are some differences. See user pick for more on this option.

See Segments Ingredient for a complete explanation of specifying segments.

Set structure is similar to changing segments manually in the original or selection interfaces. The equivalent Lua commands are structure.SetSecondaryStructure or structure.SetSecondaryStructureSelected.

Community content is available under CC-BY-SA unless otherwise noted.