#%Module

proc ModulesHelp { } {
    puts stderr {   SAM (Sequence Alignment/Map) format is a generic format
for storing large nucleotide sequence alignments. - Homepage: http://samtools.sourceforge.net/
}
}

module-whatis {SAM (Sequence Alignment/Map) format is a generic format
for storing large nucleotide sequence alignments. - Homepage: http://samtools.sourceforge.net/}

set root    /net/gmi.oeaw.ac.at/software/mendel/29_04_2013/software/SAMtools/0.1.19-goolf-1.4.10

conflict    SAMtools

if { ![is-loaded goolf/1.4.10] } {
    module load goolf/1.4.10
}

if { ![is-loaded ncurses/5.9-goolf-1.4.10] } {
    module load ncurses/5.9-goolf-1.4.10
}

if { ![is-loaded zlib/1.2.5-goolf-1.4.10] } {
    module load zlib/1.2.5-goolf-1.4.10
}

prepend-path	CPATH		$root/include
prepend-path	LD_LIBRARY_PATH		$root/lib
prepend-path	PATH		$root/bin

setenv	EBROOTSAMTOOLS		"$root"
setenv	EBVERSIONSAMTOOLS		"0.1.19"
setenv	EBDEVELSAMTOOLS		"$root/easybuild/SAMtools-0.1.19-goolf-1.4.10-easybuild-devel"


# built with EasyBuild version 1.6.0dev
