Catalog PyPI
PACKAGE EXPLORERView in registry

adtoolbox

PyPI

A tool for modeling and optimization of anaerobic digestion process.

Versions collected1
Direct dependencies14From release 1.1.16
Last observed20 Oct, 19:55 UTC

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.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
1.1.1627 Jul 202614

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

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:6da2fbb52569decbe3f64ce6f56fd5746292948a2e1b75757bb9a516a13c5026