Skip to content

Commit 8ac65cc

Browse files
committed
[MODIF] test --skip_compartment option nf-core#125
1 parent d6b59bf commit 8ac65cc

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

conf/modules.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ process {
274274
mode: 'copy'
275275
]
276276
ext.args = '15 25 50 --window-pixels'
277-
ext.prefix = { "${meta.id}.${resolution}" }
277+
ext.prefix = { "${cool.baseName}" }
278278
}
279279

280280
withName: 'HIC_FIND_TADS' {
@@ -284,6 +284,6 @@ process {
284284
mode: 'copy'
285285
]
286286
ext.args = '--correctForMultipleTesting fdr'
287-
ext.prefix = { "${meta.id}.${resolution}" }
287+
ext.prefix = { "${cool.baseName}" }
288288
}
289289
}

nextflow.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ params {
5050
ligation_site='GATCGATC'
5151
}
5252
'arima' {
53-
restriction_site='^GATC,G^ANT'
54-
ligation_site='GATCGATC,GANTGATC,GANTANTC,GATCANTC'
53+
restriction_site='^GATC,G^ANTC'
54+
ligation_site='GATCGATC,GATCANTC,GANTGATC,GANTANTC'
5555
}
5656
}
5757

workflows/hic.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ if (params.res_dist_decay && !params.skip_dist_decay){
6767
.set {ch_ddecay_res}
6868
ch_map_res = ch_map_res.concat(ch_ddecay_res)
6969
}else{
70-
ch_ddecay_res = Channel.create()
70+
ch_ddecay_res = Channel.empty()
7171
if (!params.skip_dist_decay){
7272
log.warn "[nf-core/hic] Hi-C resolution for distance decay not specified. See --res_dist_decay"
7373
}
@@ -81,7 +81,7 @@ if (params.res_compartments && !params.skip_compartments){
8181
.set {ch_comp_res}
8282
ch_map_res = ch_map_res.concat(ch_comp_res)
8383
}else{
84-
ch_comp_res = Channel.create()
84+
ch_comp_res = Channel.empty()
8585
if (!params.skip_compartments){
8686
log.warn "[nf-core/hic] Hi-C resolution for compartment calling not specified. See --res_compartments"
8787
}

0 commit comments

Comments
 (0)