From e170dad3744588f42b46c4af8f13e8fccbe3f40e Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Mon, 20 May 2019 16:36:36 +0200
Subject: [PATCH] nf modules: add ccin2p3 profile

---
 src/nf_modules/bedtools/fasta_from_bed.config | 17 +++++++
 src/nf_modules/bowtie/indexing.config         | 17 +++++++
 src/nf_modules/bowtie/mapping_paired.config   | 17 +++++++
 src/nf_modules/bowtie/mapping_single.config   | 17 +++++++
 src/nf_modules/bowtie2/indexing.config        | 17 +++++++
 src/nf_modules/bowtie2/mapping_paired.config  | 17 +++++++
 src/nf_modules/bowtie2/mapping_single.config  | 17 +++++++
 src/nf_modules/bwa/indexing.config            | 17 +++++++
 src/nf_modules/bwa/mapping_paired.config      | 17 +++++++
 .../cutadapt/adaptor_removal_paired.config    | 17 +++++++
 .../cutadapt/adaptor_removal_single.config    | 17 +++++++
 .../cutadapt/trimming_paired.config           | 17 +++++++
 .../cutadapt/trimming_single.config           | 17 +++++++
 src/nf_modules/deeptools/bam_to_bigwig.config | 30 +++++++++++-
 .../deeptools/compute_matrix.config           | 17 +++++++
 src/nf_modules/deeptools/plot_profile.config  | 17 +++++++
 src/nf_modules/fastp/fastp_paired.config      | 17 +++++++
 src/nf_modules/fastp/fastp_single.config      | 17 +++++++
 src/nf_modules/fastqc/fastqc_paired.config    | 17 +++++++
 src/nf_modules/fastqc/fastqc_single.config    | 17 +++++++
 src/nf_modules/hisat2/indexing.config         | 17 +++++++
 src/nf_modules/hisat2/mapping_paired.config   | 17 +++++++
 src/nf_modules/hisat2/mapping_single.config   | 17 +++++++
 src/nf_modules/htseq/htseq.config             | 17 +++++++
 src/nf_modules/kallisto/mapping_paired.config | 17 +++++++
 src/nf_modules/kallisto/mapping_single.config | 17 +++++++
 src/nf_modules/macs2/peak_calling.config      | 17 +++++++
 src/nf_modules/multiqc/multiqc_paired.config  | 17 +++++++
 src/nf_modules/multiqc/multiqc_single.config  | 17 +++++++
 .../music/peak_calling_single.config          | 46 ++++++-------------
 src/nf_modules/rsem/indexing.config           | 17 +++++++
 .../rsem/quantification_paired.config         | 17 +++++++
 .../rsem/quantification_single.config         | 17 +++++++
 src/nf_modules/sambamba/index_bams.config     | 17 +++++++
 src/nf_modules/sambamba/sort_bams.config      | 17 +++++++
 src/nf_modules/sambamba/split_bams.config     | 17 +++++++
 src/nf_modules/samblaster/dedup_sams.config   | 17 +++++++
 src/nf_modules/samtools/filter_bams.config    | 17 +++++++
 src/nf_modules/samtools/index_bams.config     | 17 +++++++
 src/nf_modules/samtools/sort_bams.config      | 17 +++++++
 src/nf_modules/samtools/split_bams.config     | 17 +++++++
 src/nf_modules/sratoolkit/fastqdump.config    | 17 +++++++
 src/nf_modules/urqt/trimming_paired.config    | 17 +++++++
 src/nf_modules/urqt/trimming_single.config    | 17 +++++++
 44 files changed, 756 insertions(+), 34 deletions(-)

diff --git a/src/nf_modules/bedtools/fasta_from_bed.config b/src/nf_modules/bedtools/fasta_from_bed.config
index 36e7ef46..220cdce3 100644
--- a/src/nf_modules/bedtools/fasta_from_bed.config
+++ b/src/nf_modules/bedtools/fasta_from_bed.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bowtie/indexing.config b/src/nf_modules/bowtie/indexing.config
index 19094c45..e1b0262d 100644
--- a/src/nf_modules/bowtie/indexing.config
+++ b/src/nf_modules/bowtie/indexing.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bowtie/mapping_paired.config b/src/nf_modules/bowtie/mapping_paired.config
index 7e00b2bc..d24ba5d8 100644
--- a/src/nf_modules/bowtie/mapping_paired.config
+++ b/src/nf_modules/bowtie/mapping_paired.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bowtie/mapping_single.config b/src/nf_modules/bowtie/mapping_single.config
index 7e00b2bc..d24ba5d8 100644
--- a/src/nf_modules/bowtie/mapping_single.config
+++ b/src/nf_modules/bowtie/mapping_single.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bowtie2/indexing.config b/src/nf_modules/bowtie2/indexing.config
index 8a373d99..98b7cdac 100644
--- a/src/nf_modules/bowtie2/indexing.config
+++ b/src/nf_modules/bowtie2/indexing.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bowtie2/mapping_paired.config b/src/nf_modules/bowtie2/mapping_paired.config
index 704adb6a..7d8e543f 100644
--- a/src/nf_modules/bowtie2/mapping_paired.config
+++ b/src/nf_modules/bowtie2/mapping_paired.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bowtie2/mapping_single.config b/src/nf_modules/bowtie2/mapping_single.config
index 704adb6a..7d8e543f 100644
--- a/src/nf_modules/bowtie2/mapping_single.config
+++ b/src/nf_modules/bowtie2/mapping_single.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bwa/indexing.config b/src/nf_modules/bwa/indexing.config
index d73ff104..89574aa8 100644
--- a/src/nf_modules/bwa/indexing.config
+++ b/src/nf_modules/bwa/indexing.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/bwa/mapping_paired.config b/src/nf_modules/bwa/mapping_paired.config
index 1c8dfa5d..4f013608 100644
--- a/src/nf_modules/bwa/mapping_paired.config
+++ b/src/nf_modules/bwa/mapping_paired.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/cutadapt/adaptor_removal_paired.config b/src/nf_modules/cutadapt/adaptor_removal_paired.config
index 7e6aadec..7317fb7b 100644
--- a/src/nf_modules/cutadapt/adaptor_removal_paired.config
+++ b/src/nf_modules/cutadapt/adaptor_removal_paired.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/cutadapt/adaptor_removal_single.config b/src/nf_modules/cutadapt/adaptor_removal_single.config
index 7e6aadec..7317fb7b 100644
--- a/src/nf_modules/cutadapt/adaptor_removal_single.config
+++ b/src/nf_modules/cutadapt/adaptor_removal_single.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/cutadapt/trimming_paired.config b/src/nf_modules/cutadapt/trimming_paired.config
index 28e17285..f201a571 100644
--- a/src/nf_modules/cutadapt/trimming_paired.config
+++ b/src/nf_modules/cutadapt/trimming_paired.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/cutadapt/trimming_single.config b/src/nf_modules/cutadapt/trimming_single.config
index 28e17285..f201a571 100644
--- a/src/nf_modules/cutadapt/trimming_single.config
+++ b/src/nf_modules/cutadapt/trimming_single.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/deeptools/bam_to_bigwig.config b/src/nf_modules/deeptools/bam_to_bigwig.config
index e6d71340..67a46dc8 100644
--- a/src/nf_modules/deeptools/bam_to_bigwig.config
+++ b/src/nf_modules/deeptools/bam_to_bigwig.config
@@ -66,8 +66,6 @@ profiles {
         cpus = 1
         queue = 'huge'
       }
-    }
-    process{
       withName: bam_to_bigwig {
         beforeScript = "source /sps/lbmc/common/miniconda3/init.sh"
         conda = "/sps/lbmc/common/miniconda3/envs/deeptools_3.0.2"
@@ -82,4 +80,32 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_bam {
+        container = "/sps/lbmc/common/singularity/sambamba:0.6.7.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+      withName: bam_to_bigwig {
+        container = "/sps/lbmc/common/singularity/deeptools:3.0.2.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/deeptools/compute_matrix.config b/src/nf_modules/deeptools/compute_matrix.config
index 0000f5b2..66be28dd 100644
--- a/src/nf_modules/deeptools/compute_matrix.config
+++ b/src/nf_modules/deeptools/compute_matrix.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/deeptools/plot_profile.config b/src/nf_modules/deeptools/plot_profile.config
index afa10d54..bb1feb2e 100644
--- a/src/nf_modules/deeptools/plot_profile.config
+++ b/src/nf_modules/deeptools/plot_profile.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/fastp/fastp_paired.config b/src/nf_modules/fastp/fastp_paired.config
index f660e797..67af9be5 100644
--- a/src/nf_modules/fastp/fastp_paired.config
+++ b/src/nf_modules/fastp/fastp_paired.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/fastp/fastp_single.config b/src/nf_modules/fastp/fastp_single.config
index f660e797..67af9be5 100644
--- a/src/nf_modules/fastp/fastp_single.config
+++ b/src/nf_modules/fastp/fastp_single.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/fastqc/fastqc_paired.config b/src/nf_modules/fastqc/fastqc_paired.config
index 291d2eb4..70c9b996 100644
--- a/src/nf_modules/fastqc/fastqc_paired.config
+++ b/src/nf_modules/fastqc/fastqc_paired.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/fastqc/fastqc_single.config b/src/nf_modules/fastqc/fastqc_single.config
index 291d2eb4..70c9b996 100644
--- a/src/nf_modules/fastqc/fastqc_single.config
+++ b/src/nf_modules/fastqc/fastqc_single.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/hisat2/indexing.config b/src/nf_modules/hisat2/indexing.config
index fc8ca47b..c3784d31 100644
--- a/src/nf_modules/hisat2/indexing.config
+++ b/src/nf_modules/hisat2/indexing.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/hisat2/mapping_paired.config b/src/nf_modules/hisat2/mapping_paired.config
index 31edc5c6..993ef10b 100644
--- a/src/nf_modules/hisat2/mapping_paired.config
+++ b/src/nf_modules/hisat2/mapping_paired.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/hisat2/mapping_single.config b/src/nf_modules/hisat2/mapping_single.config
index 31edc5c6..993ef10b 100644
--- a/src/nf_modules/hisat2/mapping_single.config
+++ b/src/nf_modules/hisat2/mapping_single.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/htseq/htseq.config b/src/nf_modules/htseq/htseq.config
index e703516f..7349c5f0 100644
--- a/src/nf_modules/htseq/htseq.config
+++ b/src/nf_modules/htseq/htseq.config
@@ -74,4 +74,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/kallisto/mapping_paired.config b/src/nf_modules/kallisto/mapping_paired.config
index 755a49b2..2599af59 100644
--- a/src/nf_modules/kallisto/mapping_paired.config
+++ b/src/nf_modules/kallisto/mapping_paired.config
@@ -49,6 +49,23 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
 
 
diff --git a/src/nf_modules/kallisto/mapping_single.config b/src/nf_modules/kallisto/mapping_single.config
index 755a49b2..2599af59 100644
--- a/src/nf_modules/kallisto/mapping_single.config
+++ b/src/nf_modules/kallisto/mapping_single.config
@@ -49,6 +49,23 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
 
 
diff --git a/src/nf_modules/macs2/peak_calling.config b/src/nf_modules/macs2/peak_calling.config
index 43e5cbef..d5223cd1 100644
--- a/src/nf_modules/macs2/peak_calling.config
+++ b/src/nf_modules/macs2/peak_calling.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/multiqc/multiqc_paired.config b/src/nf_modules/multiqc/multiqc_paired.config
index 4413a1eb..813b55e2 100644
--- a/src/nf_modules/multiqc/multiqc_paired.config
+++ b/src/nf_modules/multiqc/multiqc_paired.config
@@ -83,5 +83,22 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
 
diff --git a/src/nf_modules/multiqc/multiqc_single.config b/src/nf_modules/multiqc/multiqc_single.config
index 451cbd2b..304ea3e0 100644
--- a/src/nf_modules/multiqc/multiqc_single.config
+++ b/src/nf_modules/multiqc/multiqc_single.config
@@ -82,4 +82,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/music/peak_calling_single.config b/src/nf_modules/music/peak_calling_single.config
index b9418753..64a55bd0 100644
--- a/src/nf_modules/music/peak_calling_single.config
+++ b/src/nf_modules/music/peak_calling_single.config
@@ -71,41 +71,18 @@ profiles {
   ccin2p3_conda {
     process{
       withName: compute_mappability {
-        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/music/6613c53/:/usr/bin:$PATH"
+        beforeScript = "source /sps/lbmc/common/miniconda3/init.sh"
+        conda = "/sps/lbmc/common/miniconda3/envs/music_1.0.0"
         scratch = true
         stageInMode = "copy"
         stageOutMode = "rsync"
         executor = "sge"
-        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
         cpus = 1
-        memory = "10GB"
-        time = "24h"
+        queue = 'huge'
       }
       withName: music_preprocessing {
-        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/music/6613c53/:/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"
-      }
-      withName: music_computation {
-        beforeScript = "PATH=/sps/lbmc/common/nextflow/src/singularity_modules/music/6613c53/:/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"
-      }
-    }
-    process{
-      withName: compute_mappability {
         beforeScript = "source /sps/lbmc/common/miniconda3/init.sh"
         conda = "/sps/lbmc/common/miniconda3/envs/music_1.0.0"
         scratch = true
@@ -117,7 +94,7 @@ profiles {
         cpus = 1
         queue = 'huge'
       }
-      withName: music_preprocessing {
+      withName: music_computation {
         beforeScript = "source /sps/lbmc/common/miniconda3/init.sh"
         conda = "/sps/lbmc/common/miniconda3/envs/music_1.0.0"
         scratch = true
@@ -129,9 +106,14 @@ profiles {
         cpus = 1
         queue = 'huge'
       }
-      withName: music_computation {
-        beforeScript = "source /sps/lbmc/common/miniconda3/init.sh"
-        conda = "/sps/lbmc/common/miniconda3/envs/music_1.0.0"
+    }
+  }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
         scratch = true
         stageInMode = "copy"
         stageOutMode = "rsync"
diff --git a/src/nf_modules/rsem/indexing.config b/src/nf_modules/rsem/indexing.config
index d551058d..1149d299 100644
--- a/src/nf_modules/rsem/indexing.config
+++ b/src/nf_modules/rsem/indexing.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/rsem/quantification_paired.config b/src/nf_modules/rsem/quantification_paired.config
index 7a311076..35193330 100644
--- a/src/nf_modules/rsem/quantification_paired.config
+++ b/src/nf_modules/rsem/quantification_paired.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/rsem/quantification_single.config b/src/nf_modules/rsem/quantification_single.config
index 7a311076..35193330 100644
--- a/src/nf_modules/rsem/quantification_single.config
+++ b/src/nf_modules/rsem/quantification_single.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/sambamba/index_bams.config b/src/nf_modules/sambamba/index_bams.config
index 4b1cab9d..7055c98c 100644
--- a/src/nf_modules/sambamba/index_bams.config
+++ b/src/nf_modules/sambamba/index_bams.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/sambamba/sort_bams.config b/src/nf_modules/sambamba/sort_bams.config
index 20a878c3..2ccdc387 100644
--- a/src/nf_modules/sambamba/sort_bams.config
+++ b/src/nf_modules/sambamba/sort_bams.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/sambamba/split_bams.config b/src/nf_modules/sambamba/split_bams.config
index ed57b764..57346f10 100644
--- a/src/nf_modules/sambamba/split_bams.config
+++ b/src/nf_modules/sambamba/split_bams.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/samblaster/dedup_sams.config b/src/nf_modules/samblaster/dedup_sams.config
index a4ed1732..6911ff93 100644
--- a/src/nf_modules/samblaster/dedup_sams.config
+++ b/src/nf_modules/samblaster/dedup_sams.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/samtools/filter_bams.config b/src/nf_modules/samtools/filter_bams.config
index 8b6406fc..0116e7c6 100644
--- a/src/nf_modules/samtools/filter_bams.config
+++ b/src/nf_modules/samtools/filter_bams.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/samtools/index_bams.config b/src/nf_modules/samtools/index_bams.config
index 9b37acf2..dfab8d3d 100644
--- a/src/nf_modules/samtools/index_bams.config
+++ b/src/nf_modules/samtools/index_bams.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/samtools/sort_bams.config b/src/nf_modules/samtools/sort_bams.config
index 6f55fb1b..45c69f8a 100644
--- a/src/nf_modules/samtools/sort_bams.config
+++ b/src/nf_modules/samtools/sort_bams.config
@@ -49,4 +49,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/samtools/split_bams.config b/src/nf_modules/samtools/split_bams.config
index 7d8c883c..f03bc1a8 100644
--- a/src/nf_modules/samtools/split_bams.config
+++ b/src/nf_modules/samtools/split_bams.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/sratoolkit/fastqdump.config b/src/nf_modules/sratoolkit/fastqdump.config
index 3bfdaae2..1538b1a0 100644
--- a/src/nf_modules/sratoolkit/fastqdump.config
+++ b/src/nf_modules/sratoolkit/fastqdump.config
@@ -48,4 +48,21 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
diff --git a/src/nf_modules/urqt/trimming_paired.config b/src/nf_modules/urqt/trimming_paired.config
index 143b4b15..2073efc2 100644
--- a/src/nf_modules/urqt/trimming_paired.config
+++ b/src/nf_modules/urqt/trimming_paired.config
@@ -49,5 +49,22 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
 
diff --git a/src/nf_modules/urqt/trimming_single.config b/src/nf_modules/urqt/trimming_single.config
index c787338f..e82bd35f 100644
--- a/src/nf_modules/urqt/trimming_single.config
+++ b/src/nf_modules/urqt/trimming_single.config
@@ -49,5 +49,22 @@ profiles {
       }
     }
   }
+  ccin2p3 {
+    singularity.enabled = true
+    singularity.runOptions = "--bind /pbs,/sps,/scratch"
+    process{
+      withName: index_fasta {
+        container = "/sps/lbmc/common/singularity/kallisto:0.44.0.img"
+        scratch = true
+        stageInMode = "copy"
+        stageOutMode = "rsync"
+        executor = "sge"
+        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n \
+        -o ~/logs/ -e ~/logs/"
+        cpus = 1
+        queue = 'huge'
+      }
+    }
+  }
 }
 
-- 
GitLab