Catalog PyPI
Back to packageRELEASE DETAILS

1.1.16

PyPI

adtoolbox

A tool for modeling and optimization of anaerobic digestion process.

Published27 Jul 2026
Direct dependencies14
Transitive dependenciesNot calculated

README

Version 1.1.16 documentation

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

PageContents
QuickstartInstall, databases, first simulation, first pipeline run.
Metagenomics PipelineSample tables, execution profiles, Slurm, output schemas.
ADM ModelsInput contracts, stoichiometry, rate laws, inhibition terms.
Parameter TuningFitting kinetic parameters to experimental data.
CLIEvery command and option.
Python APIGenerated 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 Ghadermaziparsa.ghadermazi@colostate.edu
Ethan Rimelmanrimelman@colostate.edu
Siu Hung Joshua Chan (PI)joshua.chan@colostate.edu

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 14

Native requirements
14 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
numpy<2.0.0,>=1.22.4runtime
plotly
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
plotly>=5.8.0runtime
nbformat
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
nbformat>=4.2.0runtime
requests
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
requests<3.0.0,>=2.27.1runtime
rich
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
rich<13.0.0,>=12.4.4runtime
click
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
click<9.0.0,>=8.1.7runtime
scipy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
scipy<2.0.0,>=1.8.1runtime
polars
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
polars<0.21.0,>=0.20.27runtime
dash
Environment
{
  "extras": "",
  "marker": "extra == \"dashboard\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
dash<3.0.0,>=2.4.1; extra == "dashboard"runtime
dash-bootstrap-components
Environment
{
  "extras": "",
  "marker": "extra == \"dashboard\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
dash-bootstrap-components<2.0.0,>=1.3.1; extra == "dashboard"runtime
dash-escher
Environment
{
  "extras": "",
  "marker": "extra == \"dashboard\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
dash-escher<0.0.5,>=0.0.4; extra == "dashboard"runtime
torch
Environment
{
  "extras": "",
  "marker": "extra == \"optimize\" or extra == \"surrogate\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
torch<3.0.0,>=2.4.1; extra == "optimize" or extra == "surrogate"runtime
openbox
Environment
{
  "extras": "",
  "marker": "extra == \"optimize\" or extra == \"blackbox\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
openbox>=0.8.0; extra == "optimize" or extra == "blackbox"runtime
pygad
Environment
{
  "extras": "",
  "marker": "extra == \"optimize\" or extra == \"genetic\"",
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
pygad>=3.0.0; extra == "optimize" or extra == "genetic"runtime

Distribution files

2 collected
adtoolbox-1.1.16-py3-none-any.whl

bdist_wheel · 113.49 KB · Python py3

Source file
adtoolbox-1.1.16.tar.gz

sdist · 109.96 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:55 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:a16823e82e300c4f3f8fe817fa3e19bf1dae2ac94954495b44d2d77f7d3bbe4a

Other collected versions

View all collected versions →