-
Notifications
You must be signed in to change notification settings - Fork 75
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
DrugBank to UniChem mapping: cannot decode json #7
Comments
Taking a look at some of the log output we committed from the past, I see the same message: Lines 1913 to 1915 in 6b9ae38
I think these are cases where the UniChem mapping fails, see cell 37 of How many drugbank IDs are you trying to map and how many have the failure? |
Thank you for your response, I am trying to map around 14.000 IDs and I have stopped the cell because for the first 800 ID I am obtaining the same error...any idea? |
That error message occurs anytime the UniChem response doesn't return valid JSON, but it's probably that the API is returning an error. This website works: https://www.ebi.ac.uk/unichem/search/connectivity?type=sourceID&compound=DB00006&sourceID=2 Looks like the UniChem API might have had an update. See the current docs at https://www.ebi.ac.uk/unichem/api/docs |
I imagine it's okay to search only by inchikey, although I must have seen some benefit to first trying the identifier search. I imagine the identifier search is still possible, we just have to figure out the right API call for it. |
Yes! I agree, It must have some benefit to first trying the identifier. How can I extract the information only using the inchikey? Could you put the code with this option? It would be great... |
Hi!
Thank you for so useful repository. I have one question, when I am following your code for obtaing the mapping codes, I am getting the next error:
Could you help me, please??
Thanks
Pablo
The text was updated successfully, but these errors were encountered: