From 666d47e1ab883a629ac526e2348dcb6b2794a118 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent@modolo.fr>
Date: Mon, 27 Aug 2018 11:24:45 +0200
Subject: [PATCH] MUISC: .config: update config to match last single nf

---
 .../MUSIC/peak_calling_paired.config          | 30 +++++++++++++++++++
 .../MUSIC/peak_calling_single.config          | 12 --------
 2 files changed, 30 insertions(+), 12 deletions(-)
 create mode 100644 src/nf_modules/MUSIC/peak_calling_paired.config

diff --git a/src/nf_modules/MUSIC/peak_calling_paired.config b/src/nf_modules/MUSIC/peak_calling_paired.config
new file mode 100644
index 0000000..4685752
--- /dev/null
+++ b/src/nf_modules/MUSIC/peak_calling_paired.config
@@ -0,0 +1,30 @@
+profiles {
+  docker {
+    docker.temp = 'auto'
+    docker.enabled = true
+    process {
+      $compute_mappability {
+        container = "music:6613c53"
+      }
+      $music_preprocessing {
+        container = "music:6613c53"
+      }
+      $music_computation {
+        container = "music:6613c53"
+      }
+    }
+  }
+  sge {
+    process{
+      $compute_mappability {
+        beforeScript = "module purge; module load MUSIC/6613c53"
+      }
+      $music_preprocessing {
+        beforeScript = "module purge; module load MUSIC/6613c53"
+      }
+      $music_computation {
+        beforeScript = "module purge; module load MUSIC/6613c53"
+      }
+    }
+  }
+}
diff --git a/src/nf_modules/MUSIC/peak_calling_single.config b/src/nf_modules/MUSIC/peak_calling_single.config
index 7c53891..4685752 100644
--- a/src/nf_modules/MUSIC/peak_calling_single.config
+++ b/src/nf_modules/MUSIC/peak_calling_single.config
@@ -9,12 +9,6 @@ profiles {
       $music_preprocessing {
         container = "music:6613c53"
       }
-      $music_sort {
-        container = "music:6613c53"
-      }
-      $music_dedup {
-        container = "music:6613c53"
-      }
       $music_computation {
         container = "music:6613c53"
       }
@@ -28,12 +22,6 @@ profiles {
       $music_preprocessing {
         beforeScript = "module purge; module load MUSIC/6613c53"
       }
-      $music_sort {
-        beforeScript = "module purge; module load MUSIC/6613c53"
-      }
-      $music_dedup {
-        beforeScript = "module purge; module load MUSIC/6613c53"
-      }
       $music_computation {
         beforeScript = "module purge; module load MUSIC/6613c53"
       }
-- 
GitLab