ATAC-seq GTN

epigenetics-atac-seq/main-workflow

Author(s)
Tristan Reynolds
version Version
12
last_modification Last updated
Sep 28, 2026
license License
CC-BY-4.0
galaxy-tags Tags
epigenetics

Features
Tutorial
hands_on ATAC-Seq data analysis

Workflow Testing
Tests: ✅
Results: Not yet automated
FAIRness purl PURL
https://gxy.io/GTN:W00063
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 Paired End Collection"];
  style 0 stroke:#2c3143,stroke-width:4px;
  1["ℹ️ Input Dataset\nctcf peaks"];
  style 1 stroke:#2c3143,stroke-width:4px;
  2["ℹ️ Input Dataset\nbed file with genes"];
  style 2 stroke:#2c3143,stroke-width:4px;
  3["ATAC remove nextera adapters with cutadapt"];
  0 -->|output| 3;
  3c22eaf4-3d1a-4eab-880f-680d38df77c3["Output\nreport"];
  3 --> 3c22eaf4-3d1a-4eab-880f-680d38df77c3;
  style 3c22eaf4-3d1a-4eab-880f-680d38df77c3 stroke:#2c3143,stroke-width:4px;
  4["Flatten collection"];
  0 -->|output| 4;
  5["Filter"];
  1 -->|output| 5;
  6["Bowtie2"];
  3 -->|out_pairs| 6;
  25c7e8d9-0d98-46ce-803f-9c6b049c20f6["Output\nmapping_stats"];
  6 --> 25c7e8d9-0d98-46ce-803f-9c6b049c20f6;
  style 25c7e8d9-0d98-46ce-803f-9c6b049c20f6 stroke:#2c3143,stroke-width:4px;
  7["Flatten collection"];
  3 -->|out_pairs| 7;
  8["Falco"];
  4 -->|output| 8;
  9["bedtools Intersect intervals"];
  5 -->|out_file1| 9;
  2 -->|output| 9;
  04a45b27-0a15-44be-a272-b169193d1fc0["Output\nCTCF Peaks on chr22"];
  9 --> 04a45b27-0a15-44be-a272-b169193d1fc0;
  style 04a45b27-0a15-44be-a272-b169193d1fc0 stroke:#2c3143,stroke-width:4px;
  10["Filter BAM ATAC"];
  6 -->|output| 10;
  11["Falco"];
  7 -->|output| 11;
  12["MarkDuplicates"];
  10 -->|out_file1| 12;
  13["Paired-end histogram"];
  12 -->|outFile| 13;
  14["bedtools BAM to BED"];
  12 -->|outFile| 14;
  15["MACS2 callpeak"];
  14 -->|output| 15;
  16["Wig/BedGraph-to-bigWig"];
  15 -->|output_treat_pileup| 16;
  17["pyGenomeTracks"];
  16 -->|out_file1| 17;
  15 -->|output_narrowpeaks| 17;
  2 -->|output| 17;
  1 -->|output| 17;
  203b94d8-1fe6-4a0d-b3ba-81ef40a4f5a8["Output\npyGenomeTracks Plot"];
  17 --> 203b94d8-1fe6-4a0d-b3ba-81ef40a4f5a8;
  style 203b94d8-1fe6-4a0d-b3ba-81ef40a4f5a8 stroke:#2c3143,stroke-width:4px;
  18["computeMatrix"];
  16 -->|out_file1| 18;
  2 -->|output| 18;
  19["computeMatrix"];
  16 -->|out_file1| 19;
  9 -->|output| 19;
  20["plotHeatmap"];
  18 -->|outFileName| 20;
  4188da56-6411-44dc-b962-d726b6d74c2b["Output\nheatmap at chr22 TSS"];
  20 --> 4188da56-6411-44dc-b962-d726b6d74c2b;
  style 4188da56-6411-44dc-b962-d726b6d74c2b stroke:#2c3143,stroke-width:4px;
  21["plotHeatmap"];
  19 -->|outFileName| 21;
  cf438abf-d34e-499a-adee-edb6dc22d432["Output\nheatmap at CTCF peaks"];
  21 --> cf438abf-d34e-499a-adee-edb6dc22d432;
  style cf438abf-d34e-499a-adee-edb6dc22d432 stroke:#2c3143,stroke-width:4px;

