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:
--db-dirMETAQUEST_DB_DIRdatabases.base_dirin YAML./databases
Documentation
- Installation
- Database management
- Usage
- Gene prediction and functional annotation
- Release process
- Changelog
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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file metaquest_bio-2.0.0a1.tar.gz.
File metadata
- Download URL: metaquest_bio-2.0.0a1.tar.gz
- Upload date:
- Size: 77.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d486e1883e126805a0efad82d123a957decae7d36d0c0364784afa4ce8093c1
|
|
| MD5 |
42221b8ecd260dd36784ddb00dcb1c5b
|
|
| BLAKE2b-256 |
6da0b036561da1a405a0e0b8ee61a592e99f76d3419566c50965bbe69d4c4fc5
|
Provenance
The following attestation bundles were made for metaquest_bio-2.0.0a1.tar.gz:
Publisher:
release.yml on dpatel511/metaquest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaquest_bio-2.0.0a1.tar.gz -
Subject digest:
8d486e1883e126805a0efad82d123a957decae7d36d0c0364784afa4ce8093c1 - Sigstore transparency entry: 2554586785
- Sigstore integration time:
-
Permalink:
dpatel511/metaquest@8ff2645730974ba2819b3179a2fc9b8b0813790a -
Branch / Tag:
refs/tags/v2.0.0a1 - Owner: https://github.com/dpatel511
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8ff2645730974ba2819b3179a2fc9b8b0813790a -
Trigger Event:
release
-
Statement type:
File details
Details for the file metaquest_bio-2.0.0a1-py3-none-any.whl.
File metadata
- Download URL: metaquest_bio-2.0.0a1-py3-none-any.whl
- Upload date:
- Size: 78.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3f23d451ad2eb5f54e165301e0b5b18fdfbc0c416d8aea0c2ba0bf2f90a4573
|
|
| MD5 |
fcc755a286defd51bca111636ceddceb
|
|
| BLAKE2b-256 |
2bc11404d61cf5adc3095fa9cb4888645cf32f7c317da4d43417c34982c59893
|
Provenance
The following attestation bundles were made for metaquest_bio-2.0.0a1-py3-none-any.whl:
Publisher:
release.yml on dpatel511/metaquest
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
metaquest_bio-2.0.0a1-py3-none-any.whl -
Subject digest:
b3f23d451ad2eb5f54e165301e0b5b18fdfbc0c416d8aea0c2ba0bf2f90a4573 - Sigstore transparency entry: 2554587111
- Sigstore integration time:
-
Permalink:
dpatel511/metaquest@8ff2645730974ba2819b3179a2fc9b8b0813790a -
Branch / Tag:
refs/tags/v2.0.0a1 - Owner: https://github.com/dpatel511
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8ff2645730974ba2819b3179a2fc9b8b0813790a -
Trigger Event:
release
-
Statement type: