From f4c86b6a8938736965ef31703d47ae541d43a80f Mon Sep 17 00:00:00 2001 From: Harshil Patel Date: Mon, 13 Dec 2021 14:14:16 +0000 Subject: [PATCH] Fix #727 --- modules.json | 2 +- modules/nf-core/modules/rsem/preparereference/main.nf | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/modules.json b/modules.json index e7179d133..d70980120 100644 --- a/modules.json +++ b/modules.json @@ -43,7 +43,7 @@ "git_sha": "d473a247d2e0c619b0df877ea19d9a5a98c8e3c8" }, "rsem/preparereference": { - "git_sha": "20d8250d9f39ddb05dfb437603aaf99b5c0b2b41" + "git_sha": "47a9cf8ecbe4de4dcb8b9cc6731fece82b934ab7" }, "rseqc/bamstat": { "git_sha": "9d0cad583b9a71a6509b754fdf589cbfbed08961" diff --git a/modules/nf-core/modules/rsem/preparereference/main.nf b/modules/nf-core/modules/rsem/preparereference/main.nf index 95597b740..a5b8922a0 100644 --- a/modules/nf-core/modules/rsem/preparereference/main.nf +++ b/modules/nf-core/modules/rsem/preparereference/main.nf @@ -12,9 +12,9 @@ process RSEM_PREPAREREFERENCE { path gtf output: - path "rsem" , emit: index - path "rsem/*transcripts.fa", emit: transcript_fasta - path "versions.yml" , emit: versions + path "rsem" , emit: index + path "*transcripts.fa", emit: transcript_fasta + path "versions.yml" , emit: versions script: def args = task.ext.args ?: '' @@ -40,6 +40,8 @@ process RSEM_PREPAREREFERENCE { $fasta \\ rsem/genome + cp rsem/genome.transcripts.fa . + cat <<-END_VERSIONS > versions.yml "${task.process}": rsem: \$(rsem-calculate-expression --version | sed -e "s/Current version: RSEM v//g") @@ -55,6 +57,8 @@ process RSEM_PREPAREREFERENCE { $fasta \\ rsem/genome + cp rsem/genome.transcripts.fa . + cat <<-END_VERSIONS > versions.yml "${task.process}": rsem: \$(rsem-calculate-expression --version | sed -e "s/Current version: RSEM v//g")