diff --git a/modules/emboss/seqret/main.nf b/modules/emboss/seqret/main.nf index 5dc3f397..12f7370c 100644 --- a/modules/emboss/seqret/main.nf +++ b/modules/emboss/seqret/main.nf @@ -21,13 +21,14 @@ process EMBOSS_SEQRET { script: def args = task.ext.args ?: '' def prefix = task.ext.prefix ?: "${meta.id}" + def osformat = args.contains('-osformat') ? '' : "-osformat ${out_ext}" """ seqret \\ ${args} \\ -sequence ${sequence} \\ + ${osformat} \\ -outseq ${prefix}.${out_ext} - cat <<-END_VERSIONS > versions.yml "${task.process}": emboss: \$(echo \$(seqret -version 2>&1) | sed 's/EMBOSS://')