NGS_tutorial

introduction-galaxy-intro-ngs-data-managment/ngs-intro-workflow

Author(s)

version Version
2
last_modification Last updated
Feb 11, 2021
license License
None Specified, defaults to CC-BY-4.0
galaxy-tags Tags
introductions

Features

Tutorial
hands_on NGS data logistics

Workflow Testing
Tests: ❌
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00110
RO-Crate logo with flask Download Workflow RO-Crate Workflowhub cloud with gears logo View on WorkflowHub
Launch in Tutorial Mode question
galaxy-download Download
flowchart TD
  0["ℹ️ Input Dataset\nAccessions"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nGenome"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["Faster Download and Extract Reads in FASTQ"];
  0 -->|output| 2;
  3["fastp"];
  2 -->|list_paired| 3;
  4["Map with BWA-MEM"];
  3 -->|output_paired_coll| 4;
  1 -->|output| 4;
  5["Samtools view"];
  4 -->|bam_output| 5;
  6["MarkDuplicates"];
  5 -->|outputsam| 6;
  7["Samtools stats"];
  6 -->|outFile| 7;
  8["Realign reads"];
  6 -->|outFile| 8;
  1 -->|output| 8;
  9["MultiQC"];
  3 -->|report_json| 9;
  6 -->|metrics_file| 9;
  7 -->|output| 9;
  10["Insert indel qualities"];
  8 -->|realigned| 10;
  1 -->|output| 10;
  11["Call variants"];
  10 -->|output| 11;
  1 -->|output| 11;
  12["SnpEff eff:"];
  11 -->|variants| 12;
  13["SnpSift Extract Fields"];
  12 -->|snpeff_output| 13;
  14["Collapse Collection"];
  13 -->|output| 14;

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
  • Click on Workflow on the top menu bar of Galaxy. You will see a list of all your workflows.
  • Click on galaxy-upload Import at the top-right of the screen
  • 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”
  • 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 ca2265825 2021-02-11 19:01:41 workflow changes
1 211e2c843 2021-02-11 18:51:43 Updated NGS tutorial for GTN Smörgåsbord

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/introduction/tutorials/galaxy-intro-ngs-data-managment/workflows/ngs_intro_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