Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show protein as either cartoon or surface #23

Open
sverhoeven opened this issue Nov 27, 2018 · 1 comment
Open

Show protein as either cartoon or surface #23

sverhoeven opened this issue Nov 27, 2018 · 1 comment

Comments

@sverhoeven
Copy link
Member

Now the protein is always showed in cartoon representation it would be nice to show protein as a electrostatic colored surface. This will show more easily where the ligand is close to the protein.

@sverhoeven
Copy link
Member Author

To get surface to show in the current app use the following workaround:

  1. Open debugger
  2. Open JS and pretty print
  3. Find definePocket function and place a breakpoint
  4. Change the pocket radius slider in gui sidebar
// replace cartoon with surface
this.model.removeRepresentation(this.model.reprList[0])
this.model.addRepresentation("surface", {colorScheme:"electrostatic", surfaceType:"av", sele: "not ligand"})

Disable breakpoint

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant