Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ChIP-seq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IGR-lab
ChIP-seq
Commits
746bed15
Commit
746bed15
authored
4 years ago
by
Laura Cook
Browse files
Options
Downloads
Patches
Plain Diff
update
parent
2afb49d1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dunnart/Snakefile
+6
-9
6 additions, 9 deletions
dunnart/Snakefile
mouse/Snakefile
+322
-264
322 additions, 264 deletions
mouse/Snakefile
with
328 additions
and
273 deletions
dunnart/Snakefile
+
6
−
9
View file @
746bed15
...
...
@@ -6,12 +6,11 @@
# 3. Filtering
# 4. Alignment QC & Library Complexity
# 5. deepTools
# 6.
phantomPeakQuals
# 6.
cross correlation (SPP)
# 7. Call narrow peaks (MACS2)
# 8. Peak QC
# 9. Create consensus peaksets
# 10. Annotate peaks relative to gene features (HOMER)
# 11. Present QC for raw read, alignment, peak-calling in MultiQC
# 10. Present QC for raw read, alignment, peak-calling in MultiQC
configfile: "envs/config.yaml"
...
...
@@ -82,7 +81,6 @@ rule all:
"results/qc/bamPEFragmentSize_rawcounts.tab",
expand("results/bowtie2/{sample}_R1_trimmed_q30.bam", sample=all_samples),
expand("logs/{sample}_filt_15Mreads.SE.spp.log", sample=all_samples),
# expand("results/qc/{sample}_readlength.txt", sample=all_samples),
expand("results/qc/{sample}_filt_15Mreads.SE.cc.qc", sample=all_samples),
expand("results/qc/{sample}_filt_15Mreads.SE.cc.plot.pdf", sample=all_samples),
expand("results/macs2/{case}_vs_{control}_macs2_peaks.narrowPeak", zip, case=IPS, control=INPUTS),
...
...
@@ -460,8 +458,7 @@ rule subsample_aligned_reads:
shell("zcat {input} > {output.tmp}")
# Determine exclusion range for fragment length estimation.
## From bamPEFragmentSize (deepTools) average fragment length is ~220bp
## See bamPEFragmentSize.histogram.png
# Use a fixed lowerbound at -500.
# Upperbound E
#EXCLUSION_RANGE_MAX is
...
...
@@ -479,7 +476,7 @@ rule cross_correlation_SSP:
"logs/{sample}_filt_15Mreads.SE.spp.log"
params:
EXCLUSION_RANGE_MIN=-500,
EXCLUSION_RANGE_MAX=
23
0
EXCLUSION_RANGE_MAX=
6
0
shell:
"Rscript scripts/run_spp.R -c={input} -savp={output.CC_PLOT_FILE} -out={output.CC_SCORES_FILE} -x={params.EXCLUSION_RANGE_MIN}:{params.EXCLUSION_RANGE_MAX} 2> {log}"
...
...
@@ -509,10 +506,10 @@ rule call_peaks_macs2:
name = "{case}_vs_{control}_macs2",
shell:
" macs2 callpeak -f BAMPE -t {input.case} \
-c {input.control} \
-c {input.control}
--keep-dup all
\
--outdir results/macs2/ \
-n {params.name} \
-g 2740338543
-B
2> {log} "
-g 2740338543 2> {log} "
# ===============================================================================================
# 8. Peak QC
...
...
This diff is collapsed.
Click to expand it.
mouse/Snakefile
+
322
−
264
View file @
746bed15
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment