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

Failed to connect to eutils.ncbi.nlm.nih.gov #4

Open
ireneortega opened this issue Jan 23, 2023 · 4 comments
Open

Failed to connect to eutils.ncbi.nlm.nih.gov #4

ireneortega opened this issue Jan 23, 2023 · 4 comments

Comments

@ireneortega
Copy link
Contributor

I am working with a joineddata df that contains many rows and the funtion join2PAM() stops after long time due to this error:

Error in curl::curl_fetch_memory(url, handle = handle) : 
  Timeout was reached: [eutils.ncbi.nlm.nih.gov] Failed to connect to eutils.ncbi.nlm.nih.gov port 443 after 5199 ms: Couldn't connect to server
Calls: join2PAM ... request_fetch -> request_fetch.write_memory -> <Anonymous>

How can I fix it?

@grybnicky
Copy link
Owner

This is a problem with NCBI's server capacity. Unfortunately, they cap the size and time of requests via API. Have you tried running this one manually through the BLAST web interface?

@ireneortega
Copy link
Contributor Author

ireneortega commented Jan 24, 2023

Could you please tell me how can I perform the function join2PAM() manually? Do I have to download the fasta sequences for the IDs in joineddata$subject.acc.ver in one file and add this file to the eFetchGet object (line 330 join2PAM.R)?

@ireneortega
Copy link
Contributor Author

@grybnicky I propose you a modification in the function join2PAM() that avoid NCBI's server capacity. It works for my data, hope it is correct

@grybnicky
Copy link
Owner

Thanks for proposing the modification, I just need time to verify it before I accept it. Do you have a reproducible example I can use to test? Feel free to email it to me.

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