Find zwitterions #4900
Find zwitterions
#4900
-
Hello! |
Beta Was this translation helpful? Give feedback.
Answered by
greglandrum
Jan 18, 2022
Replies: 1 comment 3 replies
-
Sure! If you want to match molecules which have at least one positively charged atom and at least one negatively charged atom, you can use the SMARTS
Note that this also matches the charge separated form of nitro groups which the RDKit uses:
It only matches atoms which have a +1 or -1 charge... +2 and -2 are rarer, but you could also match higher charge states if you want by using a modfied form of the SMARTS:
|
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
ldamore
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sure! If you want to match molecules which have at least one positively charged atom and at least one negatively charged atom, you can use the SMARTS
[+].[-]
:Note that this also matches the charge separated form of nitro groups which the RDKit uses:
It only matches atoms which have a +1 or -1 charge... +2 and -2 are rarer, but you could also match higher charge states if you want by using a modfied f…