Skip to content

Commit 1541f78

Browse files
committed
make check_aligner_params output deterministic
1 parent 9c95f46 commit 1541f78

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

modules/bash.nf

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ process check_aligner_params{
204204
tag "${meta.uid}"
205205
publishDir "${params.outdir}/${outpath}", pattern: "*.txt", mode: 'copy'
206206

207-
// Enable deep caching to track input changes properly
208-
cache 'deep'
209-
210207
input:
211208
tuple val(meta), path(fastq)
212209
val aligner_list
@@ -684,15 +681,10 @@ process check_aligner_params{
684681
valueAfter["\$key"]="\$value"
685682
done
686683
687-
# Display in sorted order for deterministic output (affects cache)
688-
for key in \$(echo "\${!valueAfter[@]}" | tr ' ' '\n' | sort); do
689-
echo "key <\$key>"
690-
echo "value <\${valueAfter[\$key]}>"
691-
done
692-
693684
echo -e "# Below are the tool parameters received by AliNe, and the modifications/choices made by Aline according to available information (read type, annotation, etc.)." >> \$fileout
694685
echo -e "# Some tools have different executable depending on the type of read. Choices made by AliNe are displayed as aligner_tool." >> \$fileout
695686
echo -e "Parameter\\tBefore\\tAfter" >> \$fileout
687+
# Display in sorted order for deterministic output (affects cache)
696688
for tool in \$(echo "\${!valueBefore[@]}" | tr ' ' '\n' | sort); do
697689
newKey="\${tool}_options"
698690
newKey2="\${tool}_tool"

0 commit comments

Comments
 (0)