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

Error on Rcpi package #7

Open
htorkey opened this issue Nov 28, 2019 · 1 comment
Open

Error on Rcpi package #7

htorkey opened this issue Nov 28, 2019 · 1 comment

Comments

@htorkey
Copy link

htorkey commented Nov 28, 2019

Hi

I got this error when I tied to rerun your tutorial on Rcpi

drugseq <- getSmiFromKEGG(drugid, parallel = 5)
java.lang.NullPointerException
at org.guha.rcdk.util.Misc.loadMolecules(Misc.java:169)
Error in load.molecules(tmpfile) :
org.openscience.cdk.exception.CDKException: java.lang.NullPointerException

@nanxstats
Copy link
Owner

@htorkey -thanks for reporting this. It seems that the KEGG API behind this now just randomly return a 403 access forbidden error instead of the correct content (in this case, the mol file). It is possible that they introduced some new rate limits to avoid people from scraping the data. Cannot say if this is going to be a transient issue or not, but let's wait and see.

The ad-hoc solution is simple -- you could get the smiles or mol from other public sources, such as DrugBank, PubChem, and ChEMBL, which are also supported by the package.

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