You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get an error when I call the seqparse function using a NP ID (e.g., NP_000229.1).
I looked at the queries and found that it uses the nuccore database: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=NP_000229.1&rettype=gbwithparts&retmode=text
I think that it should use the protein database, which would lead to the following URL: https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=protein&id=NP_000229.1&rettype=gbwithparts&retmode=text
This query does return a successful result. My code is the following:
I get an error when I call the seqparse function using a NP ID (e.g., NP_000229.1).
I looked at the queries and found that it uses the
nuccore
database:https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=nuccore&id=NP_000229.1&rettype=gbwithparts&retmode=text
I think that it should use the
protein
database, which would lead to the following URL:https://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=protein&id=NP_000229.1&rettype=gbwithparts&retmode=text
This query does return a successful result. My code is the following:
Am I doing something wrong or is there an error in the code?
The text was updated successfully, but these errors were encountered: