nglviewer / ngl

WebGL protein viewer
http://nglviewer.org/ngl/
MIT License
657 stars 168 forks source link

displaying hydrogens as ligands #1038

Closed hellhorse123 closed 1 week ago

hellhorse123 commented 2 months ago

After adding hydrogens to the complex, ngl begins to display not only ligands when sele:ligand : telegram-cloud-photo-size-2-5253472957471250904-y

but Molstar doesn't do that:

telegram-cloud-photo-size-2-5253472957471250903-y How to achieve behavior like a Molstar?

papillot commented 2 months ago

It probably depends on how the information from the file that is used is encoded. Maybe paste an excerpt of the corresponding PDB file before and after so that we could understand what's happening. My guess is that the PDB file now contains HETATM records instead of ATOM records

ppillot commented 1 week ago

Closing this issue as non reproducible