Skip to main content

midas_species

Tags: metagenomics abundance species midas marker-genes diversity sample-scope

Estimate bacterial species abundance from metagenomic reads.

Uses MIDAS (Metagenomic Intra-Species Diversity Analysis System) to estimate the abundance of bacterial species in metagenomic data. It maps reads to a database of universal single-copy marker genes (15 genes) to provide accurate coverage and relative abundance estimates.

Uses explicit positional record fields for reads:

  • Input: record(meta, r1, r2, se) where each read slot is Path?
Database Required

Requires a compatible MIDAS database (containing marker gene sequences and taxonomy).

Inputs

record (
meta: Record,
r1: Path?,
r2: Path?,
se: Path?
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
r1Path?Illumina R1 reads (paired-end)
r2Path?Illumina R2 reads (paired-end)
sePath?Single-end Illumina reads
db: Path
NameTypeDescription
dbPathDirectory containing the MIDAS database

Outputs

record (
meta: Record,
tsv: Path,
abundances: Path,
adjusted_abundances: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
tsvPathA tab-delimited summary of species abundance and coverage
abundancesPathDetailed species abundance profile (*.abundances.txt)
adjusted_abundancesPathRelative abundance estimates adjusted for genome size (*.adjusted.abundances.txt)
resultsSet<Path>All output files to be published
logsSet<Path?>Optional program specific log files
nf_logsSet<Path>Nextflow-specific log files (e.g. .command.{begin
versionsSet<Path>A YAML formatted file with program versions

Parameters

MIDAS Species Parameters

ParameterTypeDefaultDescription
--midas_word_sizeinteger28Word size for BLAST search
--midas_aln_covnumber0.75Discard reads with alignment coverage < ALN_COV
--midas_optsstringExtra MIDAS options
--midas_debugbooleanfalseKeep all temporary files created by MIDAS

Used By

Subworkflows

  • midas - Species-level profiling from metagenomic data.

Workflows

  • midas - Estimate species abundances from metagenomic samples.

Citations

If you use this in your analysis, please cite the following.

Source

View source on GitHub

Version

MIDAS_SPECIES:
- midas: 1.3.2