db query change suggestion and retmax value #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
I used your code on a job interview and it helped me a lot, however, I had to make some changes to use it.
I tried to gather the entrezID of a list of ~2000 RefSeq entries. At the first, I stopped at the limit of the retrieved set size, 20, which is very low for the usual application of this kind of program, so, I set to the maximum value and consistency.
Then, I still had problems gathering many of the sequences which were not available on the gene database, so I had to change to nucleotide the query database.
An example is the MK966151 RefSeq. You can find its Entrez on the link:
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=nucleotide&term=MK966151
but you will not find it on:
https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esearch.fcgi?db=gene&term=MK966151[ACCN]
Thank you a lot,