Back to Recipes Homepage
recipe picture
Recipe: Band Between Atoms 1.01 -- brow42
Created by brow42 51 1403
Your rating: None Average: 3.8 (5 votes)


Name: Band Between Atoms 1.01 -- brow42
ID: 102533
Created on: Tue, 11/07/2017 - 19:51
Updated on: Sun, 12/03/2017 - 20:29

Interactive LUA2 script to band any two atoms in the puzzle together. Works around residue and atom number restrictions. Contains short function for use in other scripts.

Best For


brow42's picture
User offline. Last seen 2 weeks 4 days ago. Offline
Joined: 09/19/2011
Groups: None
This script demonstrates a workaround for scripters.

Currently, Foldit will not make the following bands with LUA:

* Band the default (c-alpha) atom on adjacent residues,
* Band two atoms on the same residue.

This script circumvents this restriction by making a temporary band to one of the atoms, and then using AddToBandEndpoint to make the desired band, and provides some error handling so that illegal residue/atom pair don't crash the script.

For other situations than the above, you can use the regular AddBetweenSegments or scripts like bandsome .

Want to try?
Add to Cookbook!
To download recipes to your cookbook, you need to have the game client running.





Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons