This function allows to search and download data from the the BOLD database. Additionally it allows to convert the BOLD taxonomic classification into the NCBI classification using the NCBI Taxonomy database.
refdb_import_BOLD( taxon = NULL, ids = NULL, bin = NULL, container = NULL, institutions = NULL, researchers = NULL, geo = NULL, ncbi_taxo = TRUE, full = FALSE )
taxon, ids, bin, container, institutions, researchers, geo | terms used to search the BOLD database. See bold_seqspec from which they are inherited. |
---|---|
ncbi_taxo | if |
full | if |
A tibble.
This function uses several functions of the bold package to interface with the BOLD API. The NCBI Taxonomy database is queried using the rentrez package.
As detailed in the manual of bold_seqspec, some large requests (e.g. high ranked taxa) can lead to errors. In that case one strategy can be to sequentially download data for lower rank taxa. See https://docs.ropensci.org/bold/#large-data.
link[bold]bold_stats and bold_seqspec from bold which are used internally.