mirror of
https://github.com/MillironX/nf-core_modules.git
synced 2024-12-22 11:08:17 +00:00
MethylDackel: fix version scraping (#401)
* methyldackel: fix version scraping * fix output file path
This commit is contained in:
parent
6c70d65ae6
commit
3b1dcc9cc0
3 changed files with 6 additions and 6 deletions
|
@ -35,6 +35,6 @@ process METHYLDACKEL_EXTRACT {
|
|||
$fasta \\
|
||||
$bam
|
||||
|
||||
echo \$(methyldackel --version 2>&1) | cut -f1 -d" " > ${software}.version.txt
|
||||
echo \$(MethylDackel --version 2>&1) | cut -f1 -d" " > ${software}.version.txt
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -24,8 +24,8 @@ process METHYLDACKEL_MBIAS {
|
|||
path fai
|
||||
|
||||
output:
|
||||
tuple val(meta), path("*.txt"), emit: txt
|
||||
path "*.version.txt" , emit: version
|
||||
tuple val(meta), path("*.mbias.txt"), emit: txt
|
||||
path "*.version.txt" , emit: version
|
||||
|
||||
script:
|
||||
def software = getSoftwareName(task.process)
|
||||
|
@ -37,8 +37,8 @@ process METHYLDACKEL_MBIAS {
|
|||
$bam \\
|
||||
$prefix \\
|
||||
--txt \\
|
||||
> ${prefix}.txt
|
||||
> ${prefix}.mbias.txt
|
||||
|
||||
echo \$(methyldackel --version 2>&1) | cut -f1 -d" " > ${software}.version.txt
|
||||
echo \$(MethylDackel --version 2>&1) | cut -f1 -d" " > ${software}.version.txt
|
||||
"""
|
||||
}
|
||||
|
|
|
@ -4,5 +4,5 @@
|
|||
- methyldackel
|
||||
- methyldackel_mbias
|
||||
files:
|
||||
- path: output/methyldackel/test.txt
|
||||
- path: output/methyldackel/test.mbias.txt
|
||||
md5sum: 357bb944dc2cdffcc47fa0d34376e016
|
||||
|
|
Loading…
Reference in a new issue