Skip to main content

ADToolbox

Documentation PyPI version Binder

From raw amplicon reads to a calibrated anaerobic digestion model.

ADToolbox is developed in the Chan Lab at Colorado State University. It connects metagenomics evidence, curated reaction and feed databases, and dynamic ADM1 / e-ADM simulations into one reproducible Python and command-line workflow.

Anaerobic digestion models such as ADM1 lump the microbial community into a handful of guilds whose initial biomass you are expected to guess. ADToolbox replaces that guess with measurement: it takes 16S amplicon data, maps it through GTDB and a curated enzyme-to-reaction database, and produces the microbial COD allocation the model needs.

📖 Read the documentation

Install

pip install adtoolbox               # base install, Python 3.11+
pip install "adtoolbox[optimize]"   # + parameter-tuning backends
pip install "adtoolbox[dashboard]"  # + interactive Dash/Escher visualization

Or use the container, which bundles fastp, VSEARCH, MMseqs2, and the SRA Toolkit:

docker run --rm parsaghadermazi/adtoolbox:latest adtoolbox --help

See the installation guide for source installs, extras, external tools, and HPC notes.

Quick start

# 1. Download the reference databases
adtoolbox database download-all-databases --output-dir ./database

# 2. Turn amplicon samples into microbial COD allocations
adtoolbox metagenomics process \
  --input ./samples.tsv --input-type sra --assay amplicon \
  --output-dir ./process --sra-dir ./sra \
  --database-dir ./database --execute

# Use the direct functional route for shotgun reads
adtoolbox metagenomics process \
  --input ./shotgun_samples.tsv --input-type reads --assay shotgun \
  --output-dir ./process --database-dir ./database --execute

# 3. Simulate
adtoolbox adm e-adm --models-json reference_data/models.json --report csv

The full walkthrough is in the Quickstart.

Documentation map

Page Contents
Quickstart Install, databases, first simulation, first pipeline run.
Metagenomics Pipeline Sample tables, execution profiles, Slurm, output schemas.
ADM Models Input contracts, stoichiometry, rate laws, inhibition terms.
Parameter Tuning Fitting kinetic parameters to experimental data.
CLI Every command and option.
Python API Generated reference for all modules.

Try it without installing

Binder

The example notebooks run on Binder. Note that Escher map visualization is not available there.

Building the docs locally

pip install -r docs/requirements.txt
mkdocs serve

Contact

Developed in the Chan Lab at Colorado State University.

Parsa Ghadermazi parsa.ghadermazi@colostate.edu
Ethan Rimelman rimelman@colostate.edu
Siu Hung Joshua Chan (PI) joshua.chan@colostate.edu

Download files

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

Source Distribution

adtoolbox-1.1.16.tar.gz (112.6 kB view details)

Uploaded Source

Built Distribution

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

adtoolbox-1.1.16-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

Details for the file adtoolbox-1.1.16.tar.gz.

File metadata

  • Download URL: adtoolbox-1.1.16.tar.gz
  • Upload date:
  • Size: 112.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/24.5.0

File hashes

Hashes for adtoolbox-1.1.16.tar.gz
Algorithm Hash digest
SHA256 91c17207b4d7ba9dab0af2a077d0b72503e5d8a241ba1dd00a0f908c73e9fecb
MD5 2f2bacf22762bb92f00195304853ebd5
BLAKE2b-256 ca0e0db7b5418609c7f88c7fa333ac372ff7d0ef5f3208109ef4273ace57d929

See more details on using hashes here.

File details

Details for the file adtoolbox-1.1.16-py3-none-any.whl.

File metadata

  • Download URL: adtoolbox-1.1.16-py3-none-any.whl
  • Upload date:
  • Size: 116.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.7 Darwin/24.5.0

File hashes

Hashes for adtoolbox-1.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 ad5d9df879b2be4ed15517232c53fd3b49a3493aef009644539c6b931e5b8696
MD5 d23cab4ffd18effb12e23c90affd2a93
BLAKE2b-256 ebf9b948b7c78426004e4b55bf0b8b5b42d5c4868bd27474c574f81b6f893c8d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.16 This release

2 files

1.1.15

2 files

1.1.13

2 files

1.1.12

2 files

1.1.11

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

1.1.4

2 files

1.1.3

2 files

1.1.2

2 files

1.1.1

2 files

1.1.0

2 files

1.0.0

2 files

0.6.18

2 files

0.6.17

2 files

0.6.16

2 files

0.6.15

2 files

0.6.14

2 files

0.6.13

2 files

0.6.12

2 files

0.6.11

2 files

0.6.10

2 files

0.6.9

2 files

0.6.8

2 files

0.6.7

2 files

0.6.6

2 files

0.6.5

2 files

0.6.4

2 files

0.6.3

2 files

0.6.2

2 files

0.6.1

2 files

0.6.0

2 files

0.5.26

2 files

0.5.25

2 files

0.5.24

2 files

0.5.23

2 files

0.5.22

2 files

0.5.21

2 files

0.5.20

2 files

0.5.19

2 files

0.5.18

2 files

0.5.17

2 files

0.5.15

2 files

0.5.14

2 files

0.5.13

2 files

0.5.12

2 files

0.5.11

2 files

0.5.10

2 files

0.5.9

2 files

0.5.8

2 files

0.5.7

2 files

0.5.6

2 files

0.5.5

2 files

0.5.4

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

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