Skip to main content

spatyper

Tags: staphylococcus-aureus spa-typing protein-a mrsa sample-scope

Predict spa types of Staphylococcus aureus from genome assemblies.

This subworkflow uses spaTyper to predict the spa types of Staphylococcus aureus strains from assembled genomes based on the polymorphic X region of the protein A gene (spa). It processes each sample individually and aggregates the results into a single consolidated report.

Take

assembly: Channel<Record>
FieldDescription
metaGroovy Record containing sample information
assemblyAssembled contigs in FASTA format
repeats: Path?
repeat_order: Path?
NameTypeDescription
repeatsPath?Optional custom repeats database for spa typing
repeat_orderPath?Optional custom repeat order file for spa typing

Emit

Published

The sample_outputs and run_outputs emissions are aggregates of output files that will be published in the entry workflow.

sample_outputs

OutputDescription
tsvspa typing results in TSV format

run_outputs

OutputDescription
csvAggregated results in CSV format

Module Composition

This subworkflow calls the following modules:

  • csvtk_concat - Concatenate multiple CSV or TSV files into a single table.
  • spatyper - Finding spa types in Staphylococcus aureus.

Used By

This subworkflow is used by the following workflows:

  • spatyper - spa typing of Staphylococcus aureus assemblies.

Citations

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

Source

View source on GitHub