CUT&RUN

epigenetics-cut_and_run/main-workflow

Author(s)
Florian Heyl , Pavankumar Videm
version Version
3
last_modification Last updated
Mar 19, 2025
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 (Dev) 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["computeMatrix"];
  20 -->|out_file1| 24;
  22 -->|output| 24;
  25["MEME-ChIP"];
  23 -->|output| 25;
  2 -->|output| 25;
  fbd5951d-3055-40c3-a14f-340a54da4924["Output\noutput"];
  25 --> fbd5951d-3055-40c3-a14f-340a54da4924;
  style fbd5951d-3055-40c3-a14f-340a54da4924 stroke:#2c3143,stroke-width:4px;
  26["plotHeatmap"];
  24 -->|outFileName| 26;
  7f06a448-0145-4e07-890b-6409de321123["Output\noutFileName"];
  26 --> 7f06a448-0145-4e07-890b-6409de321123;
  style 7f06a448-0145-4e07-890b-6409de321123 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/3.5.4+galaxy0 plotHeatmap

Tools

Tool Links
Grep1
__EXTRACT_DATASET__
__FLATTEN__
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_compute_matrix/deeptools_compute_matrix/3.5.4+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_fingerprint/deeptools_plot_fingerprint/3.5.4+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_heatmap/deeptools_plot_heatmap/3.5.4+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/bgruening/trim_galore/trim_galore/0.6.7+galaxy1 View in ToolShed
toolshed.g2.bx.psu.edu/repos/devteam/bamtools_filter/bamFilter/2.5.2+galaxy2 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/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.8+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.2.4+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.27+galaxy3 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
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