diff --git a/src/nextflow.config b/src/nextflow.config index 54e515f2fa82bc3e92068cc6b19727516db42ac9..9a1b44edd58f2c2d4c21434b46c203359ba001ac 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 19aecb1de06db473e08fcbd750c196be09506f12..ff9ba5c3bcf49cc2fc9e97a09f8802dc8c31328c 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} \