Previous Thread
Next Thread
Print Thread
#27647 06/14/11 09:27 AM
Joined: Feb 2009
Posts: 83
B
blubbi Offline OP
Forum Member
OP Offline
Forum Member
B
Joined: Feb 2009
Posts: 83
Hi CHARMM users,

is it possible to get the RESId from a (defined) selection?

For example:
If I want to know which residues are affected by this selection:

define SET sele prop X .lt. 10 end

How can I get this information without looping over all residues and check each resid on its own?

Cheers,
Bjoern

Joined: Sep 2003
Posts: 8,658
Likes: 26
rmv Online Content
Forum Member
Online Content
Forum Member
Joined: Sep 2003
Posts: 8,658
Likes: 26
There are some ?SEL* substitutions (select,doc, subst.doc), but they only report info for the first residue in the selection. However, you can loop over selected atoms via the .SUBSET. operator (select.doc), which may be useful.


Rick Venable
computational chemist

Joined: Feb 2009
Posts: 83
B
blubbi Offline OP
Forum Member
OP Offline
Forum Member
B
Joined: Feb 2009
Posts: 83
Originally Posted By: rmv
There are some ?SEL* substitutions (select,doc, subst.doc), but they only report info for the first residue in the selection. However, you can loop over selected atoms via the .SUBSET. operator (select.doc), which may be useful.


Aiii, I totally forgot .SUBSET.!
This will do, since I don't really need to know each RESID in the selection personally and by ID ;-)

Thanks a lot!

Cheers,
Bjoern


Moderated by  lennart, rmv 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Release build 20201027)
Responsive Width:

PHP: 7.3.31-1~deb10u5 Page Time: 0.010s Queries: 20 (0.006s) Memory: 0.7370 MB (Peak: 0.7812 MB) Data Comp: Off Server Time: 2023-10-02 19:07:59 UTC
Valid HTML 5 and Valid CSS