User Tools

Site Tools


trinity-software

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
trinity-software [2015/03/20 15:28] – [Usage] aorthtrinity-software [2018/03/27 16:00] aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: v2.0.3 +  * Latest Version: v2.6.6 
-  * Added: February2014+  * Added: March2015 
 +  * Updated: March, 2018
   * Link: https://trinityrnaseq.github.io   * Link: https://trinityrnaseq.github.io
  
 ===== Usage ===== ===== Usage =====
 +See versions of trinity which are available:
 +<code>$ module avail trinity</code>
  
-=== See versions of trinity which are available === +Load one version into your environment and run it: 
-<code>module avail trinity</code>+<code>$ module load trinity/v2.6.6 
 +$ Trinity</code> 
 + 
 +Notes about running Trinity: 
 +  * Please use the ''−−full_cleanup'' option so that Trinity can clean up after itself by removing all the intermediary files it has created except for the final fasta results 
 +  * Trinity creates millions of small files, which is inefficient and causes problems on the HPC storage server, so you please direct the output from these jobs to a directory inside ///var/scratch// instead of your home folder. 
 +  * For example: 
 +  <code>#!/usr/bin/env bash 
 +#SBATCH -p highmem 
 +#SBATCH -J trinity 
 +#SBATCH -n 8 
 + 
 +module load trinity/v2.6.6 
 + 
 +# create and change to a working directory on the compute node 
 +export WORKDIR=/var/scratch/$USER/$SLURM_JOBID 
 +mkdir -p $WORKDIR 
 +cd $WORKDIR 
 + 
 +# match CPUs to amount requested in SBATCH options! 
 +Trinity --seqType fq --max_memory 10G --left fish_R1.fastq --right fish_R2.fastq --CPU 8 --output trinity-fish2 --full_cleanup</code>
  
-**Note:** Trinity creates millions of small files -- which causes problems on the HPC storage server -- so you must direct output from these jobs to ///var/scratch// instead of your home folder. 
 ===== Installation ====== ===== Installation ======
 Notes from the sysadmin during installation: Notes from the sysadmin during installation:
  
-<code>$ cd ~/src +<code>$ cd /tmp 
-$ wget https://github.com/trinityrnaseq/trinityrnaseq/archive/v2.0.3.tar.gz +$ wget https://github.com/trinityrnaseq/trinityrnaseq/releases/download/Trinity-v2.6.6/Trinityrnaseq-v2.6.6.wExtSampleData.tar.gz 
-$ tar xf v2.0.3.tar.gz +$ tar xf Trinityrnaseq-v2.6.6.wExtSampleData.tar.gz 
-$ cd trinityrnaseq-2.0.3 +$ cd Trinityrnaseq-v2.6.6
-$ sudo mkdir /export/apps/trinity/v2.0.+
-$ sudo chown aorth /export/apps/trinity/v2.0.3 +
-$ cp -r * /export/apps/trinity/v2.0.3 +
-$ scl enable devtoolset-2 bash+
 $ make $ make
 $ make plugins $ make plugins
-$ sudo chown -R root:root /export/apps/trinity/v2.0.3</code>+$ sudo yum install numpy 
 +$ sudo mkdir /export/apps/trinity/v2.6.6 
 +$ make test_trinity 
 +$ sudo cp -r . /export/apps/trinity/v2.6.6</code> 
 + 
 +Consult the [[https://github.com/trinityrnaseq/trinityrnaseq/wiki/Installing-Trinity|installing Trinity]] guide in the documentation, although it misses some dependencies!
trinity-software.txt · Last modified: 2020/10/28 11:28 by aorth