Snakemake Workflow for ATAC-seq Data Re-analysis on a Compute Cluster
Help improve this workflow!
This workflow has been published but could be further improved with some additional meta data:- Keyword(s) in categories input, output, operation
You can help improve this workflow by suggesting the addition or removal of keywords, suggest changes and report issues, or request to become a maintainer of the Workflow .
TP Snakemake The project is done in my master degree for the Parallel Calculations module. The objective is to re-analyse ATAC-seq data with a compute cluster. The analysis was on a B3 mouse cell line. The project is to make a workflow for the ATAC-seq
Code Snippets
51 52 53 54 55 | shell: """ mkdir -p results/fastqc_init fastqc {input} -o "results/fastqc_init" -t {threads} 2>{log} """ |
73 74 75 76 77 78 79 80 81 82 83 84 85 | shell: """ mkdir -p results/trim java -jar /opt/apps/trimmomatic-0.38/trimmomatic-0.38.jar PE -threads {threads} \ -trimlog results/trim/trim.log -summary results/trim/stats \ {input.fwd} {input.rev} \ {output.fwd_paired} {output.fwd_unpaired} {output.rev_paired} {output.rev_unpaired} \ ILLUMINACLIP:data/data/NexteraPE-PE.fa:2:30:10:2:keepBothReads \ LEADING:3 \ TRAILING:3 \ SLIDINGWINDOW:4:15 \ MINLEN:33 """ |
100 101 102 103 104 | shell: """ mkdir -p results/fastqc_post fastqc {input} -o "results/fastqc_post" -t {threads} 2>{log} """ |
122 123 124 125 126 127 128 129 130 | shell: """ mkdir -p results/bowtie2 bowtie2 --very-sensitive -p 8 -k 10 -x {databank} \ -1 {input.fwd} -2 {input.rev} \ | samtools view -q 2 -bS - | samtools sort - -o {output.bam} samtools index -b {output.bam} samtools idxstats {output.bam} > {log} """ |
147 148 149 150 151 152 153 | shell: """ mkdir -p results/picard java -jar /opt/apps/picard-2.18.25/picard.jar MarkDuplicates I="{input}" O={output.bam} M={output.txt} REMOVE_DUPLICATES=true samtools index -b {output.bam} samtools idxstats {output.bam} > {log} """ |
167 168 169 170 171 | shell: """ mkdir -p results/deeptools multiBamSummary bins --bamfiles {input} -o {output} """ |
190 191 192 193 194 195 | shell: """ plotCorrelation -in {input.npz} -p heatmap -c pearson -o {output.heatmap} --removeOutliers bamCoverage -b {input.bam} -o {output.bedgraph} -of bedgraph bamPEFragmentSize -b {input.all} --samplesLabel 0h_R1 0h_R2 0h_R3 24h_R1 24h_R2 24h_R3 --table {output.tsv} -o {output.hist} """ |
210 211 212 213 214 | shell: """ mkdir -p results/macs2 macs2 callpeak -t {input} -f BAM -n {output.shortmane} --outdir {output.dir} """ |
235 236 237 238 239 240 241 242 243 244 245 | shell: """ mkdir -p results/deeptools cat {input.zero} > {output.Peakzero} cat {input.vingtquatre} > {output.Peakvingtquatre} sort -k1,1 -k2,2n {output.Peakzero} | bedtools merge -i - > {output.bedzero} sort -k1,1 -k2,2n {output.Peakvingtquatre} | bedtools merge -i - > {output.bedvingtquatre} bedtools intersect -wa -a {input.zero} -b {input.vingtquatre} > {output.common} bedtools intersect -wa -v -a {input.zero} -b {input.vingtquatre} > {output.uniquezero} bedtools intersect -wa -v -a {input.vingtquatre} -b {input.zero} > {output.uniquevingtquatre} """ |
Support
Do you know this workflow well? If so, you can
request seller status , and start supporting this workflow.
Created: 1yr ago
Updated: 1yr ago
Maitainers:
public
URL:
https://github.com/arzonon/TP_snakemake
Name:
tp_snakemake
Version:
1
Downloaded:
0
Copyright:
Public Domain
License:
None
- Future updates
Related Workflows

ENCODE pipeline for histone marks developed for the psychENCODE project
psychip pipeline is an improved version of the ENCODE pipeline for histone marks developed for the psychENCODE project.
The o...

Near-real time tracking of SARS-CoV-2 in Connecticut
Repository containing scripts to perform near-real time tracking of SARS-CoV-2 in Connecticut using genomic data. This pipeli...

snakemake workflow to run cellranger on a given bucket using gke.
A Snakemake workflow for running cellranger on a given bucket using Google Kubernetes Engine. The usage of this workflow ...

ATLAS - Three commands to start analyzing your metagenome data
Metagenome-atlas is a easy-to-use metagenomic pipeline based on snakemake. It handles all steps from QC, Assembly, Binning, t...
raw sequence reads
Genome assembly
Annotation track
checkm2
gunc
prodigal
snakemake-wrapper-utils
MEGAHIT
Atlas
BBMap
Biopython
BioRuby
Bwa-mem2
cd-hit
CheckM
DAS
Diamond
eggNOG-mapper v2
MetaBAT 2
Minimap2
MMseqs
MultiQC
Pandas
Picard
pyfastx
SAMtools
SemiBin
Snakemake
SPAdes
SqueezeMeta
TADpole
VAMB
CONCOCT
ete3
gtdbtk
h5py
networkx
numpy
plotly
psutil
utils
metagenomics

RNA-seq workflow using STAR and DESeq2
This workflow performs a differential gene expression analysis with STAR and Deseq2. The usage of this workflow is described ...

This Snakemake pipeline implements the GATK best-practices workflow
This Snakemake pipeline implements the GATK best-practices workflow for calling small germline variants. The usage of thi...