Skip to main content

tbprofiler_collate

Tags: tuberculosis mycobacterium drug-resistance collate summary run-scope

Collate TB-Profiler results from multiple samples.

Uses TBProfiler to aggregate profiling results from multiple samples into summary tables and files suitable for phylogenetic visualization.

Inputs

record (
meta: Record,
json: Set<Path>
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
jsonSet<Path>List of TB-Profiler JSON output files

Outputs

record (
meta: Record,
csv: Path,
variants_csv: Path,
variants_txt: Path,
itol: Set<Path?>,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
csvPathMain collated results in CSV format
variants_csvPathCollated variants in CSV format
variants_txtPathCollated variants in text format
itolSet<Path?>iTOL formatted files for visualization
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 Collate Parameters

ParameterTypeDefaultDescription
--tbprofiler_itolbooleanfalseGenerate itol config files
--tbprofiler_fullbooleanfalseOutput mutations in main result file
--tbprofiler_all_variantsbooleanfalseOutput all variants in variant matrix
--tbprofiler_mark_missingbooleanfalseAn asterisk will be used to mark predictions which are affected by missing data at a drug resistance position

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_COLLATE:
- tb-profiler: 6.7.0