Hi-C Analysis with Galaxy Tutorial Workflow

epigenetics-hicexplorer/hi-c-analysis-with-galaxy-tutorial-workflow

Author(s)
Tristan Reynolds
version Version
1
last_modification Last updated
Aug 11, 2025
license License
CC-BY-4.0
galaxy-tags Tags
epigenetics

Features
Tutorial
hands_on Hi-C analysis of Drosophila melanogaster cells using HiCExplorer

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00347
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\nHiC_S2_1p_10min_lowU_R1.fastq.gz"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nHiC_S2_1p_10min_lowU_R2.fastq.gz"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Dataset\ndm3_genome.fasta"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["ℹ️ Input Dataset\nGM12878_25kb_cooler_coarsen.cool"];
  style 3 stroke:#2c3143,stroke-width:4px;
  4["ℹ️ Input Dataset\ncorrected_contact_matrix_dm3_large.h5"];
  style 4 stroke:#2c3143,stroke-width:4px;
  5["ℹ️ Input Dataset\nH3K36me3.bw"];
  style 5 stroke:#2c3143,stroke-width:4px;
  6["ℹ️ Input Dataset\nH3K27me3.bw"];
  style 6 stroke:#2c3143,stroke-width:4px;
  7["ℹ️ Input Dataset\nH4K16ac.bw"];
  style 7 stroke:#2c3143,stroke-width:4px;
  8["ℹ️ Input Dataset\ndm3_genes.bed"];
  style 8 stroke:#2c3143,stroke-width:4px;
  9["Bowtie2"];
  0 -->|output| 9;
  10["Bowtie2"];
  1 -->|output| 10;
  11["hicFindRestSite"];
  2 -->|output| 11;
  12["hicInfo"];
  3 -->|output| 12;
  13["hicDetectLoops"];
  3 -->|output| 13;
  14["hicInfo"];
  4 -->|output| 14;
  15["hicPCA"];
  4 -->|output| 15;
  16["hicFindTADs"];
  4 -->|output| 16;
  17["hicBuildMatrix"];
  11 -->|restrictionSites| 17;
  9 -->|output| 17;
  10 -->|output| 17;
  18["hicPlotMatrix"];
  13 -->|output_loops| 18;
  3 -->|output| 18;
  19["hicPlotMatrix"];
  15 -->|pearson_outfile| 19;
  15 -->|pca1| 19;
  20["hicPlotMatrix"];
  15 -->|pearson_outfile| 20;
  15 -->|pca2| 20;
  21["pyGenomeTracks"];
  16 -->|domains| 21;
  4 -->|output| 21;
  16 -->|tad_score| 21;
  15 -->|pca1| 21;
  15 -->|pca2| 21;
  5 -->|output| 21;
  6 -->|output| 21;
  7 -->|output| 21;
  8 -->|output| 21;
  16 -->|domains| 21;
  22["hicCorrectMatrix"];
  17 -->|outFileName| 22;
  23["hicMergeMatrixBins"];
  17 -->|outFileName| 23;
  24["hicCorrectMatrix"];
  17 -->|outFileName| 24;
  25["hicPlotMatrix"];
  22 -->|outFileName| 25;
  26["hicPlotMatrix"];
  23 -->|outFileName| 26;

Inputs

Input Label
Input dataset HiC_S2_1p_10min_lowU_R1.fastq.gz
Input dataset HiC_S2_1p_10min_lowU_R2.fastq.gz
Input dataset dm3_genome.fasta
Input dataset GM12878_25kb_cooler_coarsen.cool
Input dataset corrected_contact_matrix_dm3_large.h5
Input dataset H3K36me3.bw
Input dataset H3K27me3.bw
Input dataset H4K16ac.bw
Input dataset dm3_genes.bed

Outputs

From Output Label

Tools

Tool Links
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicbuildmatrix/hicexplorer_hicbuildmatrix/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hiccorrectmatrix/hicexplorer_hiccorrectmatrix/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicdetectloops/hicexplorer_hicdetectloops/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicfindrestrictionsites/hicexplorer_hicfindrestrictionsites/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicfindtads/hicexplorer_hicfindtads/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicinfo/hicexplorer_hicinfo/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicmergematrixbins/hicexplorer_hicmergematrixbins/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicpca/hicexplorer_hicpca/3.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/hicexplorer_hicplotmatrix/hicexplorer_hicplotmatrix/3.7.6+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/devteam/bowtie2/bowtie2/2.5.3+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/pygenometracks/pygenomeTracks/3.8+galaxy2 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
1 d050739ea 2025-07-28 23:53:29 Updated and renamed tutorial workflow

For Admins

Installing the workflow tools

wget https://training.galaxyproject.org/training-material/topics/epigenetics/tutorials/hicexplorer/workflows/Hi-C_Analysis_with_Galaxy_Tutorial_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