---
name: "bp_local_taxonomydb_query"
section: "1p"
platform: "linux"
package: "bioperl"
version: "1.7.8-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/bp_local_taxonomydb_query"
---

# bp\_local\_taxonomydb\_query(1p)

query a local TaxonomyDB for species or taxonid

## NAME

bp\_local\_taxonomydb\_query - query a local TaxonomyDB for species or taxonid

## DESCRIPTION

This script provides an example implementation of access to a local Taxonomy database implemented with Berkeley DB (DB\_File module is needed).

Usage:

```
 bp_local_taxonomydb_query.PLS: [-v] --nodes nodes.dmp --names names.dmp "Genus1 species1" "Genus2 species2"
```

Providing the nodes.dmp and names.dmp files from the NCBI Taxonomy dump (see Bio::DB::Taxonomy::flatfile for more info) is only necessary on the first time running.  This will create the local indexes and may take quite a long time.  However once created, these indexes will allow fast access for species to taxon id OR taxon id to species name lookups.
