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

---
 src/nf_modules/hisat2/indexing.config       | 15 +++++++++++++++
 src/nf_modules/hisat2/mapping_paired.config | 15 +++++++++++++++
 src/nf_modules/hisat2/mapping_single.config | 15 +++++++++++++++
 3 files changed, 45 insertions(+)

diff --git a/src/nf_modules/hisat2/indexing.config b/src/nf_modules/hisat2/indexing.config
index 22f41f8d..3292c316 100644
--- a/src/nf_modules/hisat2/indexing.config
+++ b/src/nf_modules/hisat2/indexing.config
@@ -33,4 +33,19 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    process{
+      withName: index_fasta {
+        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/hisat2/2.1.0/:/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/hisat2/mapping_paired.config b/src/nf_modules/hisat2/mapping_paired.config
index 370f5892..3def2911 100644
--- a/src/nf_modules/hisat2/mapping_paired.config
+++ b/src/nf_modules/hisat2/mapping_paired.config
@@ -33,4 +33,19 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    process{
+      withName: mapping_fastq {
+        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/hisat2/2.1.0/:/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/hisat2/mapping_single.config b/src/nf_modules/hisat2/mapping_single.config
index 370f5892..3def2911 100644
--- a/src/nf_modules/hisat2/mapping_single.config
+++ b/src/nf_modules/hisat2/mapping_single.config
@@ -33,4 +33,19 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    process{
+      withName: mapping_fastq {
+        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/hisat2/2.1.0/:/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