prep_db

prep_db makes SQL enabling taxonomic querying of placement results.

usage: prep_db [options] -c <refpkg>

Options

-c Reference package path. Required.
--sqlite Specify the database file to use. Required.

Details

Creates and populates tables in the specified sqlite3 database, initializing the database if it doesn’t already exist.

The following tables are both created and populated with data from the reference pacakge:

  • ranks – all of the ranks contained in the provided reference package.
  • taxa – all of the taxa in the provided reference package.

Other tables are created, but are populated by guppy classify.

See the microbiome demo for some examples of using rppr prep_db and guppy classify together.