Skip to main content

rgi_main

Tags: resistance antimicrobial-resistance card rgi amr sample-scope

Predict antibiotic resistance from assemblies.

Uses RGI (Resistance Gene Identifier) to predict resistomes from protein or nucleotide data based on homology and SNP models using the Comprehensive Antibiotic Resistance Database (CARD).

Inputs

record (
meta: Record,
fna: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
fnaPathAssembled contigs in FASTA format

Outputs

record (
meta: Record,
tsv: Path,
json: Path?,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
tsvPathRGI results in tab-separated format
jsonPath?RGI results in JSON format
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

RGI Main Parameters

ParameterTypeDefaultDescription
--rgi_use_diamondbooleanfalseUse DIAMOND for alignments instead of BLAST

Used By

Subworkflows

  • rgi - Predict antimicrobial resistance from protein or nucleotide data.

Workflows

  • rgi - Prediction of antibiotic resistance genes using RGI.

Citations

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

Source

View source on GitHub

Version

RGI_MAIN:
- rgi: 6.0.5