From 9573078518ceb4a4b2976f9357516587663a56c3 Mon Sep 17 00:00:00 2001 From: LysianeBouchard Date: Tue, 15 Oct 2024 09:28:37 -0400 Subject: [PATCH] fix: CLIN-2947 make resume work again --- CHANGELOG.md | 2 +- subworkflows/local/exclude_mnps/main.nf | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1881631..527e4a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### `Fixed` - [#35](https://github.com/Ferlab-Ste-Justine/Post-processing-Pipeline/pull/35) Fix incorrect assumption about assets folder location in github ci workflow - +- [#36](https://github.com/Ferlab-Ste-Justine/Post-processing-Pipeline/pull/36) Fix variable input in process BCFTOOLS_NORM causing resume problems ## v2.0.0dev diff --git a/subworkflows/local/exclude_mnps/main.nf b/subworkflows/local/exclude_mnps/main.nf index e48491c..ee0d127 100644 --- a/subworkflows/local/exclude_mnps/main.nf +++ b/subworkflows/local/exclude_mnps/main.nf @@ -17,8 +17,7 @@ workflow EXCLUDE_MNPS { def ch_bcftoolsfilter_for_bcftoolsnorm = BCFTOOLS_FILTER.out.vcf.join(BCFTOOLS_FILTER.out.tbi) - ch_reference = input.map{meta,file -> [meta,reference_path]} - BCFTOOLS_NORM(ch_bcftoolsfilter_for_bcftoolsnorm,ch_reference) + BCFTOOLS_NORM(ch_bcftoolsfilter_for_bcftoolsnorm, [[:], reference_path]) ch_output_excludemnps = BCFTOOLS_NORM.out.vcf.join(BCFTOOLS_NORM.out.tbi) .map{meta, vcf, tbi ->[meta,[vcf,tbi]]}