demianriccardi / p5-HackaMol

Object-Oriented Perl 5, Moose Library for Molecular Hacking
Other
12 stars 6 forks source link

Selections are needed #35

Closed demianriccardi closed 8 years ago

demianriccardi commented 8 years ago

using grep is awesome, but challenging for newbies.

charmm, pymol, and VMD selections could serve as inspirations.

$atomgroup = $mol->vmd_select("same residue as within 5 of element Zn");

that one seems annoying

however, $backbone = $mol->select_group("backbone"); doesn't seem so bad.

demianriccardi commented 8 years ago

Done! See HackaMol::Roles::SelectionRole