-
Notifications
You must be signed in to change notification settings - Fork 38
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
Web history object - No esummary records found in file #178
Comments
Your trying to retrieve too many records and the only response from the server is "Too many UIDs in request. Maximum number of UIDs is 500 for JSON format output." |
Thanks, Allen. But the use of web_history wasn't precisely to avoid the "large request" problem? How can I get the complete record (4.7E6 hits!) and then filter by host species? |
I'm sorry to disappoint you but your going to have to do some extra work here if you want this to work. Before you do anything else, I recommend you review the E-Utilities documentation, particularly where it discusses large requests in Usage Guidelines and Requirements.
One more thing for your consideration, the first 10,000 records of your request have a size of 221 MB. |
You seem to have the same problem as I have. I did find a way around this problem (at least it worked for me with pubmed). You can use an lapply or for loop, I included my code in issue #180. |
Ideally, |
Encountered the same issue:
Which got more confusing when specifying
Since documentation specifically says to use the I will try to submit a PR once I figure out how to do it cleanly. |
Hi, I am trying to download all available bat coronaviruses. I used the following query:
bat_cov_ids<-entrez_search(db="nuccore", term="Bat coronavirus", retmax = 10000)
This returned 4214 hits, which I could access using entrez_summary coupled with the get-metadata function.
Now, I am trying to compare these results with a different search strategy. I want to seek for all coronavirus sequences in the "nuccore" database, and then filtering for bat hosts using the standarised taxonomy as in the tutorial.
I use the following code:
covs<-entrez_search(db="nuccore", term="txid11118[Organism]")
Which yields:
Entrez search result with 4715446 hits (object contains 20 IDs and a web_history object)
Search term (as translated): txid11118[Organism]
Then I use entrez_summary:
entrez_summary(db="nuccore", web_history=covs$web_history)
And I get the message:
Error during wrapup: No esummary records found in file
What is going wrong??
The text was updated successfully, but these errors were encountered: