Debian Codegraph @

html/manual.html

raw symbols ◀ ▶ SCIP
1 Debian patch touch this file
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
3
4 <!-- Version: Multiflex-5.4 / About -->
5 <!-- Type: Design with sidebar -->
6 <!-- Date: March 13, 2008 -->
7 <!-- Design: www.1234.info -->
8 <!-- License: Fully open source without restrictions. -->
9 <!-- Please keep footer credits with the words -->
10 <!-- "Design by 1234.info". Thank you! -->
11
12 <head>
13 <script type="text/javascript">
14
15 var _gaq = _gaq || [];
16 _gaq.push(['_setAccount', 'UA-25486066-1']);
17 _gaq.push(['_trackPageview']);
18
19 (function() {
20 })();
21
22 </script>
23 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
24 <meta http-equiv="cache-control" content="no-cache" />
25 <meta http-equiv="expires" content="3600" />
26 <meta name="revisit-after" content="2 days" />
27 <meta name="robots" content="index,follow" />
28 <meta name="publisher" content="Your publisher infos here" />
29 <meta name="copyright" content="Copyright (c) 2011 Adam Roberts" />
30 <meta name="author" content="Designed by www.1234.info / Modified: Adam Roberts" />
31 <meta name="distribution" content="global" />
32 <meta name="image" content="http://bio.math.berkeley.edu/eXpress/img/logo.png" />
33 <meta name="description" content="eXpress is a general quantification tool for target DNA/RNA sequences. While its primary use currently is RNA-Seq it has the potential for applications in many other areas including as allele-specific expression and metgenomics. What makes eXpress different is that it is an online (or streaming) algorithm, meaning it only makes one pass through the data. This allows it to be very light-weight and efficient using a constant amount of memory and time linear in the number of sequenced fragments being processed. Furthermore, it accepts piped SAM/BAM input, allowing users to avoid storing extremely large alignment files. eXpress models fragment biases, fragment lengths, and errors, allowing it to also be one of the most accurate quantification methods available." />
34 <meta name="keywords" content="RNA-Seq, Genomics, transcript,quantification" />
35 <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/mf54_reset.css" />
36 <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/mf54_grid.css" />
37 <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/mf54_content.css" />
38 <link rel="icon" type="image/x-icon" href="./img/favicon.ico" />
39 <title>eXpress &bull; Manual</title>
40 <script language="Javascript">
41 logo1=new Image
42 logo1.src="img/logo.png"
43 logo2=new Image
44 logo2.src="img/logo_yellow.png"
45 </script>
46 <title>eXpress &bull; Manual</title>
47 </head>
48
49 <!-- Global IE fix to avoid layout crash when single word size wider than column width -->
50 <!-- Following line MUST remain as a comment to have the proper effect -->
51 <!--[if IE]><style type="text/css"> body {word-wrap: break-word;}</style><![endif]-->
52
53
54
55 <body>
56 <!-- CONTAINER FOR ENTIRE PAGE -->
57 <div class="container">
58
59 <!-- A. HEADER -->
60 <div class="corner-page-top"></div>
61 <div class="header">
62 <div class="header-top">
63
64 <!-- A.1 SITENAME -->
65 <div class="sitelogo">
66 <ul>
67 <li><a href="#" onMouseOver="document.logo.src=logo2.src" onMouseOut="document.logo.src=logo1.src"><img name="logo" src="img/logo.png"/></a></li>
68 </ul>
69 </div>
70 <div class="sitename">
71 <h1><a href="#">eXpress</a></h1>
72 &nbsp;
73 <h2><i>Streaming</i> quantification for high-throughput sequencing</h2>
74 </div>
75
76 <!-- A.2 BUTTON NAVIGATION -->
77 <div class="navbutton">
78 <ul>
79 <li><a href="http://www.berkeley.edu"><img src="img/berkeley_seal.gif"/></a></li>
80 </ul>
81 </div>
82 </div>
83
84 <!-- A.4 BREADCRUMB and SEARCHFORM -->
85 <div class="header-bottom">
86
87 <!-- Search form -->
88 <div class="searchform" id="cse-search-form" style="padding-top:4px; width:30%;">Loading</div>
89 <script type="text/javascript">
90 }, true);
91 </script>
92 <link rel="stylesheet" href="css/googlesearch.css" type="text/css" />
93
94 </div>
95 </div>
96 <div class="corner-page-bottom"></div>
97
98 <!-- B. NAVIGATION BAR -->
99 <div class="corner-page-top"></div>
100 <div class="navbar">
101
102 <!-- Navigation item -->
103 <ul>
104 <li><a href="index.html">Home</a></li>
105 </ul>
106 <!-- Navigation item -->
107 <ul>
108 <li><a href="overview.html">About</a></li>
109 </ul>
110 <!-- Navigation item -->
111 <ul>
112 <li><a href="#">Download<!--[if IE 7]><!--></a><!--<![endif]-->
113 <!--[if lte IE 6]><table><tr><td><![endif]-->
114 <ul>
115 <li><a href=downloads/express-1.5.1/express-1.5.1-macosx_x86_64.tgz onClick="_gaq.push(['_trackEvent', 'Downloads', 'Mac', 'Manual']);" target="_blank">Mac OS X (64-bit)</a></li>
116 <li><a href=downloads/express-1.5.1/express-1.5.1-linux_x86_64.tgz onClick="_gaq.push(['_trackEvent', 'Downloads', 'Linux', 'Manual']);" target="_blank">Linux (64-bit)</a></li>
117 <li><a href=downloads/express-1.5.1/express-1.5.1-win32_x86_64.zip onClick="_gaq.push(['_trackEvent', 'Downloads', 'Windows', 'Manual']);" target="_blank">Windows (64-bit)</a></li>
118 <li><a href=downloads/express-1.5.1/express-1.5.1-src.tgz onClick="_gaq.push(['_trackEvent', 'Downloads', 'Source', 'Manual']);" target="_blank">Source Code</a></li>
119 <li><a href="downloads" onClick="_gaq.push(['_trackEvent', 'Downloads', 'Previous','Manual']);">Previous Versions</a></li>
120 </ul>
121 <!--[if lte IE 6]></td></tr></table></a><![endif]-->
122 </li>
123 </ul>
124 <ul>
125 <li><a href="tutorial.html">Getting Started</a></li>
126 </ul>
127 <ul>
128 <li><a href="https://github.com/adarob/eXpress">Source</a></li>
129 </ul>
130 <ul>
131 <li><a href="manual.html">Manual</a></li>
132 </ul>
133 <ul>
134 <li><a href="faq.html">FAQ</a></li>
135 </ul>
136 </div>
137
138 <!-- C. MAIN SECTION -->
139 <div class="main">
140 <h1 class="pagetitle">Manual</h1>
141
142 <!-- C.1 CONTENT -->
143 <div class="content">
144
145 <!-- CONTENT CELL -->
146 <div class="corner-content-1col-top"></div>
147 <div class="content-1col-nobox">
148
149 <h1 id="doc">Documentation</h1>
150 <p>Complete documentation for the source code is available in both <a href=doc/index.html>html</a> and <a href=doc/express-doc.pdf>pdf</a> formats.</p>
151 <p>&rarr; <a href="#top">Back to top.</a></p>
152 </div>
153 <div class="corner-content-1col-bottom"></div>
154 <!-- CONTENT CELL -->
155 <div class="corner-content-1col-top"></div>
156 <div class="content-1col-nobox">
157
158
159 <h1 id="usage">Usage</h1>
160 <h2 id="prereq">Prerequisites</h2>
161 <p>eXpress runs on intel-based computers running Linux, Mac OS X, or Windows. You can install pre-compiled binaries or build eXpress from the source code. If you wish to build eXpress yourself, you must have a C++ compiler installed (for example, <a href=http://developer.apple.com/tools/xcode>XCode</a> for Mac OS X, <a href=http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express>Visual C++ Express</a> for Windows 7) as well as <a href=http://www.cmake.org>CMake</a>, <a href=https://github.com/pezmaster31/bamtools>BamTools</a>, and the <a href="http://www.boost.org">Boost C++ libraries</a>. See the <a href="tutorial.html#install">Installation</a> section on the Getting Started page for detailed instructions.</p>
162 <h2 id="running">Running eXpress</h2>
163 <p>Run <tt>eXpress</tt> from the command line as follows:
164 <ul><pre class="sc"><code>$ express [options]* &lt;target_seqs.fasta&gt; &lt;aligned_reads.(sam/bam)&gt;</code></pre></ul></p>
165
166 <p id="options">The following is a detailed description of the options used to control eXpress:
167 <table>
168 <tr><td WIDTH=40% VALIGN=top><b>Arguments:</b></td><td WIDTH=60% VALIGN=top></td></tr>
169
170 <tr><td VALIGN=top nowrap><tt>&lt;target_seqs.fasta&gt;</tt></td>
171 <td VALIGN=top>A file of target sequences in <a href=http://en.wikipedia.org/wiki/FASTA_format>multi-FASTA</a> format. See <a href="#fasta">Input Files</a> for more details.</td></tr>
172
173 <tr><td VALIGN=top nowrap><tt>&lt;lib_1.sam,lib_2.sam,...,lib_N.sam&gt;</tt></td>
174 <td VALIGN=top>A comma-separated list of filenames for reads aligned to the target sequences in <a href="http://samtools.sourceforge.net">
175 SAM format</a>. See <a href="#sam">Input Files</a> for more details.</td></tr>
176
177 <tr><td VALIGN=top><b>Standard Options:</b></td><td VALIGN=top></td></tr>
178
179 <tr><td VALIGN=top nowrap><tt>-h/--help</tt> </td>
180 <td VALIGN=top>Prints the help message and exits</td></tr>
181
182 <tr><td VALIGN=top nowrap>
183 <tt>-o/--output-dir &lt;string&gt;</tt>
184 </td><td VALIGN=top>
185 Sets the name of the directory in which eXpress will write all of its
186 output. The default is "./".
187 </td></tr>
188
189 <tr><td VALIGN=top nowrap>
190 <tt>-B/--additional-batch &lt;int&gt;</tt>
191 </td><td VALIGN=top>
192 Specifies the number of additional batch EM rounds to perform on the data using the initial results from the online EM as a seed. Can improve accuracy at the cost of time.
193 </td></tr>
194
195 <tr><td VALIGN=top nowrap>
196 <tt>-O/--additional-online &lt;int&gt;</tt>
197 </td><td VALIGN=top>
198 Specifies the number of additional online EM rounds to perform on the data after the initial online round. Can improve accuracy at the cost of time.
199 </td></tr>
200
201 <tr><td VALIGN=top nowrap>
202 <tt>-m/--frag-len-mean &lt;int&gt;</tt>
203 </td><td VALIGN=top>
204 Specifies the mean fragment length. While the empirical distribution is estimated from paired-end reads on-the-fly, this value paramaterizes the prior distribution. If only single-end reads are available, this prior distribution is also used to determine the effective length. Default is 200.
205 </td></tr>
206
207 <tr><td VALIGN=top nowrap>
208 <tt>-s/--frag-len-stddev &lt;int&gt;</tt>
209 </td><td VALIGN=top>
210 Specifies the fragment length standard deviation. While the empirical distribution is estimated from paired-end reads on-the-fly, this value paramaterizes the prior distribution. If only single-end reads are available, this prior distribution is also used to determine the effective length. Default is 60.
211 </td></tr>
212
213 <tr><td VALIGN=top nowrap>
214 <tt>-H/--haplotype-file &lt;string&gt;</tt>
215 </td><td VALIGN=top>
216 Specifies the location of a comma-separated file of sets of target IDs (one set per line) specifying which targets represent multiple haplotypes of a single feature (ie, transcript). Useful for allele-specific expression.
217 </td></tr>
218
219 <tr><td VALIGN=top nowrap>
220 <tt>--output-align-prob</tt>
221 </td><td VALIGN=top>
222 With this option, eXpress outputs an additional file called <tt>hits.prob.(sam/bam)</tt> containing identical copies of all input alignments with an additional <tt>XP</tt> tag that contains the estimated probability that each alignment of the read (pair) is the "correct" one. The <tt>XP</tt> values for all alignments of of the same read (pair) will sum to 1.
223 </td></tr>
224
225 <tr><td VALIGN=top nowrap>
226 <tt>--output-align-samp</tt>
227 </td><td VALIGN=top>
228 With this option, eXpress outputs an additional file called <tt>hits.samp.(sam/bam)</tt> containing a single alignment for each fragment sampled at random based on the alignment likelihoods calculated by eXpress.
229 </td></tr>
230
231 <tr><td VALIGN=top nowrap>
232 <tt>--fr-stranded</tt>
233 </td><td VALIGN=top>
234 With this option, eXpress only accepts alignments (single-end or paired) where the first (or only) read is aligned to the forward target sequence and the second read is aligned to the reverse-complemented target sequence. In directional sequencing, this is equivalent to second-strand only. If all reads are single-end, <tt>--f-stranded</tt> should be used instead. Disabled by default.
235 </td></tr>
236
237 <tr><td VALIGN=top nowrap>
238 <tt>--rf-stranded</tt>
239 </td><td VALIGN=top>
240 With this option, eXpress only accepts alignments (single-end or paired) where the first (or only) read is aligned to the reverse-completemented target sequence and the second read is aligned to the forward target sequence. In directional sequencing, this is equivalent to first-strand only. If all reads are single-end, <tt>--r-stranded</tt> should be used instead. Disabled by default.
241 </td></tr>
242
243 <tr><td VALIGN=top nowrap>
244 <tt>--f-stranded</tt>
245 </td><td VALIGN=top>
246 With this option, eXpress only accepts single-end alignments to the forward target sequence. In directional sequencing, this is equivalent to second-strand only. Disabled by default.
247 </td></tr>
248
249 <tr><td VALIGN=top nowrap>
250 <tt>--r-stranded</tt>
251 </td><td VALIGN=top>
252 With this option, eXpress only accepts single-end alignments to the reverse target sequence. In directional sequencing, this is equivalent to second-strand only. Disabled by default.
253 </td></tr>
254
255 <tr><td VALIGN=top nowrap>
256 <tt>--no-update-check</tt>
257 </td><td VALIGN=top>
258 With this option, eXpress will not ping our server to see if a newer version is available.
259 </td></tr>
260
261 <tr><td VALIGN=top><b>Advanced Options:</b></td><td VALIGN=top></td></tr>
262
263 <tr><td VALIGN=top nowrap>
264 <tt>-f/--forget-param &lt;float&gt;</tt>
265 </td><td VALIGN=top>
266 A parameter specifying the rate at which the prior is "forgotten" by increasing the mass of fragments during online processing. Larger numbers (max of 1) mean a slower rate, which decreases convergence but improves stability. Smaller numbers (minumum of 0.5) increase the rate, which may lead to faster convergence but can also lead to instability.
267 </td></tr>
268
269 <tr><td VALIGN=top nowrap>
270 <tt>--library-size &lt;int&gt;</tt>
271 </td><td VALIGN=top>
272 Specifies the number of fragments in the library to be used in the FPKM calculation. If left unspecified, this number will be computed from the input.
273 </td></tr>
274
275 <tr><td VALIGN=top nowrap>
276 <tt>--max-indel-size &lt;int&gt;</tt>
277 </td><td VALIGN=top>
278 A parameter specifying the maximum allowed size of a single indel. Alignments with larger indels will be ignored. A geometric prior for indel length is fit so that all but 10e-6 of the probability mass lies within the allowed region. The default is 10.
279 </td></tr>
280
281 <tr><td VALIGN=top nowrap>
282 <tt>--calc-covar</tt>
283 </td><td VALIGN=top>
284 With this option, eXpress calculates the covariance between targets and outputs them for use in differential expression analysis. This calculation requires slightly more time and memory.
285 </td></tr>
286
287 <tr><td VALIGN=top nowrap>
288 <tt>--expr-alpha &lt;float&gt;</tt>
289 </td><td VALIGN=top>
290 A parameter specifying the weight of uniform the target abundance prior, in pseudo-counts per bp. The default is 0.01.
291 </td></tr>
292
293 <tr><td VALIGN=top nowrap>
294 <tt>--stop-at &lt;int&gt;</tt>
295 </td><td VALIGN=top>
296 A parameter specifying the number of fragments to process before quitting.
297 </td></tr>
298
299 <tr><td VALIGN=top nowrap>
300 <tt>--burn-out &lt;int&gt;</tt>
301 </td><td VALIGN=top>
302 A parameter specifying the number of fragments after which to stop learning the auxiliary parameters (fragment length, bias, error).
303 </td></tr>
304
305 <tr><td VALIGN=top nowrap>
306 <tt>--no-bias-correct</tt>
307 </td><td VALIGN=top>
308 With this option, eXpress will not measure and account for sequence-specific biases. Will lead to a slight initial increase in speed at the expense of accuracy.
309 </td></tr>
310
311 <tr><td VALIGN=top nowrap>
312 <tt>--no-error-model</tt>
313 </td><td VALIGN=top>
314 With this option, eXpress will not measure and account for errors in alignments. Will lead to an increase in speed, but may greatly decrease accuracy.
315 </td></tr>
316
317 <tr><td VALIGN=top nowrap>
318 <tt>--aux-param-file &lt;string&gt;</tt>
319 </td><td VALIGN=top>
320 Specifies an auxiliary parameter file output by a different run of eXpress to be used as the auxiliary parameters for this round. Greatly improves speed and should be used when a subset of the targets or fragments are being used in a second estimation.
321 </td></tr>
322
323 </table></p>
324
325 <p>&rarr; <a href="#top">Back to top.</a></p>
326 </div>
327 <div class="corner-content-1col-bottom"></div>
328
329 <!-- CONTENT CELL -->
330 <div class="corner-content-1col-top"></div>
331 <div class="content-1col-nobox">
332 <h1 id="input">Input Files</h1>
333 <h2 id="fasta">Target Sequences (FASTA)</h2>
334 <p>eXpress requires a <a href=http://en.wikipedia.org/wiki/FASTA_format>multi-FASTA</a> file of target sequences for which the abundances will be measured. In the case of RNA-Seq, these are the transcript sequences. If
335 the transcriptome of your organism is not
336 annotated, you can generate this file from your sequencing
337 reads using a <i>de novo</i> transcriptome assembler such as
338 <a href=http://trinityrnaseq.sourceforge.net/>Trinity</a>, <a
339 href=http://www.ebi.ac.uk/~zerbino/oases/>Oases</a>, or <a
340 href=http://www.bcgsc.ca/platform/bioinfo/software/trans-abyss>Trans-ABySS</a>.
341 If your organism has a reference genome, you can assemble
342 transcripts directly from mapped reads using <a
343 href="http://cufflinks.cbcb.umd.edu/">Cufflinks</a>. If your genome is already annotated (in
344 GTF/GFF), you can generate a multi-FASTA file using the <a href=http://genome.ucsc.edu/>UCSC Genome Browser</a> by uploading your annotation as a track and downloading the sequences under the "Tables" tab.</p>
345
346 <h2 id="sam">Read Alignments (SAM/BAM)</h2>
347 <p>eXpress also requires a file, multiple files, or a piped stream of SAM or binary SAM (BAM) alignments as input. The SAM alignments should be generated by mapping your sequencing reads to the target sequences specified in the multi-FASTA input file described above. For more details on the SAM format, see the <a href="http://samtools.sourceforge.net/SAM1.pdf">specification</a>. Many short read mappers including <a href="http://bowtie-bio.sourceforge.net">Bowtie</a>, <a href="http://bowtie-bio.sourceforge.net/bowtie2">Bowtie2</a>, <a href="http://bio-bwa.sourceforge.net/">BWA</a>, and <a href=http://maq.sourceforge.net/>MAQ</a> can produce output in this format. It is important that you allow many multi-mappings (preferably unlimited) in order to allow eXpress to select the correct alignment instead of the mapper. See <a href="tutorial.html#example">Getting Started</a> for an example using Bowtie in both streaming and file input modes.</p>
348 <p>
349 If using paired-end reads, the read names must match for each pair, excluding '/1' and '/2' suffix identifiers. Also, the SAM file supplied to eXpress should be grouped by read id. If you aligned your reads with Bowtie, your alignments will be properly ordered already. If you used another tool, you
350 should ensure that they are properly sorted. You can sort your SAM using the following command:
351 <ol><pre class="sc"><code>sort -k 1 hits.sam > hits.sam.sorted</code></pre></ol></p>
352 <p>You can sort your BAM using this command:
353 <ol><pre class="sc"><code>samtools sort -n hits.bam hits.sorted</code></pre></ol></p>
354 <p>If multiple libraries were prepared for the same sample or multiple read lengths were used in different sequencing runs, the alignments for each should be grouped in separate SAM files so that auxiliary parameters can be estimated independently. The filenames can then be input into eXpress as a comma-separated (with no spaces) list of SAM files. See <a href="#running">above</a> for an example. When this feature is used, separate <a href="#param">parameter estimates</a> will be output for each library, but only a single <a href="#expr">abundance</a> file will be produced.</p>
355 <p>&rarr; <a href="#top">Back to top.</a></p>
356 </div>
357 <div class="corner-content-1col-bottom"></div>
358
359 <!-- CONTENT CELL -->
360 <div class="corner-content-1col-top"></div>
361 <div class="content-1col-nobox">
362 <h1 id="output">Output Files</h1>
363 <h2 id="expr">Target Abundances (results.xprs)</h2>
364 <p>This file is always output and contains the target abundances and other values calculated based on the input sequences and read alignments. The file has 10 tab-delimited columns, sorted by the bundle_id (column 1). The columns are defined as follows:
365 <!--"bundle_id transcript_id length eff_length bundle_frac est_counts est_counts_var fpkm --!>
366 <table CELLSPACING=15>
367 <tr><th class="top" scope="col" width=4%>#</th><th class="top" scope="col" width=20%>Column Name</th><th class="top" scope="col" width=16%>Example</th><th class="top" scope="col" width=60%>Description</th></tr>
368 <tr><th scope="row">1</th><td>bundle_id</td><td><tt>10</tt></td><td>ID of bundle the target belongs to. A bundle is defined as the transitive closure of targets that share multi-mapping reads.</td></tr>
369 <tr><th scope="row">2</th><td>target_id</td><td><tt>NM_016467</tt></td><td>The ID given to the target in the input multi-FASTA file.</td></tr>
370 <tr><th scope="row">3</th><td>length</td><td><tt>2182</tt></td><td>The number of base pairs in the target sequence given in the input multi-FASTA file.</td></tr>
371 <tr><th scope="row">4</th><td>eff_length</td><td><tt>783.136288</tt></td><td>The length of the target adjusted for fragment biases (length, sequence-specificity, and relative position). This number is what the fragment counts are normalized by to calculate FPKM, not the true length.</td></tr>
372 <tr><th scope="row">5</th><td>tot_counts</td><td><tt>99</tt></td><td>The number of fragments mapping (uniquely or ambiguously) to this target.</td></tr>
373 <tr><th scope="row">6</th><td>uniq_counts</td><td><tt>7</tt></td><td>The number of fragments uniquely mapping to this target.</td></tr>
374 <tr><th scope="row">7</th><td>est_counts</td><td><tt>26.702456</tt></td><td>The estimated number of fragments generated from this target in the sequencing experiment.</td></tr>
375 <tr><th scope="row">8</th><td>eff_counts</td><td><tt>74.399258</tt></td><td>The estimated number of fragments generated from this target in the sequencing experiment, adjusted for fragment and length biases. In other words, his is the expected number of reads from the experiment if these biases did not exist. This is the value recommended for input to count-biased differential expression tools.</td></tr>
376 <tr><th scope="row">8</th><td>ambig_distr_alpha</td><td><tt>3.154652</tt></td><td>The alpha parameter for the posterior beta-binomial distribution fit to the ambiguous reads.</td></tr>
377 <tr><th scope="row">10</th><td>ambig_distr_beta</td><td><tt>2.293653</tt></td><td>The beta parameter for the posterior beta-binomial distribution fit to the ambiguous reads.</td></tr>
378 <tr><th scope="row">9</th><td>fpkm</td><td><tt>3.514176</tt></td><td>The estimated relative abundance of this target in the sample in units of <b>f</b>ragments <b>p</b>er <b>k</b>ilobase per <b>m</b>illion mapped. This value is proportional to est_counts divided by eff_length.</td></tr>
379 <tr><th scope="row">10</th><td>fpkm_conf_low</td><td><tt>2.119151</tt></td><td>The lower bound of the 95% confidence interval for the FPKM.</td></tr>
380 <tr><th scope="row">11</th><td>fpkm_conf_high</td><td><tt>4.909200</tt></td><td>The upper bound of the 95% confidence interval for the FPKM.</td></tr>
381 <tr><th scope="row">12</th><td>solvable</td><td><tt>T</tt></td><td>A binary (T/F) value indicating whether the likelihood function has a unique maximum. If false (F), the reported posterior distribution is uniform.</td></tr>
382 <tr><th scope="row">13</th><td>tpm</td><td><tt>2.347222e+05</tt></td><td>Transcripts per million. See <a href=http://lynchlab.uchicago.edu/publications/Wagner,%20Kin,%20and%20Lynch%20(2012).pdf>description</a>.</td></tr>
383 </table></p>
384 <p>See the <a href="overview.html#methods">Methods</a> for more details on how these values are calculated.</p>
385
386 <h2 id="param">Parameter Estimates (params.xprs)</h2>
387 <p>This file contains the values of the other parameters (besides abundances and counts) estimated by eXpress. The file is separated into sections for each parameter type, beginning with a '>' symbol. Following this symbol is the section header containing a name for the parameter type followed by the values on subsequent lines. All values belong to this parameter field until the next '>' or the end of the file. The following parameter types are output to this file:
388 <table CELLSPACING=15>
389 <tr><th class="top" scope="col" width=4%>#</th><th class="top" scope="col" width=16%>Parameter Type</th><th class="top" scope="col" width=25%>Description</th><th class="top" scope="col" width=55%>Output Format</th></tr>
390 <tr><th scope="row">1</th><td>Fragment Length Distribution</td><td>The empirical distribution on fragments lengths.</td><td>The fragment length range is listed next to the section header in paranthesis (0-800 by default). The next line contains a tab-delimited list of probabilities for these lengths in order.</td></tr>
391 <tr><th scope="row">2</th><td>First Read Mismatch</td><td>The first-order Markov model for mismatches between the reference and observed nucleotides for the first read sequenced in a pair.</td><td>Each line begins with the nucleotide position in the read followed by a colon (0-indexed). The column header denotes the which "substitution" the probability is for. For example, a value in the column labeled "CG->*T" in the row labeled 10 is the conditional probability that a read has a 'T' at the 11th position given it is mapped to a reference having a 'C' in the 10th position and a 'G' in the 11th. Note that since this is a conditional probability, CG->*A, CG->*C, CG->*G, CG->*T will sum to 1.</td></tr>
392 <tr><th scope="row">3</th><td>Second Read Mismatch</td><td>The first-order Markov model for mismatches between the reference and observed nucleotides for the second read sequenced in a pair.</td><td>Same as above.</td></tr>
393 <tr><th scope="row">4</th><td>5' Sequence-Specific Bias</td><td>Parameters relating to the likelihood of the sequence surrounding the 5' end of a fragment in transcript coordinates. See <a href="http://genomebiology.com/2011/12/3/R22/abstract">Roberts, et al. (2010a)</a> for more details.</td><td>This section is divided into 3 subsections. First is a matrix of the empirical nucleotide distribution for observed fragments ("Observed Marginal Distribution") at each position in a window surrounding the 5' end of the fragment. The column headers give the 0-indexed position number with negatives being upstream in the target sequence. Each row gives the probability for a different nucleotide, which is specified in the first column followed by a colon. Note that since this is a probability distribution, each column will sum to 1. The second subsection contains the "Observed Conditional Probabilities". These are the conditional probabilities for the 3rd order Markov model, the columns specifying the conditional event in the observed fragments and the row specifying the window position. The third matrix is the "Expected Conditional Probabilities". This matrix is similar to the previous, except the probabilities are calculated assuming target sampling based only on fragment length and relative abundance, and fragment sampling within a target dependent only on length (no sequence biases). Bias weights in eXpress are calculated by taking the ratio of obesrved to expected probability.</td></tr>
394 <tr><th scope="row">5</th><td>3' Sequence-Specific Bias</td><td>Parameters relating to the likelihood of the sequence surrounding the 3' end of a fragment in transcript coordinates. See <a href="http://genomebiology.com/2011/12/3/R22/abstract">Roberts, et al. (2010a)</a> for more details.</td><td>Same as above, except for the 3' fragment end.</td></tr>
395 </table></p>
396 <p>If multiple alignment files were provided, a separate parameter output will be output for each with a unique index identifying its position in the command-line argument given by the user (ie, the second SAM file in the argument list will be named 'params.2.xprs').</p>
397
398 <h2 id="covar">Count Variance-Covariance (varcov.xprs)</h2>
399 <p>This file is produced only when the <tt><a href="options">--calc-covars</a></tt> option flag is used as described <a href="#running">above</a>. The file contains the estimated variances and covariances on the counts between pairs of targets that shared multi-mapped reads, primarily to be used in differential expression analysis. Since the covariance between targets in different bundles is always 0, the full sparse matrix is broken up into smaller tab-delimited matrices for each bundle. An example of this output for the sample dataset used in the <a href=tutorial.html#example>Getting Starting</a> tutorial is shown below:</p>
400 <ol><li><pre class="output"><code>>>1: NM_014212
401 0.000000e+00
402 >2: NM_001168316, NM_174914, NR_031764
403 3.234847e+02 -2.570762e+02 -6.640854e+01
404 -2.570762e+02 4.082292e+02 -0.000000e+00
405 -6.640854e+01 -0.000000e+00 2.175616e+02
406 >3: NM_022658
407 0.000000e+00
408 >4: NM_173860
409 0.000000e+00
410 >5: NM_014620, NM_153693, NR_003084, NM_153633, NM_018953, NM_004503
411 2.067753e+02 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00
412 -0.000000e+00 6.035824e+01 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00
413 -0.000000e+00 -0.000000e+00 1.731434e+01 -0.000000e+00 -0.000000e+00 -0.000000e+00
414 -0.000000e+00 -0.000000e+00 -0.000000e+00 1.879961e+02 -0.000000e+00 -2.499948e-01
415 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00 1.149211e+01 -0.000000e+00
416 -0.000000e+00 -0.000000e+00 -0.000000e+00 -2.499948e-01 -0.000000e+00 4.581855e+01
417 >6: NM_017409
418 0.000000e+00
419 >7: NM_017410
420 0.000000e+00
421 >8: NM_006897
422 0.000000e+00</code></pre></li></ol>
423 <p>Each bundle's matrix is headed by an identifier line that begins with a greater than symbol (>) followed by the bundle id and a comma-separated list of targets in the bundle. The ordering of this list provides the indices for the matrix that is to follow. For example, in bundle 1 of the output above, the fifth value in the second row (-2.862072e+02) is the covariance between NM_153633 and NM_014620. Notice that an identical value is also in the second column of the fifth row, as the variance-covariance matrix will always be symmetric.</p>
424 <p>See the <a href="overview.html#methods">Methods</a> for more details on how these values are calculated.</p>
425 <p>&rarr; <a href="#top">Back to top.</a></p>
426 </div>
427 <div class="corner-content-1col-bottom"></div>
428 </div>
429
430 <!-- C.2 SUBCONTENT -->
431 <div class="subcontent">
432
433 <!-- SUBCONTENT CELL -->
434 <div class="corner-subcontent-top"></div>
435 <div class="subcontent-box">
436 <h1 class="menu">Outline</h1>
437 <div class="sidemenu1">
438 <!-- CONTENT CELL -->
439 <ul>
440 <li><a href="#doc">Documentation</a></li>
441 <li><a href="#usage">Usage</a></li>
442 <li><a href="#prereq">&rarr;Prerequisites</a></li>
443 <li><a href="#running">&rarr;Running eXpress</a></li>
444 <li><a href="#input">Input Files</a></li>
445 <li><a href="#fasta">&rarr;Target Sequences (FASTA)</a></li>
446 <li><a href="#sam">&rarr;Read Alignments (SAM/BAM)</a></li>
447 <li><a href="#output">Output Files</a></li>
448 <li><a href="#expr">&rarr;Target Abundances (results.xprs)</a></li>
449 <li><a href="#covar">&rarr;Variance-Covariance (varcov.xprs)</a></li>
450 </ul>
451 </div>
452 </div>
453 <div class="corner-subcontent-bottom"></div>
454
455 </div>
456 </div>
457
458 <!-- D. FOOTER -->
459 <div class="footer">
460 <p>Copyright &copy; 2011 Adam Roberts&nbsp;&nbsp;|&nbsp;&nbsp;All Rights Reserved</p>
461 <p class="credits">Design by <a href="http://1234.info/" title="Designer Homepage">1234.info</a> | Modified by <a href="http://cs.berkeley.edu/~adarob/">Adam Roberts</a> | <a href="http://validator.w3.org/check?uri=referer" title="Validate XHTML code">XHTML 1.0</a> | <a href="http://jigsaw.w3.org/css-validator/" title="Validate CSS code">CSS 2.0</a></p>
462 <br />
463 <p>The eXpress project was funded in part by an NSF graduate fellowship to Adam Roberts and NIH grant 1R01HG006129-01</p>
464 </div>
465 <div class="corner-page-bottom"></div>
466 </div>
467
468 </body>
469 </html>
470
471
472