There is no mechanism at the moment, but it is quite easy to implement and it has been on the todo list for a bit. Are you building IMP from source or using a pre-built IMP? If the former, then I can send a patch, if the latter, then we will have to figure out something. Unfortunately, the Selectors aren't properly exposed to python, so we must provide C++ code.
The other, slightly more painful option, is you can always go through the returned atom.Hierarchy and remove atoms that you don't want. Make sense?
--Daniel
On Jul 15, 2010, at 6:29 AM, Benjamin SCHWARZ wrote:
> Hello list, > > I am very new to IMP, thus probably coming with a bunch of fairly naive question. > > Today I am wondering if it is possible to combine Selectors in order, for instance to select only ATOMS of chain A from a pdb file. If this is not directly possible what would you suggest to achieve the task ? > > thanks a lot for any time spent to answer me > > --Ben > _______________________________________________ > IMP-users mailing list > IMP-users@salilab.org > https://salilab.org/mailman/listinfo/imp-users