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

Profile

Name: Band Between Atoms 1.01 -- brow42
ID: 102533
Created on: Wed, 11/08/2017 - 03:51
Updated on: Sun, 12/03/2017 - 20:29
Description:

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


Comments

brow42's picture
User is online Online
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 https://fold.it/portal/recipe/43861 .

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

none

Children

none

Authors
Sitemap

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, RosettaCommons