Skip to main content

ariba_run

Tags: fastq local-assembly antimicrobial-resistance virulence ariba sample-scope

Identify genes by local assembly of reads.

Uses ARIBA (Antimicrobial Resistance Identification By Assembly) to detect AMR and virulence genes by creating local assemblies from paired-end reads.

Uses explicit positional record fields for reads:

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

Inputs

record (
meta: Record,
r1: Path,
r2: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
r1PathIllumina R1 reads (paired-end)
r2PathIllumina R2 reads (paired-end)
db: Path
NameTypeDescription
dbPathAn ARIBA prepared database

Outputs

record (
meta: Record,
report: Path,
summary: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
reportPathTab-delimited detailed report of gene detection results
summaryPathComma-separated condensed summary of detected genes
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

Ariba Run Parameters

ParameterTypeDefaultDescription
--ariba_dbstringA database to query, if unavailable it will be downloaded to the path given by --datasets_cache (choices: argannot, card, ncbi, megares, plasmidfinder, resfinder, srst2_argannot, vfdb_core, vfdb_full, virulencefinder)
--ariba_nucmer_min_idinteger90Minimum alignment identity (delta-filter -i)
--ariba_nucmer_min_leninteger20Minimum alignment identity (delta-filter -i)
--ariba_nucmer_breakleninteger200Value to use for -breaklen when running nucmer
--ariba_assembly_covinteger50Target read coverage when sampling reads for assembly
--ariba_min_scaff_depthinteger10Minimum number of read pairs needed as evidence for scaffold link between two contigs
--ariba_spades_optionsstringExtra options to pass to Spades assembler
--ariba_assembled_thresholdnumber0.95If proportion of gene assembled (regardless of into how many contigs) is at least this value then the flag gene_assembled is set
--ariba_gene_nt_extendinteger30Max number of nucleotides to extend ends of gene matches to look for start/stop codons
--ariba_unique_thresholdnumber0.03If proportion of bases in gene assembled more than once is <= this value, then the flag unique_contig is set
--ariba_no_cleanbooleanDo not clean up intermediate files created by Ariba.

Used By

Subworkflows

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

Workflows

  • ariba - Gene identification through local assemblies.

Citations

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

Source

View source on GitHub

Version

ARIBA_RUN:
- ariba: 2.14.7