TB variants tutorial main workflow

variant-analysis-tb-variant-analysis/tb-variants-tutorial-main-workflow

Author(s)
Tristan Reynolds
version Version
1
last_modification Last updated
Jan 6, 2026
license License
CC-BY-4.0
galaxy-tags Tags
variant-analysis

Features
Tutorial
hands_on M. tuberculosis Variant Analysis
workflow Other workflows associated with this material
Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:
RO-Crate logo with flask Download Workflow RO-Crate
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nMycobacterium_tuberculosis_ancestral_reference.gbk"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nMycobacterium_tuberculosis_h37rv.ASM19595v2.45.chromosome.Chromosome.gff3"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Collection\nInput Dataset Collection"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["seqret"];
  0 -->|output| 3;
  4["fastp"];
  2 -->|output| 4;
  5["Flatten collection"];
  2 -->|output| 5;
  6["snippy"];
  4 -->|output_paired_coll| 6;
  0 -->|output| 6;
  7["Kraken2"];
  4 -->|output_paired_coll| 7;
  8["FastQC"];
  5 -->|output| 8;
  9["TB Variant Filter"];
  6 -->|snpvcf| 9;
  10["TB-Profiler Profile"];
  6 -->|snpsbam| 10;
  11["MultiQC"];
  8 -->|text_file| 11;
  12["JBrowse"];
  3 -->|out_file1| 12;
  6 -->|snpsbam| 12;
  9 -->|output1| 12;
  1 -->|output| 12;
  13["Text transformation"];
  9 -->|output1| 13;
  14["TB Variant Report"];
  13 -->|output| 14;
  10 -->|results_json| 14;

Inputs

Input Label
Input dataset Mycobacterium_tuberculosis_ancestral_reference.gbk
Input dataset Mycobacterium_tuberculosis_h37rv.ASM19595v2.45.chromosome.Chromosome.gff3
Input dataset collection Input Dataset Collection

Outputs

From Output Label

Tools

Tool Links
__FLATTEN__
toolshed.g2.bx.psu.edu/repos/bgruening/text_processing/tp_sed_tool/9.5+galaxy2
toolshed.g2.bx.psu.edu/repos/devteam/emboss_5/EMBOSS: seqret84/5.0.0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/devteam/fastqc/fastqc/0.74+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/fastp/fastp/1.0.1+galaxy3
toolshed.g2.bx.psu.edu/repos/iuc/jbrowse/jbrowse/1.16.11+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/kraken2/kraken2/2.17.1+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/multiqc/multiqc/1.27+galaxy4
toolshed.g2.bx.psu.edu/repos/iuc/snippy/snippy/4.6.0+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/tb_variant_filter/tb_variant_filter/0.4.0+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/tbprofiler/tb_profiler_profile/6.6.4+galaxy0
toolshed.g2.bx.psu.edu/repos/iuc/tbvcfreport/tbvcfreport/1.0.1+galaxy0 View in ToolShed

To use these workflows in Galaxy you can either click the links to download the workflows, or you can right-click and copy the link to the workflow which can be used in the Galaxy form to import workflows.

Importing into Galaxy

Below are the instructions for importing these workflows directly into your Galaxy server of choice to start using them!
Hands On: Importing a workflow
  1. Click on galaxy-workflows-activity Workflows in the Galaxy activity bar (on the left side of the screen, or in the top menu bar of older Galaxy instances). You will see a list of all your workflows
  2. Click on galaxy-upload Import at the top-right of the screen
  3. Provide your workflow
    • Option 1: Paste the URL of the workflow into the box labelled “Archived Workflow URL”
    • Option 2: Upload the workflow file in the box labelled “Archived Workflow File”
  4. Click the Import workflow button

Below is a short video demonstrating how to import a workflow from GitHub using this procedure:

Video: Importing a workflow from URL

Version History

Version Commit Time Comments
2 6bae9bace 2025-12-23 02:34:16 Add workflow tag
1 15d376f88 2025-12-23 01:50:43 Update and add new workflows and workflow tests

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/variant-analysis/tutorials/tb-variant-analysis/workflows/TB-variants-tutorial-main-workflow.ga -O workflow.ga
workflow-to-tools -w workflow.ga -o tools.yaml
shed-tools install -g GALAXY -a API_KEY -t tools.yaml
workflow-install -g GALAXY -a API_KEY -w workflow.ga --publish-workflows