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
43 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,43 @@ | ||
#%Module1.0##################################################################### | ||
## | ||
## bgzip 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/tabix/tabix-0.2.6 | ||
|
||
proc ModulesHelp { } { | ||
global version modroot | ||
|
||
puts stderr "\tbgzip - use bgzip $version" | ||
puts stderr "\n\tVersion $version\n" | ||
} | ||
|
||
module-whatis "Loads bgzip environment." | ||
|
||
# Only one version at a time | ||
conflict bgzip | ||
|
||
#Log loading to syslog | ||
logToSyslog | ||
|
||
# Directories for the program: | ||
# | ||
if [module-info mode load] { | ||
prepend-path PATH $modroot | ||
setenv BGZIP_HOME $modroot | ||
} | ||
|
||
if [module-info mode remove] { | ||
remove-path PATH $modroot | ||
setenv BGZIP_HOME "" | ||
} | ||
|
||
|
||
# Environments for the program: | ||
# |