Difference between revisions of "ViewDock"

Jump to: navigation, search
(Created page with "[https://www.cgl.ucsf.edu/chimera/docs/ContributedSoftware/viewdock/framevd.html ViewDock] is a [https://www.cgl.ucsf.edu/chimera/ UCSF Chimera] extension for viewing outputs ...")
(No difference)

Revision as of 05:56, 27 March 2020

ViewDock is a UCSF Chimera extension for viewing outputs from several docking software packages. There is a tutorial on the Chimera web pages.

Keyboard shortcuts

Using ViewDock as designed requires a fair amount of clicking and mouse movement. To reduce these one option is to do the following:

Create a Chimera accelerators script containing:

def register_accelerators():
    from Accelerators import standard_accelerators

    from Accelerators import add_accelerator
    add_accelerator('cd', 'Mark current View Dock compound deleted', vdock_delete)
    add_accelerator('cx', 'Mark current View Dock compound purged', vdock_purged)
    add_accelerator('cv', 'Mark current View Dock compound viable', vdock_viable)

def vdock_delete():
    from ViewDock.Compound import Compound

def vdock_purged():
    from ViewDock.Compound import Compound

def vdock_viable():
    from ViewDock.Compound import Compound

def vdock_set_state(state):
    vd = vdock_dialog()
    if vd:

def vdock_dialog():
    from ViewDock import ViewDock
    from chimera import extension
    for vd in extension.manager.instances:
        if isinstance(vd, ViewDock):
            return vd
    return None

Then enable Chimera keyboard shortcuts and load the new file.

When looking at your compounds, initially assign them all status "Deleted" and show only "Deleted" compounds by choosing Compounds > List Deleted in the compound table dialog. Use accelerators "cv"and "cx" to reassign "Purged", and "Viable" statuses.