This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
tassel-software [2014/09/22 09:40] joguya [Installation] |
tassel-software [2015/09/22 14:08] (current) aorth |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Tassel | + | ===== tassel |
| - | * Version 3.0.165 | + | TASSEL is a software |
| - | * Added August, 2014 | + | |
| - | * Link [[http:// | + | |
| - | * One of the scientist requested us to install | + | |
| + | ===== Information ===== | ||
| + | * Version: 5.2.9 | ||
| + | * Added: September, 2015 | ||
| + | * Link: http:// | ||
| - | ==== Usage ==== | + | ===== Usage ===== |
| - | * Load tassel | + | See which versions of tassel |
| - | * < | + | |
| - | module load tassel/3.0.165 | + | <code>$ module avail tassel</code> |
| - | </ | + | |
| + | Load one version into your shell' | ||
| + | |||
| + | < | ||
| ==== Memory Usage/ | ==== Memory Usage/ | ||
| * Tassel uses java with a default memory setting of: -Xms512m -Xmx1536m | * Tassel uses java with a default memory setting of: -Xms512m -Xmx1536m | ||
| * So you have to increase the maximum memory(-Xmx) to atleast 4GB otherwise tassel would run out of memory really fast | * So you have to increase the maximum memory(-Xmx) to atleast 4GB otherwise tassel would run out of memory really fast | ||
| - | * Use the following options to use custom | + | * Use the following options to set the maximum |
| * For example:< | * For example:< | ||
| - | ==== Installation ==== | + | ==== Installation |
| - | * Download/ | + | Notes from the sysadmin during installation: |
| - | * Copy over the binaries to / | + | |
| - | * Clone [[https:// | + | |
| - | * cd to hpc-environment-modules git repo & mkdir tassel, in it create | + | |
| - | * Commit & push to github | + | |
| - | * Run ansible & limit to compute nodes & modules tag | + | |
| - | * < | + | |
| - | ssh hpc | + | |
| - | git clone git:// | + | |
| - | cd tassel3/ | + | |
| - | git checkout V3.0.165 | + | |
| - | sudo su - | + | |
| - | mkdir -p / | + | |
| - | cp -rv * / | + | |
| - | </ | + | |
| - | * Clone environment modules & add a new module | + | < |
| - | * < | + | $ cd tassel-5-standalone |
| - | git clone https://github.com/ilri/hpc-environment-modules.git | + | $ git checkout V5.2.9 |
| - | cd hpc-environment-modules/ | + | $ sudo mkdir -p / |
| - | mkdir / | + | $ sudo cp -rv * / |
| - | vim tassel/3.0.165 | + | |
| - | </ | + | |
| - | * tassel module file | + | ===== Sample Script ===== |
| - | * < | + | Sample script |
| - | # | + | |
| - | ## | + | |
| - | ## tassel modulefile | + | |
| - | ## By James Oguya < | + | |
| - | ## August, 2014 | + | |
| - | ## | + | |
| - | + | ||
| - | module-whatis " | + | |
| - | + | ||
| - | # for TCL script use | + | |
| - | set | + | |
| - | set | + | |
| - | set | + | |
| - | set | + | |
| - | + | ||
| - | conflict tassel | + | |
| - | + | ||
| - | prepend-path | + | |
| - | + | ||
| - | conflict tassel | + | |
| - | + | ||
| - | # tassel depends on perl 5.16.3, load the perl module as well | + | |
| - | if { ![is-loaded perl] } { | + | |
| - | module load perl | + | |
| - | } | + | |
| - | </ | + | |
| - | + | ||
| - | * Deploy new module using ansible | + | |
| - | * < | + | |
| - | ansible-playbook site.yml -i private/ | + | |
| - | </ | + | |
| - | + | ||
| - | * Test to confirm success: do a module avail, module load tassel/ | + | |
| - | * < | + | |
| - | module avail | + | |
| - | module load tassel/ | + | |
| - | module ls | + | |
| - | run_anything.pl | + | |
| - | module unload | + | |
| - | </ | + | |
| - | * Sample script written by [[mailto: | + | < |
| - | * < | + | |
| - | #!/bin/env bash | + | |
| #SBATCH -p batch | #SBATCH -p batch | ||
| Line 94: | Line 40: | ||
| #SBATCH -n 10 | #SBATCH -n 10 | ||
| - | current_date=$(date +%b_%d) | + | current_date=$(date +%Y-%m-%d) |
| DATADIR="/ | DATADIR="/ | ||
| Line 134: | Line 80: | ||
| # step 7: output hapmap file | # step 7: output hapmap file | ||
| - | run_pipeline.pl -Xmx4096m -fork1 -UMapInfoToHapMapPlugin -w ${DATADIR}/ | + | run_pipeline.pl -Xmx4096m -fork1 -UMapInfoToHapMapPlugin -w ${DATADIR}/ |
| - | </ | + | |