Skip to content

Commit

Permalink
Updated bowtie to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
ewels committed May 15, 2014
1 parent 811da5c commit 217e29f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
2 changes: 1 addition & 1 deletion bowtie2/2.0.5
37 changes: 0 additions & 37 deletions bowtie2/2.1.0

This file was deleted.

1 change: 1 addition & 0 deletions bowtie2/2.1.0
37 changes: 37 additions & 0 deletions bowtie2/2.2.2
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#%Module1.0#####################################################################
##
## bowtie2 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/bowtie2/$version

proc ModulesHelp { } {
global version modroot

puts stderr "\tbowtie2 - use bowtie2 $version"
puts stderr "\n\tVersion $version\n"
}

module-whatis "Loads bowtie2 environment."

# Only one version at a time
conflict bowtie2

#Log loading to syslog
logToSyslog

if [module-info mode load] {
prepend-path PATH $modroot
setenv BOWTIE2_HOME $modroot
}

if [module-info mode remove] {
remove-path PATH $modroot
setenv BOWTIE2_HOME ""
}

0 comments on commit 217e29f

Please sign in to comment.