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
Next revisionBoth sides next revision
trinity-software [2015/03/24 17:04] aorthtrinity-software [2017/08/22 12:20] aorth
Line 4: Line 4:
 ===== Information ===== ===== Information =====
  
-  * Version: v2.0.6+  * Latest Version: v2.4.0
   * Added: March, 2015   * Added: March, 2015
 +  * Updated: August, 2017
   * Link: https://trinityrnaseq.github.io   * Link: https://trinityrnaseq.github.io
  
 ===== Usage ===== ===== Usage =====
  
-=== See versions of trinity which are available === +See versions of trinity which are available:
-<code>module avail trinity</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. For example:+<code>$ module avail trinity</code>
  
-<code>#!/bin/env bash+**Note:** 
 +  * You should 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 Trinity.fasta results file. 
 +  * 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. For example:<code>#!/usr/bin/env bash
 #SBATCH -p highmem #SBATCH -p highmem
 #SBATCH -J trinity #SBATCH -J trinity
 #SBATCH -n 8 #SBATCH -n 8
  
-module load trinity/v2.0.6 +module load trinity/v2.4.0
-module load bowtie/1.1.1 +
-module load samtools/1.2+
  
-cd to working dir just in case+create and change to working directory on the compute node
 export WORKDIR=/var/scratch/$USER/$SLURM_JOBID export WORKDIR=/var/scratch/$USER/$SLURM_JOBID
 mkdir -p $WORKDIR mkdir -p $WORKDIR
Line 30: Line 30:
  
 # match CPUs to amount requested in SBATCH options! # 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</code>+Trinity --seqType fq --max_memory 10G --left fish_R1.fastq --right fish_R2.fastq --CPU 8 --output trinity-fish2 --full_cleanup</code>
  
 ===== Installation ====== ===== Installation ======
Line 36: Line 36:
  
 <code>$ cd /tmp <code>$ cd /tmp
-$ wget "https://github.com/trinityrnaseq/trinityrnaseq/archive/v2.0.6.tar.gz" -O trinity-v2.0.6.tar.gz +$ wget https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v2.4.0.zip 
-tar -xvf trinity-v2.0.6.tar.gz +unzip Trinity-v2.4.0.zip 
-$ cd trinityrnaseq-2.0.6/ +$ cd trinityrnaseq-Trinity-v2.4.0 
-$ scl enable devtoolset-bash +$ scl enable devtoolset-bash 
-CC=clang make +$ make 
-CC=clang make plugins +$ make plugins 
-$ sudo mkdir /export/apps/trinity/v2.0.6 +$ sudo mkdir /export/apps/trinity/v2.4.0 
-$ cp -r /export/apps/trinity/v2.0.6 +make test_trinity 
-$ sudo chown -R root:root /export/apps/trinity/v2.0.6</code>+$ sudo cp -r /export/apps/trinity/v2.4.0</code>
trinity-software.txt · Last modified: 2020/10/28 11:28 by aorth