From f3d19ff94fc7fe0078a97ddd0db98f8e85deca2d Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Tue, 16 Apr 2019 11:30:16 +0200
Subject: [PATCH] fastp: add in2p3 config

---
 src/nf_modules/fastp/fastp_paired.config | 15 +++++++++++++++
 src/nf_modules/fastp/fastp_single.config | 15 +++++++++++++++
 2 files changed, 30 insertions(+)

diff --git a/src/nf_modules/fastp/fastp_paired.config b/src/nf_modules/fastp/fastp_paired.config
index 295d1835..93ebee83 100644
--- a/src/nf_modules/fastp/fastp_paired.config
+++ b/src/nf_modules/fastp/fastp_paired.config
@@ -32,4 +32,19 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    process{
+      withName: fastp_fastq {
+        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/fastp/0.19.7/:/usr/bin:$PATH"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
+        cpus = 1
+        memory = "10GB"
+        time = "24h"
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/fastp/fastp_single.config b/src/nf_modules/fastp/fastp_single.config
index 295d1835..93ebee83 100644
--- a/src/nf_modules/fastp/fastp_single.config
+++ b/src/nf_modules/fastp/fastp_single.config
@@ -32,4 +32,19 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    process{
+      withName: fastp_fastq {
+        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/fastp/0.19.7/:/usr/bin:$PATH"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
+        cpus = 1
+        memory = "10GB"
+        time = "24h"
+      }
+    }
+  }
 }
-- 
GitLab