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
Hi Hello. I'm Takahiro Yamada and greatly thanks to you for very convenient R package, biomartr.
I tried to get a genome from NCBI GenBank database and faced following error.
> biomartr::getCollection(db = "genbank" , "GCA_900240375.1")
Starting collection retrieval (genome, proteome, cds, gff/gtf, rna, repeat masker, assembly stats) for GCA_900240375.1 ...
|===============================================================================| 100% 54 MB
Unfortunatey, no entry for 'GCA_900240375.1' was found in the 'refseq' database. Please consider specifying 'db = genbank' or 'db = ensembl' or 'db = ensemblgenomes' or 'db = uniprot' to check whether 'GCA_900240375.1' is available in these databases.
error: No entry was found for organism GCA_900240375.1. Could the name be misspelled?
The species of this genome is registered in NCBI GenBank, and GenBank assembly accession is registered but RefSeq assembly accession is not (please see following URL). https://www.ncbi.nlm.nih.gov/assembly/GCA_900240375.1
I suppose my error was generated because of the following code in getCollection.R,
The above code org_exists <- is.genome.available(db = "refseq", organism, details = TRUE) may be org_exists <- is.genome.available(db = db, organism, details = TRUE) if genome should be checked based on user specified database?
I also confirmed is.genome.available(db = "genbank" , "GCA_900240375.1") generates TRUE.
Thank you!
Takahiro
The text was updated successfully, but these errors were encountered:
… RefSeq and not in other databases due to a constant used in is.genome.available() rather than a variable (Many thanks to Takahiro Yamada for cathing the bug) #53
Hi Hello. I'm Takahiro Yamada and greatly thanks to you for very convenient R package, biomartr.
I tried to get a genome from NCBI GenBank database and faced following error.
The species of this genome is registered in NCBI GenBank, and GenBank assembly accession is registered but RefSeq assembly accession is not (please see following URL).
https://www.ncbi.nlm.nih.gov/assembly/GCA_900240375.1
I suppose my error was generated because of the following code in getCollection.R,
The above code
org_exists <- is.genome.available(db = "refseq", organism, details = TRUE)
may beorg_exists <- is.genome.available(db = db, organism, details = TRUE)
if genome should be checked based on user specified database?I also confirmed
is.genome.available(db = "genbank" , "GCA_900240375.1")
generatesTRUE
.Thank you!
Takahiro
The text was updated successfully, but these errors were encountered: