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

get.volume giving error #123

Open
garimaloh opened this issue Jul 1, 2021 · 8 comments
Open

get.volume giving error #123

garimaloh opened this issue Jul 1, 2021 · 8 comments

Comments

@garimaloh
Copy link

am trying to use get.volume to get the molecular volume. But i am getting error. Please would you help me to resolve the issue.

Here is my code:

mols <- parse.smiles(pep[4,SMILES])[[1]]
convert.implicit.to.explicit(mols)
get.tpsa(mols)
[1] 624.96
get.volume(mols)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
org.openscience.cdk.exception.NoSuchAtomTypeException: The AtomType null could not be found

@rajarshi
Copy link
Collaborator

rajarshi commented Jul 2, 2021 via email

@garimaloh
Copy link
Author

install_github("https://github.com/CDK-R/rcdklibs")
install_github("https://github.com/CDK-R/cdkr", subdir="rcdk")

They dont work for me. How to install this tool from github

@garimaloh
Copy link
Author

SMILES is a column name in a data table with value in 5th row

@rajarshi
Copy link
Collaborator

rajarshi commented Jul 3, 2021 via email

@garimaloh
Copy link
Author

I was able to install from github. its= gives me same errors.

@garimaloh
Copy link
Author

mols2 <- parse.smiles(pep[2,SMILES])[[1]]
class(mols2)
[1] "jobjRef"
attr(,"package")
[1] "rJava"
kk=view.molecule.2d(mols2)
Error in view.molecule.2d(mols2) : java.lang.NoSuchMethodError:
get.volume(mols2)
Error in .jcall("RJavaTools", "Ljava/lang/Object;", "invokeMethod", cl, :
org.openscience.cdk.exception.NoSuchAtomTypeException: The AtomType null could not be found

@rajarshi
Copy link
Collaborator

rajarshi commented Jul 3, 2021 via email

@rajarshi
Copy link
Collaborator

rajarshi commented Jul 3, 2021 via email

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