Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

Commit

Permalink
Merge pull request #376 from tovahmarkowitz/activeDev
Browse files Browse the repository at this point in the history
Pipeliner 4.0: ChIP-seq Changes
  • Loading branch information
skchronicles committed Nov 29, 2018
2 parents 4c6c5fb + 7666d42 commit 5953199
Show file tree
Hide file tree
Showing 13 changed files with 437 additions and 381 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
!.gitignore
**/*~
**/*.bak
**/*.DS_Store
Binary file removed Results-template/.DS_Store
Binary file not shown.
Binary file removed Results-template/Scripts/.DS_Store
Binary file not shown.
Binary file removed Rules/.DS_Store
Binary file not shown.
9 changes: 5 additions & 4 deletions Rules/ChIPseq.snakefile
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ rule MACS2_narrow:
rname='pl:MACS2_narrow:{group}:{name}',
gsize=config['project']['gsize'],
#Must use lambda function here (snakemake does not recogize wildcards.variablename in params section)
ctrl = lambda wildcards :join(bam_dir, config['project']['peaks']['inputs'][wildcards.name], '.sorted.Q5DD.bam'),
ctrl = lambda wildcards :join(bam_dir, str(config['project']['peaks']['inputs'][wildcards.name]) + '.sorted.Q5DD.bam'),
genome=config['project']['annotation'],

shell:
Expand All @@ -628,7 +628,7 @@ rule MACS2_broad:
rname='pl:MACS2_broad:{group}:{name}',
gsize=config['project']['gsize'],
#Must use lambda function here (snakemake does not recogize wildcards.variablename in params section)
ctrl = lambda wildcards :join(bam_dir, config['project']['peaks']['inputs'][wildcards.name], '.sorted.Q5DD.bam'),
ctrl = lambda wildcards :join(bam_dir, str(config['project']['peaks']['inputs'][wildcards.name]) + '.sorted.Q5DD.bam'),
genome=config['project']['annotation'],
shell:
"""
Expand All @@ -651,7 +651,7 @@ rule SICER :
rname = "pl:SICER:{group}:{name}",
#Must use lambda function here (snakemake does not recogize snakewildcards.variablename in params section)
inputname = lambda wildcards : config['project']['peaks']['inputs'][wildcards.name],
ctrl = lambda wildcards :join(bam_dir, config['project']['peaks']['inputs'][wildcards.name], '.sorted.Q5DD.bam'),
ctrl = lambda wildcards :join(bam_dir, str(config['project']['peaks']['inputs'][wildcards.name]) + '.sorted.Q5DD.bam'),
SICERDIR = "/usr/local/apps/sicer/1.1",
genome = config['project']['annotation'],
run:
Expand Down Expand Up @@ -705,7 +705,7 @@ rule GEM:
readDist='/usr/local/apps/gem/3.0/Read_Distribution_default.txt',
genome=config['references']['ChIPseq']['GENOMECHR'],
#Must use lambda function here (snakemake does not recogize wildcards.variablename in params section)
ctrl = lambda wildcards :join(bam_dir, config['project']['peaks']['inputs'][wildcards.name], '.sorted.Q5DD.bam'),
ctrl = lambda wildcards :join(bam_dir, str(config['project']['peaks']['inputs'][wildcards.name]) + '.sorted.Q5DD.bam'),
threads: 32
shell:
"""
Expand All @@ -720,3 +720,4 @@ rule GEM:
"""



Loading

0 comments on commit 5953199

Please sign in to comment.