How can I highlight hydrogen bond donors/acceptors? #7296
Unanswered
YoavShamir5
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The code uses smarts patterns to determine the hydrogen bond donors and
acceptors
https://github.com/rdkit/rdkit/blob/eebad845f551b6b15f0655589a5ab67e52f8f53f/Code/GraphMol/Descriptors/Lipinski.cpp#L197
```
HBA =
***@***.***,N,P,S])]),$([nH0,o,s;+0])]"
HBD = "[N&!H0&v3,N&!H0&+1&v4,O&H1&+0,S&H1&+0,n&H1&+0]"
```
Hope this helps.
Cheers,
Brian
…On Tue, Mar 26, 2024 at 4:59 AM YoavShamir5 ***@***.***> wrote:
Hello, I have two related questions:
1. Where can I find the source code for rdMolDescriptors? I want to
know how CalcNumHBD works.
2. How can I find the atom indices of hydrogen bond donors/acceptors
reported by CalcNumHBD/CalcNumHBA?
Thanks!
—
Reply to this email directly, view it on GitHub
<#7296>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLOFIACDIATG2QHQ6EO6NLY2ETHXAVCNFSM6AAAAABFIPZPJSVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZWGQZDEMBXGE>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I have two related questions:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions