Fix bug in gffread module

Update the output name in the command so it does no fail when the input has a .gtf extension.
This commit is contained in:
José Fernández Navarro 2021-09-03 10:30:54 +02:00 committed by GitHub
parent 0f59b07945
commit 6b71e72ca5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,7 +28,7 @@ process GFFREAD {
script: script:
def software = getSoftwareName(task.process) def software = getSoftwareName(task.process)
""" """
gffread $gff $options.args -o ${gff.baseName}.gtf gffread $gff $options.args -o ${gff.baseName}.out.gtf
echo \$(gffread --version 2>&1) > ${software}.version.txt echo \$(gffread --version 2>&1) > ${software}.version.txt
""" """
} }