From a5141a5c85e5d7836670cea84d16d4bdca582cc6 Mon Sep 17 00:00:00 2001 From: Xavier Grand <xavier.grand@ens-lyon.fr> Date: Fri, 5 Aug 2022 09:45:30 +0200 Subject: [PATCH] Modif Channel idx_genome. --- src/RNAseq_XGR.nf | 2 +- src/nf_modules/htseq/main.nf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RNAseq_XGR.nf b/src/RNAseq_XGR.nf index 1a65e22..dff5575 100644 --- a/src/RNAseq_XGR.nf +++ b/src/RNAseq_XGR.nf @@ -146,7 +146,7 @@ workflow { else { idx_genome = "${params.idx}" Channel - .fromPath( idx_genome, type: 'dir' ) + .of( idx_genome ) .set { genome_indexed_input } mapping_withindex(genome_indexed_input.collect(), fastp.out.fastq) stats_bam(mapping_withindex.out.bam) diff --git a/src/nf_modules/htseq/main.nf b/src/nf_modules/htseq/main.nf index 51e6de1..5405fea 100644 --- a/src/nf_modules/htseq/main.nf +++ b/src/nf_modules/htseq/main.nf @@ -31,7 +31,7 @@ process htseq_count { } input: tuple val(file_id), path(bam), path(bai) - path (gtf) + val(gtf) output: path "${file_id}.tsv", emit: counts -- GitLab