Skip to main content

    Metagenomics inputs and parameters

    FASTQ formats, database selection, diversity metrics, statistical methods, and configuration options for all metagenomics tools.

    metagenomicsinputs

    You provide raw FASTQ reads for classification and profiling, or a pre-computed abundance table (plus sample metadata) for diversity and differential-abundance analysis. Choosing the classifier and reference database that match your data — Kraken2/Centrifuge/Kaiju or MetaPhlAn/Bracken/mOTUs, WGS or 16S — is what most affects how many reads are assigned and how accurate the species calls are.

    Metagenomics inputs and parameters

    Common input formats

    InputFormatExampleAccepted By
    FASTQ reads (single-end).fastq, .fastq.gzsample_R1.fastq.gzmetagenomics_classify, metagenomics_profile
    FASTQ reads (paired-end)Two .fastq.gz filessample_R1.fastq.gz, sample_R2.fastq.gzmetagenomics_classify
    Abundance tableURI (taxonomic abundance table produced by metagenomics_profile)--microbiome_diversity, microbiome_differential
    Sample metadataCSV, sample/group or sample/condition columns--microbiome_diversity, microbiome_differential

    Metagenomics Classify parameters

    ParameterTypeRequiredDefaultDescription
    fastq_uristringYes--URI of the FASTQ file (R1 or single-end)
    fastq_r2_uristringNo--URI of the R2 FASTQ file (paired-end)
    methodstringNo"kraken2"Classification algorithm: "kraken2", "centrifuge", "kaiju"
    databasestringNo"standard"Reference database: "standard", "silva", "greengenes"
    confidencenumberNo0.1Minimum confidence score for classification

    Metagenomics Profile parameters

    ParameterTypeRequiredDefaultDescription
    fastq_uristringYes--URI of the FASTQ file
    methodstringNo"metaphlan"Profiling method: "metaphlan", "bracken", "motu"
    resolutionstringNo"species"Taxonomic resolution for reporting: "species", "genus", "family"

    metagenomics_profile doesn't take a separate reference-database or R2 parameter — resolution and method are the only tuning knobs.

    Microbiome Diversity parameters

    ParameterTypeRequiredDefaultDescription
    abundance_table_uristringYes--URI of the taxonomic abundance table (from metagenomics_profile)
    metadata_file_uristringYes--URI of a sample metadata CSV (sample, group columns)
    metricsstringNo"both"Diversity metrics to compute: "alpha", "beta", "both"
    beta_methodstringNo"bray_curtis"Beta diversity distance method: "bray_curtis", "unifrac", "jaccard"

    Alpha diversity is reported as Shannon, Simpson, Chao1, and observed-species counts (see outputs) — there's no parameter to select a subset of alpha metrics.

    Microbiome Differential parameters

    ParameterTypeRequiredDefaultDescription
    abundance_table_uristringYes--URI of the taxonomic abundance table
    metadata_file_uristringYes--URI of a sample metadata CSV (sample, condition columns)
    contraststringYes--Contrast to test, e.g. "disease_vs_healthy"
    methodstringNo"ancombc"Differential abundance method (compositional-data-aware): "ancombc", "aldex2", "maaslin2"

    Was this page helpful?

    On this page

    On this page

    Loading...