Skip to main content

tbprofiler_profile

Tags: tuberculosis mycobacterium drug-resistance amr typing variant-calling sample-scope

Detect resistance and lineages of Mycobacterium tuberculosis genomes.

Uses TBProfiler to profile Mycobacterium tuberculosis data for drug resistance and lineage information by aligning reads to a reference genome and identifying specific variants.

Uses explicit positional record fields for reads:

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

Inputs

record (
meta: Record,
r1: Path?,
r2: Path?,
se: Path?,
lr: Path?
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
r1Path?Illumina R1 reads (paired-end)
r2Path?Illumina R2 reads (paired-end)
sePath?Single-end Illumina reads
lrPath?Long reads (ONT/PacBio)

Outputs

record (
meta: Record,
csv: Path?,
json: Path,
txt: Path?,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
csvPath?Results in CSV format
jsonPathCompressed JSON results file
txtPath?Results in text 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

TB-Profiler Profile Parameters

ParameterTypeDefaultDescription
--tbprofiler_call_whole_genomebooleanfalseCall whole genome
--tbprofiler_mapperstringbwaMapping tool to use. If you are using nanopore data it will default to minimap2 (choices: bwa, minimap2, bowtie2, bwa-mem2)
--tbprofiler_callerstringfreebayesVariant calling tool to use (choices: bcftools, gatk, freebayes)
--tbprofiler_optsstringExtra options in quotes for TBProfiler

Used By

Subworkflows

  • tbprofiler - Profiling tool for Mycobacterium tuberculosis to detect resistance and strain type.

Workflows

  • tbprofiler - Detection of antimicrobial resistance and lineage typing of Mycobacterium tuberculosis.

Citations

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

Source

View source on GitHub

Version

TBPROFILER_PROFILE:
- tb-profiler: 6.7.0