diff --git a/src/nextflow.config b/src/nextflow.config
index 11e218f0bea9184c8dcf67b4f937684ded1dcb77..e544f2f8e37c6cb74aa8abbc0d2f62c01c17a464 100755
--- a/src/nextflow.config
+++ b/src/nextflow.config
@@ -75,7 +75,7 @@ profiles {
   pollux {
     singularity.enabled = true
     singularity.cacheDir = "./bin/"
-    singularity.bind = "/home"
+    singularity.runOptions = "--bind /data,/home"
     process {
       errorStrategy = 'finish'
       memory = '32GB'
diff --git a/src/nf_modules/ont-guppy/main.nf b/src/nf_modules/ont-guppy/main.nf
index f6fddc94e1b44bc71d9ef11e3eb76c876b2d9aa5..7169b7a0f92c8b4621c7634d8f72636e1e654fdf 100644
--- a/src/nf_modules/ont-guppy/main.nf
+++ b/src/nf_modules/ont-guppy/main.nf
@@ -27,7 +27,7 @@ process basecall_fast5_gpu {
   }
 
   input:
-    val(fast5_folder)
+    path(fast5_folder)
 
   output:
     path "pass", emit: pass
@@ -39,10 +39,11 @@ process basecall_fast5_gpu {
 """
 echo "Start basecalling using GPUs."
 # guppy_basecaller --print_workflows
-find -type f -name "*.fast5" > allfast5files.txt
+path=\$(readlink -f ${fast5_folder})
+find \${path} -type f -name "*.fast5" > allfast5files.txt
 guppy_basecaller --compress_fastq \
-   -i ${fast5_folder} \
-   --input_file_list allfast5files.txt \
+   -i / \
+   --input_file_list fichier.txt \
    -s . \
    --flowcell ${params.flowcell} \
    --kit ${params.kit} \