CUT&RUN

epigenetics-cut_and_run/main-workflow

Author(s)
Florian Heyl , Pavankumar Videm
version Version
4
last_modification Last updated
Sep 28, 2026
license License
MIT
galaxy-tags Tags
epigenetics
cut&run

Features
Tutorial
hands_on CUT&RUN data analysis

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00064
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 Collection\nInput Dataset Collection"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nGATA1 ChIP-Seq peaks"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Parameter\nI certify that I am not using this workflow for commercial purposes"];
  style 2 fill:#ded,stroke:#393,stroke-width:4px;
  3["Trim Galore!"];
  0 -->|output| 3;
  4["Flatten collection"];
  0 -->|output| 4;
  5["Bowtie2"];
  3 -->|trimmed_reads_paired_collection| 5;
  6["Falco"];
  4 -->|output| 6;
  7["plotFingerprint"];
  5 -->|output| 7;
  8["Filter BAM"];
  5 -->|output| 8;
  9["MultiQC"];
  6 -->|text_file| 9;
  10["MarkDuplicates"];
  8 -->|out_file1| 10;
  11["Select"];
  10 -->|metrics_file| 11;
  12["Falco"];
  10 -->|outFile| 12;
  13["bedtools BAM to BED"];
  10 -->|outFile| 13;
  14["Paired-end histogram"];
  10 -->|outFile| 14;
  15["Transpose"];
  11 -->|out_file1| 15;
  16["MultiQC"];
  12 -->|text_file| 16;
  17["MACS2 callpeak"];
  13 -->|output| 17;
  18["Extract dataset"];
  17 -->|output_narrowpeaks| 18;
  19["Extract dataset"];
  17 -->|output_narrowpeaks| 19;
  20["Wig/BedGraph-to-bigWig"];
  17 -->|output_treat_pileup| 20;
  21["bedtools Intersect intervals"];
  18 -->|output| 21;
  19 -->|output| 21;
  22["bedtools Intersect intervals"];
  21 -->|output| 22;
  1 -->|output| 22;
  23["Extract Genomic DNA"];
  22 -->|output| 23;
  24["Cut"];
  22 -->|output| 24;
  25["MEME-ChIP"];
  23 -->|output| 25;
  2 -->|output| 25;
  866ccdf7-bdb9-471d-b68d-4ef3a557ee71["Output\nMEME-ChIP html output"];
  25 --> 866ccdf7-bdb9-471d-b68d-4ef3a557ee71;
  style 866ccdf7-bdb9-471d-b68d-4ef3a557ee71 stroke:#2c3143,stroke-width:4px;
  26["computeMatrix"];
  20 -->|out_file1| 26;
  24 -->|out_file1| 26;
  27["plotHeatmap"];
  26 -->|outFileName| 27;
  75ea7005-fe2d-4aac-b587-60281adc6ca3["Output\nheatmap"];
  27 --> 75ea7005-fe2d-4aac-b587-60281adc6ca3;
  style 75ea7005-fe2d-4aac-b587-60281adc6ca3 stroke:#2c3143,stroke-width:4px;

Inputs

Input Label
Input dataset collection Input Dataset Collection
Input dataset GATA1 ChIP-Seq peaks
Input parameter I certify that I am not using this workflow for commercial purposes

Outputs

From Output Label
toolshed.g2.bx.psu.edu/repos/iuc/meme_chip/meme_chip/4.11.2+galaxy1 MEME-ChIP
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_heatmap/deeptools_plot_heatmap/4.0.0+galaxy1 plotHeatmap

Tools

Tool Links
Cut1
Grep1
__EXTRACT_DATASET__
__FLATTEN__
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_compute_matrix/deeptools_compute_matrix/4.0.0+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_fingerprint/deeptools_plot_fingerprint/4.0.0+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_heatmap/deeptools_plot_heatmap/4.0.0+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/trim_galore/trim_galore/0.6.10+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/devteam/bamtools_filter/bamFilter/2.5.3+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/devteam/bowtie2/bowtie2/2.5.5+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/devteam/picard/picard_MarkDuplicates/3.1.1.0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/bedtools/bedtools_bamtobed/2.31.1+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/bedtools/bedtools_intersectbed/2.31.1+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/datamash_transpose/datamash_transpose/1.9+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/extract_genomic_dna/Extract genomic DNA 1/3.0.3+galaxy3 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/falco/falco/1.3.2+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/macs2/macs2_callpeak/2.2.9.1+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/meme_chip/meme_chip/4.11.2+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/multiqc/multiqc/1.35+galaxy4 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/pe_histogram/pe_histogram/1.0.2 View in ToolShed
wig_to_bigWig

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
9 e61d8c78e 2026-09-25 10:11:42 update the workflow and add a new answer history
8 460a82958 2026-09-24 20:20:00 update the workflow
7 547d61c2c 2026-09-21 14:25:35 Update topics/epigenetics/tutorials/cut_and_run/workflows/main_workflow.ga
6 2b068d278 2026-09-21 13:28:40 update the workflow README
5 2c22129cd 2026-09-21 12:55:19 Update CUT-N-RUN workflow and tests
4 2a9b5f28b 2025-03-19 13:46:22 revert license and add commercial usage param
3 af810d8be 2025-03-19 09:17:11 add key history and update the workflow
2 124988023 2024-12-06 16:30:03 update workflow and add tests
1 c32dabaf3 2021-07-26 11:12:40 Adding cut and run

For Admins

Installing the workflow tools

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