Skip to content

Commit

Permalink
Modified regex for file naming
Browse files Browse the repository at this point in the history
  • Loading branch information
sgsutcliffe committed Aug 14, 2024
1 parent 248f10b commit fa6f128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/local/staramr/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ process STARAMR_SEARCH {
for f in ${prefix}_results/* ; do mv "\$f" \$(echo \$f | sed 's;/;/${prefix}_;'); done
# Add extension (.staramr) to the names of output files (to simplify output differntiation amongst other modules)
for f in ${prefix}_results/*{.tsv,.xlsx,.txt} ; do mv "\$f" \$(echo \$f | sed 's;\\.;\\.staramr\\.;'); done
for f in ${prefix}_results/*{.tsv,.xlsx,.txt} ; do mv "\$f" \$(echo \$f | sed 's;\\.\\([^\\.]*\\)\$;\\.staramr\\.\\1;'); done
cat <<-END_VERSIONS > versions.yml
"${task.process}":
Expand Down

0 comments on commit fa6f128

Please sign in to comment.