Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question about atom selection in prody #1592

Closed
obasekigit opened this issue Sep 27, 2022 · 11 comments · Fixed by #1716
Closed

Question about atom selection in prody #1592

obasekigit opened this issue Sep 27, 2022 · 11 comments · Fixed by #1716

Comments

@obasekigit
Copy link

Good day all, is it possible to select atom by segid in prody?

@jamesmkrieger
Copy link
Contributor

It should be. Any property should be usable. Please try it and let us know if it isn’t

@obasekigit
Copy link
Author

Sorry, I never answered this question. it did not work when I tried it

@jamesmkrieger jamesmkrieger reopened this Mar 3, 2023
@jamesmkrieger
Copy link
Contributor

Try segname

@obasekigit
Copy link
Author

I got an error

@obasekigit
Copy link
Author

invalid selection

@obasekigit
Copy link
Author

i discovered segment worked and not segname

@jamesmkrieger
Copy link
Contributor

ok, good to know. Thanks. Perhaps we can add these extra things

@ThaNikkitz
Copy link

Hello, I'm tagging along on this issue.
Indeed segname as used in VMD doesn't work, and throws the following error:
prody_segname_error.txt

I actually changed a portion of my code to include the segment selection by indexing an atomgroup (pdb['PROA']), but it's cumbersome for a user on my level (beginner-medium at most) and it has a ton of limitations.

I still want to thank the devs, as the prody package has been incredibly useful 😃

@jamesmkrieger
Copy link
Contributor

Ok. I guess we can add extra things to the selection algebra

indexing atomgroups by segment, etc. is documented on our website along with a lot of other helpful things

@jamesmkrieger
Copy link
Contributor

segname actually should be in the synonyms already. I'll have to figure out what's wrong there

@jamesmkrieger
Copy link
Contributor

ok, this is fixed once I merge the pull request. Then you'll be able to select using segname is you update prody from github

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants