File tree 1 file changed +37
-0
lines changed
modulefiles/snakemakeslurm
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ #%Module1.0#####################################################################
2
+ ##
3
+ ## snakemakeslurm
4
+ ##
5
+ ## https://github.com/rusalkaguy/snakemake-slurm-module
6
+ ##
7
+ ################################################################################
8
+ set components [ file split [ module-info name ] ]
9
+ set prog [ lindex $components 0 ]
10
+ set snakemake-version [ lindex [ split [ lindex $components 1 ] - ] 0 ]
11
+ set script_version [ lindex [ split [ lindex $components 1 ] - ] 1 ]
12
+ set version ${snakemake-version}-${script_version}
13
+ set modroot /share/apps/ngs-ccts/${prog}/${prog}-${version}
14
+ set url https://github.com/rusalkaguy/snakemake-slurm-module
15
+
16
+ proc ModulesHelp { } {
17
+ global version modroot
18
+ puts stderr "\tsnakemakeslurm - have snakemake submit jobs via slurm to cheaha"
19
+ puts stderr "\n\tComponents $components\n"
20
+ puts stderr "\n\tVersion $version\n"
21
+ puts stderr "\n\tmodroot $modroot\n"
22
+ }
23
+ module-whatis "Loads snakemakeslurm environment."
24
+
25
+ # load required modules
26
+ module load rc/snakemake/${snakemake-version}
27
+ # snakemake 4.8.0 doesn't work with Anaconda3/5.3.0
28
+ module load Anaconda3/5.2.0
29
+ # only one version at a time
30
+ #conflict multiqc
31
+
32
+ #
33
+ #
34
+ # Make the directories available
35
+ prepend-path PATH $modroot/
36
+ #prepend-path MANPATH $modroot/share/man
37
+ #prepend-path PYTHONPATH odroot/lib/python2.7/site-packages
You can’t perform that action at this time.
0 commit comments