ChIP-seq

public public 1yr ago Version: 2 0 bookmarks

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}"
ShowHide 12 more snippets with no or duplicated tags.

Login to post a comment if you would like to share your experience with this workflow.

Do you know this workflow well? If so, you can request seller status , and start supporting this workflow.

Free

Created: 1yr ago
Updated: 1yr ago
Maitainers: public
URL: https://github.com/CBIbigA/ChIP-seq
Name: chip-seq
Version: 2
Badge:
workflow icon

Insert copied code into your website to add a link to this workflow.

Other Versions:
Downloaded: 0
Copyright: Public Domain
License: MIT License
  • Future updates

Related Workflows

cellranger-snakemake-gke
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 ...