@@ -181,7 +181,7 @@ if config["peak_calling_macs2"]["run"]:
181
181
input :
182
182
xlsx = "results/macs2_narrow/fdr{fdr}/enrichment_analysis/{bg_sample}.xlsx" ,
183
183
output :
184
- plots = expand ("results/plots/macs2_narrow/fdr{{fdr}}/enrichment_analysis/{{bg_sample}}/{db}.pdf" , db = DBS ),
184
+ plots = report ( expand ("results/plots/macs2_narrow/fdr{{fdr}}/enrichment_analysis/{{bg_sample}}/{db}.pdf" , db = DBS ), caption = "../report/enrichment_analysis.rst" , category = "Pathway enrichment analysis" ),
185
185
params :
186
186
terms = config ["consensus_peaks" ]["enrichment_analysis" ]["terms" ],
187
187
dirname = lambda w , output : os .path .dirname (output [0 ]),
@@ -235,7 +235,7 @@ if config["peak_calling_macs2"]["run"]:
235
235
total_read_count = expand ("results/macs2_broad/fdr{fdr}/read_counts/{dir}/{bg_sample}.total.count" , dir = DIRS , fdr = fdr , bg_sample = BG_SAMPLES ),
236
236
peak_read_count = expand ("results/macs2_broad/fdr{fdr}/read_counts/{dir}/{bg_sample}.peak.count" , dir = DIRS , fdr = fdr , bg_sample = BG_SAMPLES ),
237
237
output :
238
- plot = "results/plots/macs2_broad/fdr{fdr}/frip.pdf" ,
238
+ plot = report ( "results/plots/macs2_broad/fdr{fdr}/frip.pdf" , caption = "../report/frip.rst" , category = "Fraction of reads in peaks" ) ,
239
239
csv = "results/macs2_broad/fdr{fdr}/frip.csv" ,
240
240
params :
241
241
extra = "" ,
@@ -404,7 +404,7 @@ if config["peak_calling_macs2"]["run"]:
404
404
input :
405
405
xlsx = "results/macs2_broad/fdr{fdr}/enrichment_analysis/{bg_sample}.xlsx" ,
406
406
output :
407
- plots = expand ("results/plots/macs2_broad/fdr{{fdr}}/enrichment_analysis/{{bg_sample}}/{db}.pdf" , db = DBS ),
407
+ plots = report ( expand ("results/plots/macs2_broad/fdr{{fdr}}/enrichment_analysis/{{bg_sample}}/{db}.pdf" , db = DBS ), caption = "../report/enrichment_analysis.rst" , category = "Pathway enrichment analysis" ),
408
408
params :
409
409
terms = config ["consensus_peaks" ]["enrichment_analysis" ]["terms" ],
410
410
dirname = lambda w , output : os .path .dirname (output [0 ]),
@@ -458,7 +458,7 @@ if config["peak_calling_macs2"]["run"]:
458
458
total_read_count = expand ("results/macs2_broad/fdr{fdr}/read_counts/{dir}/{bg_sample}.total.count" , dir = DIRS , fdr = fdr , bg_sample = BG_SAMPLES ),
459
459
peak_read_count = expand ("results/macs2_broad/fdr{fdr}/read_counts/{dir}/{bg_sample}.peak.count" , dir = DIRS , fdr = fdr , bg_sample = BG_SAMPLES ),
460
460
output :
461
- plot = "results/plots/macs2_broad/fdr{fdr}/frip.pdf" ,
461
+ plot = report ( "results/plots/macs2_broad/fdr{fdr}/frip.pdf" , caption = "../report/frip.rst" , category = "Fraction of reads in peaks" ) ,
462
462
csv = "results/macs2_broad/fdr{fdr}/frip.csv" ,
463
463
params :
464
464
extra = "" ,
0 commit comments