indexing.config 1.27 KB
Newer Older
Laurent Modolo's avatar
Laurent Modolo committed
1
2
3
4
5
profiles {
  docker {
    docker.temp = 'auto'
    docker.enabled = true
    process {
6
      withName: index_fasta {
7
        cpus = 4
8
        container = "lbmc/bowtie:1.2.2"
Laurent Modolo's avatar
Laurent Modolo committed
9
10
11
      }
    }
  }
12
13
  singularity {
    singularity.enabled = true
14
    singularity.cacheDir = "./bin/"
15
16
17
    process {
      withName: index_fasta {
        cpus = 4
18
        container = "lbmc/bowtie:1.2.2"
19
20
21
      }
    }
  }
22
  psmn{
Laurent Modolo's avatar
Laurent Modolo committed
23
    process{
24
      withName: index_fasta {
25
26
        beforeScript = "source $baseDir/.conda_psmn.sh"
        conda = "$baseDir/.conda_envs/bowtie_1.2.2"
Laurent Modolo's avatar
Laurent Modolo committed
27
        executor = "sge"
28
        clusterOptions = "-cwd -V"
Laurent Modolo's avatar
Laurent Modolo committed
29
        memory = "20GB"
30
        cpus = 16
Laurent Modolo's avatar
Laurent Modolo committed
31
        time = "12h"
32
33
        queue = 'E5-2670deb128A,E5-2670deb128B,E5-2670deb128C,E5-2670deb128D,E5-2670deb128E,E5-2670deb128F'
        penv = 'openmp16'
Laurent Modolo's avatar
Laurent Modolo committed
34
35
36
      }
    }
  }
37
38
  ccin2p3 {
    singularity.enabled = true
39
    singularity.cacheDir = "$baseDir/.src/singularity_in2p3/"
40
41
42
    singularity.runOptions = "--bind /pbs,/sps,/scratch"
    process{
      withName: index_fasta {
43
        container = "lbmc/bowtie:1.2.2"
44
45
46
47
        scratch = true
        stageInMode = "copy"
        stageOutMode = "rsync"
        executor = "sge"
48
        clusterOptions = "-P P_lbmc -l os=cl7 -l sps=1 -r n"
49
50
51
52
53
        cpus = 1
        queue = 'huge'
      }
    }
  }
Laurent Modolo's avatar
Laurent Modolo committed
54
}