diff --git a/modules/local/extract_repeat.nf b/modules/local/extract_repeat.nf index ee32a81..6f534b4 100755 --- a/modules/local/extract_repeat.nf +++ b/modules/local/extract_repeat.nf @@ -25,7 +25,7 @@ process EXTRACT_REPEAT { cat <<-END_VERSIONS > versions.yml "${task.process}": - perl: \$(echo \$(perl --version 2>&1 | grep -oP '\(v\K[^\)]+') + perl: \$(echo \$(perl --version 2>&1 | grep -oP '\(\K[^\)]+') extract_repeat.pl: $VERSION END_VERSIONS """ @@ -38,7 +38,7 @@ process EXTRACT_REPEAT { cat <<-END_VERSIONS > versions.yml "${task.process}": - perl: \$(echo \$(perl --version 2>&1) | sed 's/^.*perl //; s/Using.*\$//') + perl: \$(echo \$(perl --version 2>&1 | grep -oP '\(\K[^\)]+') extract_repeat.pl: $VERSION END_VERSIONS """