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

db query change suggestion and retmax value #4

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ldiass
Copy link

@ldiass ldiass commented Mar 23, 2021

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,

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 if a consistency check.
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]
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

Successfully merging this pull request may close these issues.

1 participant