From d8bba584c7f8ec8c8b02648ebc767dbff7fdf899 Mon Sep 17 00:00:00 2001
From: lgely <loic.gely@ens-lyon.fr>
Date: Thu, 23 Sep 2021 12:12:13 +0000
Subject: [PATCH] Update created RNAseq_tp.nf and modified file to pathy in
 fasta_sampler_tp.nf

---
 src/RNAseq_tp.nf        | 1 +
 src/fasta_sampler_tp.nf | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)
 create mode 100644 src/RNAseq_tp.nf

diff --git a/src/RNAseq_tp.nf b/src/RNAseq_tp.nf
new file mode 100644
index 00000000..9d8a74ff
--- /dev/null
+++ b/src/RNAseq_tp.nf
@@ -0,0 +1 @@
+nextflow.enable.dsl=2
\ No newline at end of file
diff --git a/src/fasta_sampler_tp.nf b/src/fasta_sampler_tp.nf
index 47478e4d..f3404977 100644
--- a/src/fasta_sampler_tp.nf
+++ b/src/fasta_sampler_tp.nf
@@ -7,10 +7,10 @@ channel
 process sample_fasta {
   publishDir "results/sampling/", mode: 'copy'
   input:
-  file fasta
+  path fasta
 
 output:
-file "*_sample.fasta", emit: fasta_sample
+path "*_sample.fasta", emit: fasta_sample
 
   script:
 """
-- 
GitLab