Fix kallistobustools version extraction (#691)

Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
fbdtemme 2021-09-15 18:56:12 +02:00 committed by GitHub
parent 073bbf1b26
commit f4ec33ebc4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -51,6 +51,6 @@ process KALLISTOBUSTOOLS_COUNT {
${reads[0]} \\ ${reads[0]} \\
${reads[1]} ${reads[1]}
echo \$(kb 2>&1) | sed 's/^kb_python //; s/Usage.*\$//' > ${software}.version.txt echo \$(kb 2>&1) | sed 's/^.*kb_python //;s/positional arguments.*\$//' > ${software}.version.txt
""" """
} }

View file

@ -45,7 +45,7 @@ process KALLISTOBUSTOOLS_REF {
$fasta \\ $fasta \\
$gtf $gtf
echo \$(kb 2>&1) | sed 's/^kb_python //; s/Usage.*\$//' > ${software}.version.txt echo \$(kb 2>&1) | sed 's/^.*kb_python //;s/positional arguments.*\$//' > ${software}.version.txt
""" """
} else { } else {
""" """
@ -61,7 +61,7 @@ process KALLISTOBUSTOOLS_REF {
$fasta \\ $fasta \\
$gtf $gtf
echo \$(kb 2>&1) | sed 's/^kb_python //; s/Usage.*\$//' > ${software}.version.txt echo \$(kb 2>&1) | sed 's/^.*kb_python //;s/positional arguments.*\$//' > ${software}.version.txt
""" """
} }
} }