-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#%Module1.0##################################################################### | ||
## | ||
## bismark modulefile | ||
## | ||
|
||
source $env(MODULE_INCLUDE)/functions.tcl | ||
getCluster | ||
|
||
set components [ file split [ module-info name ] ] | ||
set version [ lindex $components 1 ] | ||
|
||
set modroot /proj/a2010002/nobackup/sw/mf/bioinfo-tools/pipelines/bismark/$version | ||
|
||
proc ModulesHelp { } { | ||
global version modroot | ||
|
||
puts stderr "\tbismark - use bismark $version" | ||
puts stderr "\n\tVersion $version\n" | ||
} | ||
|
||
module-whatis "Loads bismark environment." | ||
|
||
# Only one version at a time | ||
conflict bismark | ||
|
||
#Log loading to syslog | ||
logToSyslog | ||
|
||
if [module-info mode load] { | ||
prepend-path PATH $modroot | ||
} | ||
|
||
if [module-info mode remove] { | ||
remove-path PATH $modroot | ||
} |