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

Atom indexing #6

Open
kavi9030 opened this issue Aug 8, 2023 · 1 comment
Open

Atom indexing #6

kavi9030 opened this issue Aug 8, 2023 · 1 comment

Comments

@kavi9030
Copy link

kavi9030 commented Aug 8, 2023

Hello. May I know how MolGpKa do the atom indexing? For example the molecule (CN(C)CCCN1C2=CC=CC=C2SC2=C1C=C(C=C2)C(C)=O) got 2 pKa for the N atoms and the base_dict = {9: 5.565207, 13: 9.476432}.

image
I tried to number my atoms using rdkit (https://stackoverflow.com/questions/53321453/rdkit-how-to-show-moleculars-atoms-number) but it doesn't match up with the indexes on MolGpKa. May I know how the atom indexing works? Is it generated based on the atom index of the ionizable atom in the SMARTS?

image

@xiaolinpan
Copy link
Contributor

Hi, sorry for the delay in responding. Hydrogen atoms are necessary for MolGpKa predictions and must be included when labeling the atom index. Removing and then re-adding hydrogen atoms can lead to atom index changes, so the Mol object obtained from MolGpKa should be utilized for adding atom index.

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

2 participants