-
Notifications
You must be signed in to change notification settings - Fork 17
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
MetFragR - Java Error #160
Comments
Hi, I haven't encountered this specific error before. Looks like |
Correction, I got your example to work here.
|
Hi, I still get the same error. Here are my sessionInfo. `Loading required package: rJava
Matrix products: default locale: time zone: Europe/Stockholm attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hm, so we need to check how you install, and what metfrag.jar and CDK.jar are used. |
Thank you again for your reply! I thought I had installed the new version, but noticed that it was not the case. `Loading required package: rJava
Matrix products: default locale: time zone: Europe/Stockholm attached base packages: other attached packages: loaded via a namespace (and not attached): |
Hi,
I am trying to use the metfrag in by following the example provided by creating the "settingsObject" and use it in the run.metfrag(settingsObject). However, I never get any results from it, only gives a data frame with 0 columns/rows (but does not give any Errors). This happens both when I tried the example of a settingsObject and when I have tried to use my own input in the settingsObject.
Do you know what could be the cause for this?
Further, I have tried to use the "frag.generateMatchingFragments"-function such as:
smiles <- "CC(C(=O)C1=CC(=CC=C1)Cl)NC"
molecule<-parse.smiles(smiles)[[1]]
mzs <- c(144.080571, 145.088167, 180.057363, 182.05468)
matching.fragments<-frag.generateMatchingFragments(molecule, mzs, 197.060742, mzabs = 0.01, mzppm = 10.0, posCharge = TRUE, ionMode = 1, treeDepth = 2)
And here I obtain the error " Error in .jcall(obj, "[Lorg/openscience/cdk/interfaces/IAtomContainer;", :
java.lang.NoSuchMethodError: 'net.sf.jniinchi.INCHI_RET net.sf.jniinchi.INCHI_RET.getValue(int)' "
Therefore, I think that why also run.metfrag does not give any results, could be due to java-problem.
Have you encountered this Error before, and do you know how to solve it?
Thanks in advance!
The text was updated successfully, but these errors were encountered: