mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
Fix kallistobustools version extraction (#691)
Co-authored-by: Harshil Patel <drpatelh@users.noreply.github.com>
This commit is contained in:
parent
073bbf1b26
commit
f4ec33ebc4
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
"""
|
"""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue