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 \\
|
$fasta \\
|
||||||
$bam
|
$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
|
path fai
|
||||||
|
|
||||||
output:
|
output:
|
||||||
tuple val(meta), path("*.txt"), emit: txt
|
tuple val(meta), path("*.mbias.txt"), emit: txt
|
||||||
path "*.version.txt" , emit: version
|
path "*.version.txt" , emit: version
|
||||||
|
|
||||||
script:
|
script:
|
||||||
def software = getSoftwareName(task.process)
|
def software = getSoftwareName(task.process)
|
||||||
|
@ -37,8 +37,8 @@ process METHYLDACKEL_MBIAS {
|
||||||
$bam \\
|
$bam \\
|
||||||
$prefix \\
|
$prefix \\
|
||||||
--txt \\
|
--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
|
||||||
- methyldackel_mbias
|
- methyldackel_mbias
|
||||||
files:
|
files:
|
||||||
- path: output/methyldackel/test.txt
|
- path: output/methyldackel/test.mbias.txt
|
||||||
md5sum: 357bb944dc2cdffcc47fa0d34376e016
|
md5sum: 357bb944dc2cdffcc47fa0d34376e016
|
||||||
|
|
Loading…
Reference in a new issue