Let tab button show more information.

Case number:845833-992661
Topic:Game: Display
Opened by:jeff101
Status:Closed
Assigned:Anonymous
Priority:3
Type:Suggestion
Opened on:Tuesday, May 15, 2012 - 03:10
Last modified:Saturday, October 27, 2012 - 19:47

Let the Tab button in the Foldit GUI report about bands and atom numbers like it already does for amino acids,
and let it report more information than it reports at present.
It could say how many atoms are on the selected amino acid.
It could say which atom number is being pointed to right now.
It could list the x,y,z coordinates for the alpha-carbon and selected atom for a particular amino acid.
For the bands, it could list the band number, Strength, Length, GoalLength,
what atom-numbers/segment-numbers are connected, and what x,y,z coordinates are connected.

(Tue, 05/15/2012 - 03:10  |  14 comments)


brow42's picture
User offline. Last seen 1 hour 49 min ago. Offline
Joined: 09/19/2011
Groups: None

If you like to script, structure.GetAtomCount(segnum) (Lua v2) will tell you the number of atoms in an amino acid. I have tabulated which atoms are donors, acceptors, or polar H in a Lua file http://fold.it/portal/recipe/40004 .

To determine what an atom is, turn on Advanced GUI (Main / General Options / Advanced GUI ) and then pick Stick View + H or Stick View + Polar H, and CPK coloring. A keyboard shortcut for this is Ctrl-Shift-V.

XYZ coordinates and psi/theta dihedrals are purposely not given or settable. They don't want non-Foldit results leaking into Foldit, as that would run counter to both the game research and bio research goals of Foldit, and also ruin the competitive environment enjoyed by the players.

spmm's picture
User offline. Last seen 23 hours 43 min ago. Offline
Joined: 08/05/2010
Groups: Void Crushers

jeff what will you do with all of this information? How will it improve your ability to fold?

jeff101's picture
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 04/20/2012
Groups: Go Science

Make the information more accessible to people and you will find out.

Rav3n_pl's picture
User offline. Last seen 10 hours 37 min ago. Offline
Joined: 06/17/2010
Status: Open » Duplicate

If you made them by hand, why need such info?
If it is created by script you already know all that.
Also it is posted b4 http://fold.it/portal/node/990194#comment-12352
Marking as duplicate.

jeff101's picture
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 04/20/2012
Groups: Go Science

The information would help keep track of bands, for example. Even though you can set and read many things about bands from inside scripts, when you remove one band, the numbers for other bands get changed. For example, if you have 100 bands and remove band #51, I think that bands 52-100 get renumbered to be 51-99. If you have a script make a bunch of bands and then remove a few by hand, it can be tricky to keep track of what all the new band numbers will be. Having a tab option that lets you select a certain band by hand and see which number it is would be helpful, in my opinion.

Joined: 09/18/2009
Groups: SETI.Germany

The easiest way would be giving out band information by the band setting itself when using the GUI.
At the moment, if you want to change band length, the window pops out, just showing a target value.
It would be better if the slider would show the current length value, then being able to change it.
Same for band strength.
In addition, this window could also show the band number.

Another idea:
I'm not up-to-date, but maybe it is now possible to save to a file what was shown in the outputbox, or at least copy it?
Then you could fetch the information by script and store them in a text file.

Joined: 09/18/2009
Groups: SETI.Germany

@jeff101:
If you want to identify a specific band number, I would do it this way:
1. Deactivate all bands, turning them grey.
2. Use a script cycling trough all bands.
3. activate just the current band of the cycle, turning it pink again and show it's index number, segment connection, length and strength in output box.

If you need something like this, and such a script is not existing yet, I could create one.

truestone's picture
User offline. Last seen 8 weeks 5 days ago. Offline
Joined: 03/18/2012
Groups: Gargleblasters

How could you ever let a script print the segment(s) that a band is connected to? I don't see any function for that in ScriptV2 nor ScriptV1, at least in the function list on the wiki.

jeff101's picture
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 04/20/2012
Groups: Go Science
Status: Duplicate » Open

Another related idea is to have LUA V2 commands for bands called band.SetNote and band.GetNote that behave like the present LUA V2 commands for segments/residues called structure.SetNote and structure.GetNote. Then the user could store information about each band, and when the user later Tabs over a band on the screen, this information will be displayed. These band Notes could even be displayed in Note Mode in the Original Interface like the present segment/residue Notes are.

See http://foldit.wikia.com/wiki/Foldit_Lua_Functions#structure.GetNote and http://foldit.wikia.com/wiki/Foldit_Lua_Functions#structure.SetNote for more details.

Rav3n_pl's picture
User offline. Last seen 10 hours 37 min ago. Offline
Joined: 06/17/2010

Why opened and unmarked and why we goin off topic?
More info over TAB is posted there:
http://fold.it/portal/node/990194#comment-12352
Some good things form standalone version.

jeff101's picture
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 04/20/2012
Groups: Go Science

I re-opened this thread because I think its discussion is unique and detailed enough to not be a duplicate of
http://fold.it/portal/node/990194#comment-12352
which is part of a thread entitled "Bring functions form standalone client". I think the title of the present thread "Let tab button show more information" comes closer to describing the content here and is more likely to be found by future searches. If it is easier to find in future searches, it is less likely to be duplicated.

jeff101's picture
User offline. Last seen 15 weeks 2 days ago. Offline
Joined: 04/20/2012
Groups: Go Science

With band.SetNote, a user can make a string containing lots of information about a band from within the script that actually makes the band. This way, when the script ends and all local variables within the script disappear, this stored information about the band will be preserved and readable from other scripts as well as from within the Foldit GUI. This information will also continue to be associated with the same band even if the band's number happens to change.

spmm's picture
User offline. Last seen 23 hours 43 min ago. Offline
Joined: 08/05/2010
Groups: Void Crushers

jeff101 has apparently played a puzzle since #550

closing

spmm's picture
User offline. Last seen 23 hours 43 min ago. Offline
Joined: 08/05/2010
Groups: Void Crushers
Status: Open » Closed

closing

Sitemap

Supported by: UW Center for Game Science, UW Department of Computer Science and Engineering, UW Baker Lab, DARPA, NSF, HHMI, Microsoft, and Adobe