-
Notifications
You must be signed in to change notification settings - Fork 13
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
odd errors with sequence length queries at ncbi_byname #126
Comments
👋🏽 previous maintainer here. this pkg is no longer maintained. you can still use it of course |
thanks. Will use Rentrez instead. |
This repository is about to be archived. |
👋🏻 new maintainer here: package is now unarchived |
This error still appears to occur in all of the examples above. Is this worth resolving? e.g. do the ncbi_* functions still provide a value, or does the rentrez package provide the needed functionality, such that the ncbi_* functions in this package could be deprecated? |
For what it's worth, I use Might be related to OP's problem? Is it worth posting an issue about this? |
Sorry this took so long. This should be resolved in PR #132 To test it out while the PR is still open:
If someone checks that this works, that would be much appreciated. And double points if you are able to provide feedback on the PR! |
@boopsboops if you found an error with ncbi_byid to report, please do! It would be good to have it documented. |
"ncbi_byname" works great most of the time (thanks!), but with limited testing fails about 5%. Which makes searching long lists of species cumbersome. It seems like there are some sequences in ncbii that lead to glitches, and these can be avoided by limiting the length ranges. But it is otherwise unclear why some of these queries fail consistently and other succeed or how to add options to get around it.
I should specify that my goal is to get a longish sequence by gene/species combination. across many species and many genes (for metabarcoding primer selection).
In Rstudio.
ncbi_byname(taxa="Coryphaena hippurus", gene = c("Coi"), seqrange = "1:2000")#fails
ncbi_byname(taxa="Coryphaena hippurus", gene = c("Coi"), seqrange = "500:750")#fails
ncbi_byname(taxa="Coryphaena hippurus", gene = c("Coi"), seqrange = "600:2000")#works
ncbi_byname(taxa="Sardinops melanostictus", gene = c("12s"), seqrange = "1:2000")#fails
ncbi_byname(taxa="Sardinops melanostictus", gene = c("12s"), seqrange = "1:1000")#works
ncbi_byname(taxa="Sardinops melanostictus", gene = c("12s"), seqrange = "170:1000")#works
ncbi_byname(taxa="Sardinops melanostictus", gene = c("12s"), seqrange = "170:2000")#fails
The text was updated successfully, but these errors were encountered: