@@ -170,7 +170,7 @@ process artifact_mask_vcfs {
170170
171171 """
172172 BNAME=\$ ( echo $svfile | cut -d. -f1 )
173- MASK_DIR=$params . mask_dirs . masks_artifacts
173+ MASK_DIR=$params . mask_dir_artifacts
174174
175175 # We don't want to change the filename in this process so we copy the
176176 # infile and remove the symbolic link. And then recreate the file at the
@@ -191,14 +191,14 @@ process artifact_mask_vcfs {
191191}
192192
193193
194- ch_noswegen_mask = ch_artifact_masked_vcfs. tap { ch_swegen_mask_in }
194+ ch_nocohort_mask = ch_artifact_masked_vcfs. tap { ch_cohort_mask_in }
195195reciprocal = params. no_sg_reciprocal ? ' ' : ' -r'
196196
197- process swegen_mask_vcfs {
197+ process cohort_mask_vcfs {
198198 input:
199- set file(svfile), val(uuid), val(dir) from ch_swegen_mask_in
199+ set file(svfile), val(uuid), val(dir) from ch_cohort_mask_in
200200 output:
201- set file(' *_swegen_masked .vcf' ), val(uuid), val(dir) into ch_swegen_masked_vcfs
201+ set file(' *_cohort_masked .vcf' ), val(uuid), val(dir) into ch_cohort_masked_vcfs
202202
203203 tag " $uuid $svfile "
204204
@@ -207,8 +207,8 @@ process swegen_mask_vcfs {
207207
208208 """
209209 BNAME=\$ ( echo $svfile | cut -d. -f1 )
210- MASK_FILE=\$ {BNAME}_swegen_masked .vcf
211- MASK_DIR=$params . mask_dirs . masks_filters
210+ MASK_FILE=\$ {BNAME}_cohort_masked .vcf
211+ MASK_DIR=$params . mask_dir_cohort
212212
213213 cp $svfile workfile
214214 for mask in \$ MASK_DIR/*; do
@@ -224,7 +224,7 @@ process swegen_mask_vcfs {
224224 """
225225}
226226
227- ch_masked_vcfs = ch_noswegen_mask . mix(ch_swegen_masked_vcfs )
227+ ch_masked_vcfs = ch_nocohort_mask . mix(ch_cohort_masked_vcfs )
228228
229229// To make intersect files we need to combine them into one channel with
230230// toList() and then sort in the map so that fermi is before manta in the
@@ -439,7 +439,7 @@ def usage_message() {
439439 log. info ' Callers: manta, fermikit'
440440 log. info ' Annotation: vep, snpeff'
441441 log. info ' Extra: normalize (with vt),'
442- log. info ' filter (with bed files in masks_filters/, by default swegen is used )'
442+ log. info ' filter (with bed files in mask_cohort/ )'
443443 log. info ' --sg_mask_ovlp Fractional overlap for use with the filter option'
444444 log. info ' --no_sg_reciprocal Don\' t use a reciprocal overlap for the filter option'
445445 log. info ' --outdir Directory where resultfiles are stored (default: results)'
0 commit comments