<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=TRINITY</id>
	<title>TRINITY - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?action=history&amp;feed=atom&amp;title=TRINITY"/>
	<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=TRINITY&amp;action=history"/>
	<updated>2026-05-18T23:52:24Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.38.4</generator>
	<entry>
		<id>https://wiki.csi.cuny.edu/cunyhpc/index.php?title=TRINITY&amp;diff=74&amp;oldid=prev</id>
		<title>James: Created page with &quot;Briefly, the process works like so:  Inchworm assembles the RNA-seq data into the unique sequences of transcripts, often generating full-length transcripts for a dominant isoform, but then reports just the unique portions of alternatively spliced transcripts.  Chrysalis clusters the Inchworm contigs into clusters and constructs complete de Bruijn graphs for each cluster. Each cluster represents the full transcriptonal complexity for a given gene (or sets of genes that sh...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.csi.cuny.edu/cunyhpc/index.php?title=TRINITY&amp;diff=74&amp;oldid=prev"/>
		<updated>2022-10-20T19:50:43Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Briefly, the process works like so:  Inchworm assembles the RNA-seq data into the unique sequences of transcripts, often generating full-length transcripts for a dominant isoform, but then reports just the unique portions of alternatively spliced transcripts.  Chrysalis clusters the Inchworm contigs into clusters and constructs complete de Bruijn graphs for each cluster. Each cluster represents the full transcriptonal complexity for a given gene (or sets of genes that sh...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Briefly, the process works like so:&lt;br /&gt;
&lt;br /&gt;
Inchworm assembles the RNA-seq data into the unique sequences of transcripts, often generating full-length transcripts for a dominant isoform, but then reports just the unique portions of alternatively spliced transcripts.&lt;br /&gt;
&lt;br /&gt;
Chrysalis clusters the Inchworm contigs into clusters and constructs complete de Bruijn graphs for each cluster. Each cluster represents the full transcriptonal complexity for a given gene (or sets of genes that share sequences in common). Chrysalis then partitions the full read set among these disjoint graphs.&lt;br /&gt;
&lt;br /&gt;
Butterfly then processes the individual graphs in parallel, tracing the paths that reads and pairs of reads take within the graph, ultimately reporting full-length transcripts for alternatively spliced isoforms, and teasing apart transcripts that corresponds to paralogous genes.&lt;br /&gt;
&lt;br /&gt;
Additional Trinity documentation can be found at the [https://github.com/trinityrnaseq/trinityrnaseq/wiki Trinity website].&lt;br /&gt;
&lt;br /&gt;
Trinity is installed on Penzias cluster. In order to run it load Trinity environment module with&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
module load trinity&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this will also load the module for BOWTIE which is required by Trinity. Once your environment set you can submit a job into SLURM queue. Here is a typical SLURM&lt;br /&gt;
script that submits a 4-core Trinity job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
#SBATCH --partition production&lt;br /&gt;
#SBATCH --job-name trinity&lt;br /&gt;
#SBATCH --nodes=1&lt;br /&gt;
#SBATCH --ntasks=4&lt;br /&gt;
&lt;br /&gt;
# set unlimited stack size&lt;br /&gt;
ulimit -s unlimited&lt;br /&gt;
&lt;br /&gt;
# set number of cores and memory requirements&lt;br /&gt;
NCORES=4&lt;br /&gt;
JMEM=8G&lt;br /&gt;
export OMP_NUM_THREADS=$NCORES&lt;br /&gt;
&lt;br /&gt;
# set output directory&lt;br /&gt;
MY_OUT_DIR=myOutDir_trinity&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;----------------Starting-----------------------&amp;quot;&lt;br /&gt;
cd $SLURM_SUBMIT_DIR&lt;br /&gt;
# run trinity&lt;br /&gt;
Trinity --CPU $NCORES --bflyCPU $NCORES --bflyGCThreads $NCORES \&lt;br /&gt;
    --max_memory $JMEM \&lt;br /&gt;
    --seqType fq --SS_lib_type RF \&lt;br /&gt;
    --left reads.left.fq  --right reads.right.fq \&lt;br /&gt;
    --output myOutDir_trinity &amp;gt;&amp;amp; log_trinity&lt;br /&gt;
echo &amp;quot;-----------------Done--------------------------&amp;quot;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* Note that Trinity only runs in SMP mode. Therefore in the &amp;quot;-l select&amp;quot; statement you can request max of 1 chunk with up to 12 ntasks.&lt;br /&gt;
&lt;br /&gt;
* Name of the output directory needs to contain string &amp;quot;trinity&amp;quot;. Otherwise Trinity run will immediately fail.&lt;br /&gt;
&lt;br /&gt;
You can find example of SLURM script and sample input files (reads.left.fq/ reads.right.fq) under &amp;quot;/share/apps/trinity/default/example&amp;quot; directory.&lt;/div&gt;</summary>
		<author><name>James</name></author>
	</entry>
</feed>