Skip to main content

ariba

Tags: bacteria reads antimicrobial-resistance virulence local-assembly sample-scope

Rapidly identify genes by creating local assemblies from paired-end reads.

This subworkflow uses ARIBA (Antimicrobial Resistance Identification By Assembly) to rapidly identify genes in a database by creating local assemblies. It first downloads and prepares an ARIBA database, then analyzes paired-end reads to identify genes, and finally aggregates results across all samples.

Uses explicit positional record fields for reads:

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

Take

reads: Channel<Record>
FieldDescription
metaGroovy Record containing sample information
r1Illumina R1 reads (paired-end)
r2Illumina R2 reads (paired-end)
seSingle-end Illumina reads (not supported by ARIBA)
lrLong reads (not supported by ARIBA)
db: String
NameTypeDescription
dbStringDatabase name for ARIBA analysis (e.g., ncbi, card, vfdb, resfinder, argannot)

Emit

Published

The sample_outputs and run_outputs emissions are aggregates of output files that will be published in the entry workflow.

sample_outputs

OutputDescription
reportTab-delimited detailed report of gene detection results
summaryComma-separated condensed summary of detected genes

run_outputs

OutputDescription
csvAggregated results in CSV format

Module Composition

This subworkflow calls the following modules:

  • ariba_getref - Download and prepare reference databases for ARIBA analysis.
  • ariba_run - Identify genes by local assembly of reads.
  • csvtk_concat - Concatenate multiple CSV or TSV files into a single table.

Used By

This subworkflow is used by the following workflows:

  • ariba - Gene identification through local assemblies.

Citations

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

Source

View source on GitHub