Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

MetaQuest

MetaQuest is a research-use command-line pipeline for short-read metagenomic FASTQ analysis. Version 2.0.0a1 is a stabilization release: the maintained runtime is intentionally smaller than earlier prototypes and does not make clinical or pathogen-risk claims.

Current capabilities

  • full FASTQ structural validation and sampled quality warnings
  • fastp adapter and quality preprocessing with retained-read QC
  • synchronized paired-read identifier and count validation
  • Kraken2 taxonomic classification
  • Bracken abundance re-estimation
  • optional taxonomy-only execution
  • MEGAHIT metagenomic assembly
  • Pyrodigal metagenomic gene prediction
  • eggNOG-mapper orthology-based functional annotation
  • per-gene annotations and aggregated COG, KO, EC, and GO counts
  • descriptive text, JSON, offline HTML, and publication figure reporting
  • explicit classified/unclassified denominators and reproducibility metadata
  • versioned taxonomy and eggNOG database installation

MetaQuest does not currently perform read trimming, host-read removal, validated AMR or virulence analysis, clinical diagnosis, or treatment recommendations.

Pipeline

FASTQ
  ├── validation
  ├── fastp preprocessing
  ├── Kraken2 → Bracken
  ├── MEGAHIT
  ├── Pyrodigal
  ├── eggNOG-mapper → COG / KO / EC / GO
  └── descriptive reporting → HTML + figures + plotted-data TSV

The maintained pipeline currently runs directly in Python. Migration to Snakemake and optional Bowtie2 host filtering remain planned.

Quick start

Install the Python distribution from PyPI:

python -m pip install metaquest-bio
metaquest --version

The distribution is named metaquest-bio; the installed Python package and command remain metaquest. The PyPI distribution does not bundle Kraken2, Bracken, MEGAHIT, DIAMOND, or eggNOG-mapper. For the complete runtime, clone the repository and create its Conda environment before installing the package:

conda env create -f environment/environment.yml
conda activate metaquest
python -m pip install .

Inspect and install the taxonomy database:

metaquest databases --list
metaquest databases --database taxonomy
metaquest check

By default, MetaQuest installs reference data in ./databases. Use --db-dir or METAQUEST_DB_DIR only when you intentionally want another location.

Run taxonomic profiling:

metaquest run \
  --paired sample_R1.fastq.gz sample_R2.fastq.gz \
  --output results/sample

Use --skip-functional to stop after Pyrodigal, or --taxonomy-only to skip assembly, gene prediction, and functional annotation. The former --skip-annotation spelling remains as a deprecated alias for --taxonomy-only.

Each fresh run requires a new or empty output directory. Use --resume only to reuse a matching MetaQuest run, or --force to move an existing output directory to a timestamped backup before starting fresh.

Commands

metaquest check       # verify tools and databases
metaquest validate    # validate FASTQ input
metaquest run         # run the analysis pipeline
metaquest databases   # inspect or install reference data
metaquest init-config # create a configuration file

The previous analyze and setup-db names remain available as aliases for backward compatibility.

Global output controls may appear before or after the command:

metaquest run --verbose --single reads.fastq.gz --output results/
metaquest databases --no-color --list
metaquest --quiet check

For systems that cannot load the Kraken2 database fully into RAM, enable Kraken2 memory mapping with --low-memory:

metaquest run --low-memory --single reads.fastq.gz --output results/

Currently this flag only adds Kraken2's --memory-mapping option. It does not change resource settings for Bracken, MEGAHIT, or gene prediction.

Database storage

Reference databases are not stored in Git. From the repository root, install them directly into the default databases/ directory:

metaquest databases --database taxonomy
metaquest databases --database functional
metaquest check

The database path resolution order is:

  1. --db-dir
  2. METAQUEST_DB_DIR
  3. databases.base_dir in YAML
  4. ./databases

Documentation

Development status

MetaQuest is alpha software intended for reproducible method development. Before a stable release, the workflow requires end-to-end Snakemake execution, functional and pathogen-associated method validation, resource benchmarks, comparison-method validation, and publication datasets.

License

MetaQuest is distributed under the GNU General Public License v3.0 or later. Copyright (c) 2026 Dev Patel. External programs and reference databases are not included in the Python distribution and remain subject to their own terms. See Third-party licenses for the maintained dependency and provenance inventory.

Metadata

Release files for metaquest-bio 2.0.0a1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metaquest-bio 2.0.0a1
File Size Uploaded
metaquest_bio-2.0.0a1.tar.gz 77.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metaquest-bio 2.0.0a1
File Interpreter ABI Platform
metaquest_bio-2.0.0a1-py3-none-any.whl Python 3 none any Details

Total release size: 156.3 kB

Release files / metaquest_bio-2.0.0a1.tar.gz

Download URL metaquest_bio-2.0.0a1.tar.gz
Size 77.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8d486e1883e126805a0efad82d123a957decae7d36d0c0364784afa4ce8093c1
BLAKE2b-256 checksum
How to use checksums
6da0b036561da1a405a0e0b8ee61a592e99f76d3419566c50965bbe69d4c4fc5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release files / metaquest_bio-2.0.0a1-py3-none-any.whl

Download URL metaquest_bio-2.0.0a1-py3-none-any.whl
Size 78.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3f23d451ad2eb5f54e165301e0b5b18fdfbc0c416d8aea0c2ba0bf2f90a4573
BLAKE2b-256 checksum
How to use checksums
2bc11404d61cf5adc3095fa9cb4888645cf32f7c317da4d43417c34982c59893
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.0.0a1 This release

2 release 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