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

how to search PDBID via smiles of ligands #63

Open
jhxu003 opened this issue Oct 25, 2023 · 0 comments
Open

how to search PDBID via smiles of ligands #63

jhxu003 opened this issue Oct 25, 2023 · 0 comments

Comments

@jhxu003
Copy link

jhxu003 commented Oct 25, 2023

hi,
I'm wondering how I can search for PDBIDs using ligand SMILES. For example:

from pypdb import *
#
found_pdbs = Query("Clc1nc(Br)nc2nc[nH]c12").search()
print(found_pdbs[:10])

I'm able to find the PDBID I want using the 'chemical similarity' option on the 'https://www.rcsb.org/' website. However, I'm unable to achieve the same result using the code above. Can you please advise on the appropriate query_type to use in this case?

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

No branches or pull requests

1 participant