Searches the locally cached BV-BRC bacterial dataset for user-specified inputs. Numeric inputs are treated as taxon IDs; character inputs are matched as case-insensitive substrings against genome.species.

.retrieveCustomQuery(
  base_dir = ".",
  user_bacs = c("90371", "Bacillus subtilis")
)

Arguments

base_dir

Character. Project root. BV-BRC cache is expected at file.path(base_dir, "data", "bvbrc", "bvbrcData.duckdb").

user_bacs

Character vector. Mixed inputs of taxon IDs and/or species strings.

Value

A tibble with columns genome.taxon_id and genome.species, or NULL with a message.