Skip to main content

Installation

pip install taxaforge

Usage

taxaforge --help

To create standard Kraken2 database

taxaforge build --db-type standard

Before creating a standard database, you can try a smaller database like fungi.

taxaforge build --db-type fungi

To build a ganon2 database instead, pass --tool ganon2

taxaforge build --tool ganon2 --db-type fungi

To use locally downloaded files, run the following command

taxaforge build --db-name k2_test --genomes-dir /path/to/genomes --taxonomy-dir /path/to/taxonomy

To limit the number of genomes in the database, use the --limit option

taxaforge build --db-name k2_test_100 --genomes-dir /path/to/genomes --limit 1000

Config

Read/write config, stored in the OS default config location (~/.config/taxaforge/config.ini on Linux, ~/Library/Application Support/taxaforge/config.ini on macOS).

taxaforge config set threads 8
taxaforge config get threads
taxaforge config

Why TaxaForge?

TaxaForge aims to provide a simple and easy to use tool to build wide variety of taxonomic classifier databases with a single command.

Why not kraken2-build/ganon directly?

kraken2-build and ganon each build databases for their own tool only. TaxaForge wraps the shared download/taxonomy pipeline once and dispatches to the right tool via --tool, so adding support for more classifiers is a matter of plugging in a new build step.

Documentation

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

taxaforge-0.2.0.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

taxaforge-0.2.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file taxaforge-0.2.0.tar.gz.

File metadata

  • Download URL: taxaforge-0.2.0.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for taxaforge-0.2.0.tar.gz
Algorithm Hash digest
SHA256 7fafaf66d7bbc72e05760aba71a355bdc7aee65388466f8fb9e62814a1382ffa
MD5 b136ac0ad0037295f9298e25610aa1c0
BLAKE2b-256 c0a4785d9485f8fe12512caa3635192957557f471160c4ec54970b6d869c5c74

See more details on using hashes here.

File details

Details for the file taxaforge-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: taxaforge-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for taxaforge-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fc53650a9f45290a741033af8ed3aa8693e2ca32028f02063dce53a73ca3cbbe
MD5 ef716a00b53cbc4128ea267d406f1df7
BLAKE2b-256 70e1b87a67e89d05082debef394ab1e01380ca7ce1d6b387e9f9ed1038075b10

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page