From 15e4a839dc36b430b248aceb8dc20087bb7cfc80 Mon Sep 17 00:00:00 2001 From: Edmund Miller Date: Mon, 22 Jul 2024 17:25:50 -0500 Subject: [PATCH] refactor: Use stageAs for kmer_lists --- modules/primer3_calc/main.nf | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/modules/primer3_calc/main.nf b/modules/primer3_calc/main.nf index c4846cf..6f08c88 100644 --- a/modules/primer3_calc/main.nf +++ b/modules/primer3_calc/main.nf @@ -6,16 +6,13 @@ process primer3_calc { input: path conf - path kmer_lists + path kmer_lists, stageAs: 'kmer_lists/*' output: path "*primer3.txt" shell: ''' - mkdir -p kmer_lists - ln ./*.list kmer_lists - ID=$(head -n 1 !{conf} | cut -f 2 -d '=' | cut -f 2 -d ' ') primer3_core -h 2>&1 | grep "This is primer3" > ${ID}_primer3.txt