-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
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:
// ...
useEffect(() => {
seqparse("NP_000229.1")
.then(console.log)
.catch(console.error);
}, []);
// ...Am I doing something wrong or is there an error in the code?
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working