The module package is available on the Shared Computing Cluster, allowing users to access non-standard tools or alternate versions of standard packages. This is also an alternative way to configure your environment as required by certain packages. To add the the most recent versions of bioinformatics applications into your environment, load the module linga-latest. Specific modules can be loaded and unloaded as required.

Table of Contents


Common Commands

module list List currently loaded modules.
module avail List available packages.
module help [modulefile] Description of specified module.
module show [modulefile] Displays information about specified module, including environment changes, dependencies, software version and path.
module load [modulefile] Loads module or specifies which dependencies have not been loaded.
module unload [modulefile] Unloads specified module from environment.
module purge Unloads all loaded modules

More information can be found in the Module man page.


Command Examples

module list

scc4% module list
No Modulefiles Currently Loaded.

module avail

scc4% module avail

------------------------------ /usr/local/Modules/versions -------------------------------
3.2.10
------------------------- /usr/local/Modules/3.2.10/modulefiles --------------------------
dot         module-git  module-info modules     null        use.own
--------------------------------- /share/etc/modulefiles ---------------------------------
BEAGLE/BEAGLE-3.3.2_jar_x86_64           linga-proxy
CASAVA/CASAVA_v1.8.2_gnu446              linga-test
CPAT/CPAT-1.2.1_Python-2.7.3_gnu446      mach/mach-1.0.18.c_gnu446
EPACTS/EPACTS-3.2.3_gnu446_x86_64        merlin/merlin-1.1.2_gnu446
GATK/GATK_2.2-16-g9f648cb_jar_x86_64     merlin/merlin-1.1.2_open452
HTSeq/HTSeq-0.5.4p1_Python-2.7.3_gnu446  minimac/minimac-beta-2012.8.15_bin
R/R-2.15.1_gnu-4.4.6                     pedstats/pedstats-0.6.12_gnu446
R/R-2.15.3_gnu-4.4.6                     picard/picard-1.81_jar_x86_64
RSeQC/RSeQC-2.3.2_Python-2.7.3_gnu446    plink/plink-1.07_gnu446
RSeQC/RSeQC-2.3.3_Python-2.7.3_gnu446    plinkseq/plinkseq-20130311_gnu446_x86_64
UCSCUtils/UCSCUtils-20130327_bin         protobuf/protobuf-2.4.1_gnu446_x86_64
bamtools/bamtools-20130116_gnu446_x86_64 python2.7/Python-2.7.3_gnu446
bedtools/bedtools-2.17.0_gnu446_x86_64   samtools/samtools-0.1.18_gnu446
boost/boost_1_51_0_gnu446                shapeit/shapeit.v2.r644.linux.x86_64
bowtie2/bowtie2-2.0.0-beta7_gnu446       tabix/tabix-0.2.6_gnu446_x86_64
cufflinks/cufflinks-2.0.2_gnu446         tophat/tophat-2.0.4_gnu446
linga-default                            tophat/tophat-2.0.6_gnu446
linga-latest                             vcftools/vcftools_0.1.10_gnu446_x86_64
scc4% date
Wed May 15 15:20:49 EDT 2013

module help [modulefile]

scc4% module help tophat
----------- Module Specific Help for 'tophat/tophat-2.0.6_gnu446' ---------------------------

sets the environment for tophat

TopHat is a fast splice junction mapper for RNA-Seq reads. It aligns
RNA-Seq reads to mammalian-sized genomes using the ultra high-throughput
short read aligner Bowtie, and then analyzes the mapping results to identify
splice junctions between exons.

http://tophat.cbcb.umd.edu/

module show [modulefile]

scc4% module show tophat
-------------------------------------------------------------------
/share/etc/modulefiles/tophat/tophat-2.0.6_gnu446:

module-whatis    sets the environment for tophat
prereq   boost
prereq   samtools
prereq   bowtie2
prepend-path     PATH /share/apps/6.0/tophat/tophat-2.0.6_gnu446_x86_64/bin
-------------------------------------------------------------------

Scripts and Batch Commands

When including modules in scripts and batch submission commands (via qsub), it is the best practice to specify modules and applications by version number. Over time, linga-latest and module handles will be updated with the newest applications; specifying versions of applications causes jobs in the future to run in the same way as now.

Example:

load tophat/tophat-2.0.4_gnu446

rather than

load tophat

Load Modules Automatically

Modules can be automatically loaded on login by adding the module load command to a user’s .cshrc (for tcsh users) or .bashrc (for bash users) file. These files are located in the top level of a user’s home directory. The following example shows the extra lines you should add to automatically load specific versions of the modules samtools and tophat.

# User specific aliases and functions
module load samtools/samtools-0.1.18_gnu446
module load tophat/tophat-2.0.4_gnu446