Inputs

Input Label
Input dataset collection Input Paired End Collection
Input dataset ctcf peaks
Input dataset bed file with genes

Outputs

From Output Label
toolshed.g2.bx.psu.edu/repos/lparsons/cutadapt/cutadapt/5.2+galaxy2 Cutadapt ATAC remove nextera adapters with cutadapt
toolshed.g2.bx.psu.edu/repos/devteam/bowtie2/bowtie2/2.5.5+galaxy0 Bowtie2
toolshed.g2.bx.psu.edu/repos/iuc/bedtools/bedtools_intersectbed/2.31.1+galaxy0 bedtools Intersect intervals
toolshed.g2.bx.psu.edu/repos/iuc/pygenometracks/pygenomeTracks/3.9+galaxy0 pyGenomeTracks
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_heatmap/deeptools_plot_heatmap/4.0.0+galaxy1 plotHeatmap
toolshed.g2.bx.psu.edu/repos/bgruening/deeptools_plot_heatmap/deeptools_plot_heatmap/4.0.0+galaxy1 plotHeatmap

Tools

Tool Links
Filter1
__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_heatmap/deeptools_plot_heatmap/4.0.0+galaxy1 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/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/pe_histogram/pe_histogram/1.0.2 View in ToolShed
toolshed.g2.bx.psu.edu/repos/iuc/pygenometracks/pygenomeTracks/3.9+galaxy0 View in ToolShed
toolshed.g2.bx.psu.edu/repos/lparsons/cutadapt/cutadapt/5.2+galaxy2 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
23 b7deecf66 2026-09-25 08:57:46 Update all the tools, workflow and tests
22 284eeca39 2026-09-25 05:30:49 Update the workflow with deepTools4
21 26d2a0980 2025-12-11 04:21:25 Update workflow and workflow tests
20 96d212779 2021-04-29 16:26:19 update deeptools tools + parameters
19 ba3bf335e 2021-04-12 14:41:50 use pygenometracks 3.6
18 af99da9c0 2021-04-02 16:42:29 update the workflow
17 d5cd0ab56 2021-03-30 15:33:26 update tutorial
16 d4aee8b0d 2020-06-16 09:02:06 change bedtools to allow to sort encodePeak
15 c1cf1143c 2020-06-11 07:22:17 macs2 to MACS2 in figures and workflow
14 69d703ece 2020-06-11 06:10:41 add tag and annotation
13 83f254a2b 2020-06-10 21:28:18 update new version of pgt
12 667ff3de9 2020-01-22 10:59:29 annotation
11 eb4d724e0 2020-01-15 10:41:35 Workflow renaming
10 05fb8eedb 2019-12-20 09:55:47 New workflows unflattened
9 2ebad4e59 2019-12-20 09:53:24 rebase
8 bc9c7ce8a 2019-12-19 15:51:45 changed awk step
7 1bef60c2d 2019-12-19 15:17:31 updated workflow
6 faf6d298a 2019-12-12 13:02:33 unflatten workflows
5 397de5ef9 2019-08-27 13:33:45 modified version of genrich and pygenometracks
4 93027360b 2019-08-15 08:08:49 Changes to workflow atac
3 b2bcfc0d7 2019-07-06 12:40:48 Add visualisation step to workflow (pygenometracks)
2 7dec9b919 2019-07-05 14:15:22 Updates to workflow
1 bb008c8c9 2019-07-05 13:24:04 First draft of ATAC-seq tut from CoFest (WIP)

For Admins

Installing the workflow tools

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