Wanted: function to center protein on active monomer

Case number:845833-2011078
Topic:Game: Display
Opened by:BootsMcGraw
Status:Open
Type:Suggestion
Opened on:Monday, January 18, 2021 - 21:43
Last modified:Wednesday, February 3, 2021 - 18:55

When working on symmetry puzzles using the Blueprint tool, the active monomer will often suddenly disappear off screen just after adding another structure.

Hitting the "Q" or "home" keys brings the protein to the center of the viewing screen... in most cases.

Hitting one of those two keys in a symmetry puzzles instead brings the centroid of the entire three (or four) structures to the center of screen... leaving a blank screen. One has to hunt for quite some time to find the monomer one was working on, then engage in lengthy digital calisthenics to work it back to the center of the screen.

How about creating a function that centers the monomer with a single keystroke, as well? I could care less about centering the complex until I have finished creating the monomer.

(Mon, 01/18/2021 - 21:43  |  4 comments)


jeff101's picture
User offline. Last seen 2 hours 5 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

I made the recipe FindMonomers1:
https://fold.it/portal/recipe/104054
to help in situations like above.

I think you can also put different
labels (like copy1 copy2 copy3) on
each monomer's first alpha-carbon
to help you find them in Note Mode.

jeff101's picture
User offline. Last seen 2 hours 5 min ago. Offline
Joined: 04/20/2012
Groups: Go Science

Other similar comments:

1499: Symmetric Dimer Design: Hydrogen Bond Networks
https://fold.it/portal/node/2004908#comment-36407

1499c: Symmetric Dimer Design: Hydrogen Bond Networks
https://fold.it/portal/node/2004919#comment-36442

LociOiling's picture
User offline. Last seen 38 min 49 sec ago. Offline
Joined: 12/27/2012
Groups: Beta Folders

Here's a one-liner which seems to work:

ui.CenterViewport ( structure.GetCount () / 2 )

The idea is to center the view on a segment near the middle of the protein.

That seems to bring the main chain into view, but the symmetric chains may still be out of sight.

A next step would be to band the ends of the main chain to each of the symmetric chains, so you could at least see which direction to move things. (Stay tuned.)

georg137's picture
User offline. Last seen 1 hour 9 min ago. Offline
Joined: 08/07/2010
Groups: Contenders

A workaround: With symmetric chains, as a first step band the innermost loop of the main chain to a counterpart on a symmetric chain and disable the band while forming the monomer. Enable the band and wiggle briefly until it can be all be viewed onscreen using the Q shortcut key. Then start positioning the monomers.

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