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 use get_mol() on pdb proteins? #416

Open
dschlesinger opened this issue Nov 4, 2023 · 4 comments
Open

How to use get_mol() on pdb proteins? #416

dschlesinger opened this issue Nov 4, 2023 · 4 comments

Comments

@dschlesinger
Copy link

I noticed you can't use the get_mol() function on pdb files, I was trying to use morgan fingerprint encoding on protein and ligand for an ML application. Wondering if that is possible using RDKIT-JS. Is there a similar functionality to getMolFromPDBFile().

It works on smiles but returns null when given a PDB format. I also noticed that you can use a JSON for get mol. What format would that take and could I use that for my protein? Documentation was unclear.

@ghost
Copy link

ghost commented Nov 4, 2023

I had the same problem, but I could not find a solution. Can anyone help?

@ghost
Copy link

ghost commented Nov 15, 2023

Any updates on this?

@ptosco
Copy link

ptosco commented Nov 15, 2023

get_mol currently takes SMILES, CXSMILES and CTAB strings as input, not PDB strings.

@dschlesinger
Copy link
Author

Hi, thank you for your response!

Do you know of any way to load a pdb file in js? Am probably going to switch to Python to utilize that version of rdkit. However it would be optimal to use js.

Thanks,

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