A Snakemake workflow for ChIP-seq reads alignments with
bwa
,
samtools
and
deeptools
.
Code Snippets
16 17 | shell: "bamCoverage -b {input.bam} -o {output} -of bigwig -bs {params.binsize} -p {threads} --exactScaling --normalizeUsing {params.normalization} " |
11 12 | shell: "bwa index -a {params.construction_algorithm} {input} 2> {log}" |
31 32 33 34 35 | shell: "bwa mem {params.custom} " "-t {threads} " "{input.genome} {input.fastq} " "> {output} 2> {log}" |
16 17 | shell: "fastqc -q -t {threads} --outdir {params.dir} {input.fastq}" |
27 28 | shell: "rename 's/_fastqc.zip/_raw_fastqc.zip/' {params.dirraw}/*_fastqc.zip" |
44 | shell: "fastqc -q -t {threads} --outdir {params.dir} {input.bam}" |
62 63 64 65 | shell: "export LC_ALL=C.UTF-8 && " "export LANG=C.UTF-8 && " "multiqc {params.title} --config {params.conf} --title {params.title} -o {params.output} --filename {params.filename}" |
7 8 | shell: "samtools faidx -o {output} {input}" |
25 26 27 28 29 30 31 32 | shell: "samtools view " "{params.custom} -@ {threads} " "-b -S " "-q {params.quality} " "-t {input.genome} " "-o {output} " "{input.sam}" |
47 48 49 | shell: "samtools sort -@ {threads} -n -o {output} " "{input.bam} " |
62 63 64 65 | shell: "samtools fixmate -m -@ {threads} " "{input.bam} " "{output}" |
78 79 80 81 | shell: "samtools sort -@ {threads} " "-o {output} " "{input.bam}" |
95 96 97 98 | shell: "samtools markdup -@ {threads} -r " "{input.bam} " "{output}" |
111 112 | shell: "samtools index -@ {threads} {input} {output}" |
126 127 | shell: "samtools stats {input.bam} > {output}" |
140 141 | shell: "samtools idxstats {input.bam} > {output}" |
154 155 | shell: "samtools flagstat {input.bam} > {output}" |
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/CBIbigA/ChIP-seq
Name:
chip-seq
Version:
2
Other Versions:
Downloaded:
0
Copyright:
Public Domain
License:
MIT License
Keywords:
- 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...