Skip to main content

genotyphi_parse

Tags: bacteria salmonella typhi genotyping mykrobe parser sample-scope

Parse Mykrobe results to genotype Salmonella Typhi.

Uses scripts from GenoTyphi to parse the JSON output from Mykrobe. It assigns isolates to specific S. Typhi genotypes (e.g., 4.3.1) based on the presence of specific SNPs defined in the GenoTyphi scheme.

Inputs​

record (
meta: Record,
json: Path
)
FieldTypeDescription
metaRecordGroovy Record containing sample information
jsonPathThe JSON output file generated by Mykrobe

Outputs​

record (
meta: Record,
tsv: Path,
results: Set<Path>,
logs: Set<Path?>,
nf_logs: Set<Path>,
versions: Set<Path>
)
FieldTypeDescription
metaRecordSample information record
tsvPathTab-delimited report containing the assigned GenoTyphi genotype
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​

GenoTyphi Parameters​

ParameterTypeDefaultDescription
--genotyphi_kmerinteger21K-mer length
--genotyphi_min_depthinteger1Minimum depth
--genotyphi_modelstringkmer_countGenotype model used. (choices: kmer_count, median_depth)
--genotyphi_report_all_callsbooleanfalseReport all calls
--genotyphi_mykrobe_optsstring-Extra Mykrobe options in quotes

Used By​

Subworkflows​

  • genotyphi - Assign genotypes to Salmonella Typhi genomes.

Workflows​

  • genotyphi - Salmonella Typhi genotyping with lineage assignment.

Citations​

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

Source​

View source on GitHub

Version​

GENOTYPHI_PARSE:
- mykrobe: 0.13.0