-
Notifications
You must be signed in to change notification settings - Fork 1
/
modulefile.tcl
62 lines (54 loc) · 1.86 KB
/
modulefile.tcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#%Module1.0#####################################################################
##
## MARIO pipeline modulefile
##
## (generated from 'templates/modulefile' on 2019-01-30)
##
set name "mario_pipeline"
set proper "MARIO pipeline"
set version "3.9.3"
set descrip "Standard analysis pipeline for NGS data"
set homepage "https://tfwebdev.research.cchmc.org/gitlab/puj6ug/MARIO_pipeline"
set issues "https://tfwebdev.research.cchmc.org/gitlab/puj6ug/MARIO_pipeline/issues"
set moduledir "/data/weirauchlab/local/modules/$name/$version"
# module dependencies
array set prereqs {
perl 5.28.0
fastqc 0.11.2
hisat2 2.0.4
MACS 2.1.0
picard 1.89
cutadapt 1.8.1
trimgalore 0.4.2
bowtie2 2.3.4.1
samtools 1.8.0
star "2.5.3a"
}
proc ModulesHelp { } {
global proper
global descrip
global version
global homepage
global issues
puts stderr "\t$proper\n\t - $descrip\n"
puts stderr "\tVersion: $version"
puts stderr "\tHomepage: $homepage"
puts stderr "\tBugs: $issues"
puts stderr ""
}
# the output displayed by the 'module whatis' command
module-whatis "$proper $version - $descrip"
# Add PATH, MANPATH, LD_LIBRARY_PATH, and other environment modifications here.
# Although commonly seen in modulefiles, bear in mind that altering a user's
# LD_LIBRARY_PATH can be problematic; for a thorough discussion, see
# http://linuxmafia.com/faq/Admin/ld-lib-path.html
#prepend-path --delim " " LDFLAGS "-L$moduledir/lib -Wl,-rpath=$moduledir/lib"
#prepend-path --delim " " CFLAGS "-I$moduledir/include"
#prepend-path PKG_CONFIG_PATH "$moduledir/lib/pkgconfig"
#prepend-path MANPATH "$moduledir/share/man"
#prepend-path PATH "$moduledir/bin"
prepend-path PATH "$moduledir/bin"
foreach m [array names prereqs] {
module load "$m/$prereqs($m)"
}
# vim: ft=tcl ts=4 sw=4 expandtab