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

ChemRich error: "Must supply an IAtomContainer or something coercable to it" #19

Open
hgsans-aiimsd opened this issue Feb 1, 2024 · 1 comment

Comments

@hgsans-aiimsd
Copy link

Hello,

I am using ChemRich to analyze my Lipidomics data, but on data input (In the format provided in the example template, 6 columns for- Compound name, InChikeys, Pubchem ID, SMILES, pvalue, and foldchange). However, during the data input phase, I am encountering the following error:

"Error: Must supply an IAtomContainer or something coercable to it
In call: rcdk::get.fingerprint(rcdk::parse.smiles(df1$SMILES[x])[[1], type = "pubchem") "

I would appreciate your assistance in resolving this issue.
Thank you.

@barupal
Copy link
Owner

barupal commented Feb 1, 2024

Some of your SMILES are incorrect. Use the checkSmiles function from https://chemrich.idsl.me/predict-mesh-classes#h.t0svnuwdqsbf to find which one.

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