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

HETATM and Organic sticks #178

Open
abaybek opened this issue Apr 25, 2017 · 1 comment
Open

HETATM and Organic sticks #178

abaybek opened this issue Apr 25, 2017 · 1 comment

Comments

@abaybek
Copy link

abaybek commented Apr 25, 2017

Hi!
I am trying to show 1EMA model with PV. Using pymol organic sticks can easily be shown (also it can be seen in JSmol), but in PV I cant see it.
In 1r6a model I can see it, but in 1ema cant. Why? Is there some setting in

var ligands = structure.select({ rnames : ['SAH', 'RVP'] });
viewer.ballsAndSticks('ligands', ligands);

Thanks

@arthurchipdean
Copy link

arthurchipdean commented Dec 27, 2018

Hi there!
I encountered the same issue of HETATM not being displayed. I'm not the package author so I can't say why it's setup like this but here is how I did it:

var atoms = structure.atomSelect(function(atom) {
  return atom.isHetatm() && !atom.residue().isWater();
});
viewer.ballsAndSticks('hetatoms', atoms);

Hope that helps!

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

No branches or pull requests

2 participants