Skip to content

Commit ff6ee50

Browse files
committed
Whether to run the filter step is a workflow configuration
1 parent 0de2331 commit ff6ee50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

main.nf

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ process swegen_mask_vcfs {
203203
tag "$uuid $svfile"
204204

205205
executor choose_executor()
206-
when params.swegen_mask
206+
when 'filter' in workflowSteps
207207

208208
"""
209209
BNAME=\$( echo $svfile | cut -d. -f1 )
@@ -438,7 +438,8 @@ def usage_message() {
438438
log.info ' --steps Specify what steps to run, comma separated: (default: manta, vep)'
439439
log.info ' Callers: manta, fermikit'
440440
log.info ' Annotation: vep, snpeff'
441-
log.info ' Extra: normalize (with vt)'
441+
log.info ' Extra: normalize (with vt),'
442+
log.info ' filter (with bed files in masks_filters/, by default swegen is used)'
442443
log.info ' --outdir Directory where resultfiles are stored (default: results)'
443444
log.info ' --prefix Prefix for result filenames (default: no prefix)'
444445
log.info ''

nextflow.config

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ params {
99
help = False
1010

1111
//optional swegen masking
12-
swegen_mask = False // --swegen_mask if you want to run that
1312
sg_mask_ovlp = 0.95 // --sg_mask_ovlp in case other overlap value than default 0.95 for swegen
1413
no_sg_reciprocal = False // --no_sg_reciprocal in case swegen masking should not include reciprocal overlap option
1514

0 commit comments

Comments
 (0)