ngl
ngl copied to clipboard
Add distance-based selections
For example "within( 3, 12:A )" to select all atoms with 3 angstrom of residue number 12 in chain A. Depends on fast distance calculations (#76).
We would love to be able to use this selection option - any progress on this, or idea of timelines please?
Cheeky additional request: would it also be possible to reference other components? within(3.0, some_other_component_id)
.
The use case would be things like showing protein binding site surfaces for docking results / designed ligands etc., where the ligand and protein are in different files.
Cheeky additional request: would it also be possible to reference other components? within(3.0, some_other_component_id).
this would be nice indeed, related #23
sub-feature: option to update distance-based selection when playing trajectories
Still looking forward to this so that distance-based selection can be used with the gui interface (http://nglviewer.org/ngl/) not just by using getAtomSetWithinSelection
from JS side