Debian Codegraph @

html/manual.html

raw symbols ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
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 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
21 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
22 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
23 })();
24
25 </script>
26 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
27 <meta http-equiv="cache-control" content="no-cache" />
28 <meta http-equiv="expires" content="3600" />
29 <meta name="revisit-after" content="2 days" />
30 <meta name="robots" content="index,follow" />
31 <meta name="publisher" content="Your publisher infos here" />
32 <meta name="copyright" content="Copyright (c) 2011 Adam Roberts" />
33 <meta name="author" content="Designed by www.1234.info / Modified: Adam Roberts" />
34 <meta name="distribution" content="global" />
35 <meta name="image" content="http://bio.math.berkeley.edu/eXpress/img/logo.png" />
36 <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." />
37 <meta name="keywords" content="RNA-Seq, Genomics, transcript,quantification" />
38 <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/mf54_reset.css" />
39 <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/mf54_grid.css" />
40 <link rel="stylesheet" type="text/css" media="screen,projection,print" href="./css/mf54_content.css" />
41 <link rel="icon" type="image/x-icon" href="./img/favicon.ico" />
42 <title>eXpress &bull; Manual</title>
43 <script language="Javascript">
44 logo1=new Image
45 logo1.src="img/logo.png"
46 logo2=new Image
47 logo2.src="img/logo_yellow.png"
48 </script>
49 <title>eXpress &bull; Manual</title>
50 </head>
51
52 <!-- Global IE fix to avoid layout crash when single word size wider than column width -->
53 <!-- Following line MUST remain as a comment to have the proper effect -->
54 <!--[if IE]><style type="text/css"> body {word-wrap: break-word;}</style><![endif]-->
55
56
57
58 <body>
59 <!-- CONTAINER FOR ENTIRE PAGE -->
60 <div class="container">
61
62 <!-- A. HEADER -->
63 <div class="corner-page-top"></div>
64 <div class="header">
65 <div class="header-top">
66
67 <!-- A.1 SITENAME -->
68 <div class="sitelogo">
69 <ul>
70 <li><a href="#" onMouseOver="document.logo.src=logo2.src" onMouseOut="document.logo.src=logo1.src"><img name="logo" src="img/logo.png"/></a></li>
71 </ul>
72 </div>
73 <div class="sitename">
74 <h1><a href="#">eXpress</a></h1>
75 &nbsp;
76 <h2><i>Streaming</i> quantification for high-throughput sequencing</h2>
77 </div>
78
79 <!-- A.2 BUTTON NAVIGATION -->
80 <div class="navbutton">
81 <ul>
82 <li><a href="http://www.berkeley.edu"><img src="img/berkeley_seal.gif"/></a></li>
83 </ul>
84 </div>
85 </div>
86
87 <!-- A.4 BREADCRUMB and SEARCHFORM -->
88 <div class="header-bottom">
89
90 <!-- Search form -->
91 <div class="searchform" id="cse-search-form" style="padding-top:4px; width:30%;">Loading</div>
92 <script src="http://www.google.com/jsapi" type="text/javascript"></script>
93 <script type="text/javascript">
94 google.load('search', '1', {language : 'en'});
95 google.setOnLoadCallback(function() {
96 var customSearchControl = new google.search.CustomSearchControl('017113487431020499685:jdftct1emrw');
97 customSearchControl.setResultSetSize(google.search.Search.FILTERED_CSE_RESULTSET);
98 var options = new google.search.DrawOptions();
99 options.enableSearchboxOnly("http://www.google.com/cse?cx=017113487431020499685:jdftct1emrw", null, true);
100 customSearchControl.draw('cse-search-form', options);
101 }, true);
102 </script>
103 <link rel="stylesheet" href="css/googlesearch.css" type="text/css" />
104
105 </div>
106 </div>
107 <div class="corner-page-bottom"></div>
108
109 <!-- B. NAVIGATION BAR -->
110 <div class="corner-page-top"></div>
111 <div class="navbar">
112
113 <!-- Navigation item -->
114 <ul>
115 <li><a href="index.html">Home</a></li>
116 </ul>
117 <!-- Navigation item -->
118 <ul>
119 <li><a href="overview.html">About</a></li>
120 </ul>
121 <!-- Navigation item -->
122 <ul>
123 <li><a href="#">Download<!--[if IE 7]><!--></a><!--<![endif]-->
124 <!--[if lte IE 6]><table><tr><td><![endif]-->
125 <ul>
126 <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>
127 <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>
128 <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>
129 <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>
130 <li><a href="downloads" onClick="_gaq.push(['_trackEvent', 'Downloads', 'Previous','Manual']);">Previous Versions</a></li>
131 </ul>
132 <!--[if lte IE 6]></td></tr></table></a><![endif]-->
133 </li>
134 </ul>
135 <ul>
136 <li><a href="tutorial.html">Getting Started</a></li>
137 </ul>
138 <ul>
139 <li><a href="https://github.com/adarob/eXpress">Source</a></li>
140 </ul>
141 <ul>
142 <li><a href="manual.html">Manual</a></li>
143 </ul>
144 <ul>
145 <li><a href="faq.html">FAQ</a></li>
146 </ul>
147 </div>
148
149 <!-- C. MAIN SECTION -->
150 <div class="main">
151 <h1 class="pagetitle">Manual</h1>
152
153 <!-- C.1 CONTENT -->
154 <div class="content">
155
156 <!-- CONTENT CELL -->
157 <div class="corner-content-1col-top"></div>
158 <div class="content-1col-nobox">
159
160 <h1 id="doc">Documentation</h1>
161 <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>
162 <p>&rarr; <a href="#top">Back to top.</a></p>
163 </div>
164 <div class="corner-content-1col-bottom"></div>
165 <!-- CONTENT CELL -->
166 <div class="corner-content-1col-top"></div>
167 <div class="content-1col-nobox">
168
169
170 <h1 id="usage">Usage</h1>
171 <h2 id="prereq">Prerequisites</h2>
172 <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>
173 <h2 id="running">Running eXpress</h2>
174 <p>Run <tt>eXpress</tt> from the command line as follows:
175 <ul><pre class="sc"><code>$ express [options]* &lt;target_seqs.fasta&gt; &lt;aligned_reads.(sam/bam)&gt;</code></pre></ul></p>
176
177 <p id="options">The following is a detailed description of the options used to control eXpress:
178 <table>
179 <tr><td WIDTH=40% VALIGN=top><b>Arguments:</b></td><td WIDTH=60% VALIGN=top></td></tr>
180
181 <tr><td VALIGN=top nowrap><tt>&lt;target_seqs.fasta&gt;</tt></td>
182 <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>
183
184 <tr><td VALIGN=top nowrap><tt>&lt;lib_1.sam,lib_2.sam,...,lib_N.sam&gt;</tt></td>
185 <td VALIGN=top>A comma-separated list of filenames for reads aligned to the target sequences in <a href="http://samtools.sourceforge.net">
186 SAM format</a>. See <a href="#sam">Input Files</a> for more details.</td></tr>
187
188 <tr><td VALIGN=top><b>Standard Options:</b></td><td VALIGN=top></td></tr>
189
190 <tr><td VALIGN=top nowrap><tt>-h/--help</tt> </td>
191 <td VALIGN=top>Prints the help message and exits</td></tr>
192
193 <tr><td VALIGN=top nowrap>
194 <tt>-o/--output-dir &lt;string&gt;</tt>
195 </td><td VALIGN=top>
196 Sets the name of the directory in which eXpress will write all of its
197 output. The default is "./".
198 </td></tr>
199
200 <tr><td VALIGN=top nowrap>
201 <tt>-B/--additional-batch &lt;int&gt;</tt>
202 </td><td VALIGN=top>
203 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.
204 </td></tr>
205
206 <tr><td VALIGN=top nowrap>
207 <tt>-O/--additional-online &lt;int&gt;</tt>
208 </td><td VALIGN=top>
209 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.
210 </td></tr>
211
212 <tr><td VALIGN=top nowrap>
213 <tt>-m/--frag-len-mean &lt;int&gt;</tt>
214 </td><td VALIGN=top>
215 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.
216 </td></tr>
217
218 <tr><td VALIGN=top nowrap>
219 <tt>-s/--frag-len-stddev &lt;int&gt;</tt>
220 </td><td VALIGN=top>
221 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.
222 </td></tr>
223
224 <tr><td VALIGN=top nowrap>
225 <tt>-H/--haplotype-file &lt;string&gt;</tt>
226 </td><td VALIGN=top>
227 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.
228 </td></tr>
229
230 <tr><td VALIGN=top nowrap>
231 <tt>--output-align-prob</tt>
232 </td><td VALIGN=top>
233 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.
234 </td></tr>
235
236 <tr><td VALIGN=top nowrap>
237 <tt>--output-align-samp</tt>
238 </td><td VALIGN=top>
239 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.
240 </td></tr>
241
242 <tr><td VALIGN=top nowrap>
243 <tt>--fr-stranded</tt>
244 </td><td VALIGN=top>
245 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.
246 </td></tr>
247
248 <tr><td VALIGN=top nowrap>
249 <tt>--rf-stranded</tt>
250 </td><td VALIGN=top>
251 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.
252 </td></tr>
253
254 <tr><td VALIGN=top nowrap>
255 <tt>--f-stranded</tt>
256 </td><td VALIGN=top>
257 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.
258 </td></tr>
259
260 <tr><td VALIGN=top nowrap>
261 <tt>--r-stranded</tt>
262 </td><td VALIGN=top>
263 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.
264 </td></tr>
265
266 <tr><td VALIGN=top nowrap>
267 <tt>--no-update-check</tt>
268 </td><td VALIGN=top>
269 With this option, eXpress will not ping our server to see if a newer version is available.
270 </td></tr>
271
272 <tr><td VALIGN=top><b>Advanced Options:</b></td><td VALIGN=top></td></tr>
273
274 <tr><td VALIGN=top nowrap>
275 <tt>-f/--forget-param &lt;float&gt;</tt>
276 </td><td VALIGN=top>
277 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.
278 </td></tr>
279
280 <tr><td VALIGN=top nowrap>
281 <tt>--library-size &lt;int&gt;</tt>
282 </td><td VALIGN=top>
283 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.
284 </td></tr>
285
286 <tr><td VALIGN=top nowrap>
287 <tt>--max-indel-size &lt;int&gt;</tt>
288 </td><td VALIGN=top>
289 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.
290 </td></tr>
291
292 <tr><td VALIGN=top nowrap>
293 <tt>--calc-covar</tt>
294 </td><td VALIGN=top>
295 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.
296 </td></tr>
297
298 <tr><td VALIGN=top nowrap>
299 <tt>--expr-alpha &lt;float&gt;</tt>
300 </td><td VALIGN=top>
301 A parameter specifying the weight of uniform the target abundance prior, in pseudo-counts per bp. The default is 0.01.
302 </td></tr>
303
304 <tr><td VALIGN=top nowrap>
305 <tt>--stop-at &lt;int&gt;</tt>
306 </td><td VALIGN=top>
307 A parameter specifying the number of fragments to process before quitting.
308 </td></tr>
309
310 <tr><td VALIGN=top nowrap>
311 <tt>--burn-out &lt;int&gt;</tt>
312 </td><td VALIGN=top>
313 A parameter specifying the number of fragments after which to stop learning the auxiliary parameters (fragment length, bias, error).
314 </td></tr>
315
316 <tr><td VALIGN=top nowrap>
317 <tt>--no-bias-correct</tt>
318 </td><td VALIGN=top>
319 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.
320 </td></tr>
321
322 <tr><td VALIGN=top nowrap>
323 <tt>--no-error-model</tt>
324 </td><td VALIGN=top>
325 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.
326 </td></tr>
327
328 <tr><td VALIGN=top nowrap>
329 <tt>--aux-param-file &lt;string&gt;</tt>
330 </td><td VALIGN=top>
331 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.
332 </td></tr>
333
334 </table></p>
335
336 <p>&rarr; <a href="#top">Back to top.</a></p>
337 </div>
338 <div class="corner-content-1col-bottom"></div>
339
340 <!-- CONTENT CELL -->
341 <div class="corner-content-1col-top"></div>
342 <div class="content-1col-nobox">
343 <h1 id="input">Input Files</h1>
344 <h2 id="fasta">Target Sequences (FASTA)</h2>
345 <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
346 the transcriptome of your organism is not
347 annotated, you can generate this file from your sequencing
348 reads using a <i>de novo</i> transcriptome assembler such as
349 <a href=http://trinityrnaseq.sourceforge.net/>Trinity</a>, <a
350 href=http://www.ebi.ac.uk/~zerbino/oases/>Oases</a>, or <a
351 href=http://www.bcgsc.ca/platform/bioinfo/software/trans-abyss>Trans-ABySS</a>.
352 If your organism has a reference genome, you can assemble
353 transcripts directly from mapped reads using <a
354 href="http://cufflinks.cbcb.umd.edu/">Cufflinks</a>. If your genome is already annotated (in
355 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>
356
357 <h2 id="sam">Read Alignments (SAM/BAM)</h2>
358 <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>
359 <p>
360 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
361 should ensure that they are properly sorted. You can sort your SAM using the following command:
362 <ol><pre class="sc"><code>sort -k 1 hits.sam > hits.sam.sorted</code></pre></ol></p>
363 <p>You can sort your BAM using this command:
364 <ol><pre class="sc"><code>samtools sort -n hits.bam hits.sorted</code></pre></ol></p>
365 <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>
366 <p>&rarr; <a href="#top">Back to top.</a></p>
367 </div>
368 <div class="corner-content-1col-bottom"></div>
369
370 <!-- CONTENT CELL -->
371 <div class="corner-content-1col-top"></div>
372 <div class="content-1col-nobox">
373 <h1 id="output">Output Files</h1>
374 <h2 id="expr">Target Abundances (results.xprs)</h2>
375 <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:
376 <!--"bundle_id transcript_id length eff_length bundle_frac est_counts est_counts_var fpkm --!>
377 <table CELLSPACING=15>
378 <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>
379 <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>
380 <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>
381 <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>
382 <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>
383 <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>
384 <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>
385 <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>
386 <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>
387 <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>
388 <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>
389 <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>
390 <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>
391 <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>
392 <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>
393 <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>
394 </table></p>
395 <p>See the <a href="overview.html#methods">Methods</a> for more details on how these values are calculated.</p>
396
397 <h2 id="param">Parameter Estimates (params.xprs)</h2>
398 <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:
399 <table CELLSPACING=15>
400 <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>
401 <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>
402 <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>
403 <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>
404 <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>
405 <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>
406 </table></p>
407 <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>
408
409 <h2 id="covar">Count Variance-Covariance (varcov.xprs)</h2>
410 <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>
411 <ol><li><pre class="output"><code>>>1: NM_014212
412 0.000000e+00
413 >2: NM_001168316, NM_174914, NR_031764
414 3.234847e+02 -2.570762e+02 -6.640854e+01
415 -2.570762e+02 4.082292e+02 -0.000000e+00
416 -6.640854e+01 -0.000000e+00 2.175616e+02
417 >3: NM_022658
418 0.000000e+00
419 >4: NM_173860
420 0.000000e+00
421 >5: NM_014620, NM_153693, NR_003084, NM_153633, NM_018953, NM_004503
422 2.067753e+02 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00
423 -0.000000e+00 6.035824e+01 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00
424 -0.000000e+00 -0.000000e+00 1.731434e+01 -0.000000e+00 -0.000000e+00 -0.000000e+00
425 -0.000000e+00 -0.000000e+00 -0.000000e+00 1.879961e+02 -0.000000e+00 -2.499948e-01
426 -0.000000e+00 -0.000000e+00 -0.000000e+00 -0.000000e+00 1.149211e+01 -0.000000e+00
427 -0.000000e+00 -0.000000e+00 -0.000000e+00 -2.499948e-01 -0.000000e+00 4.581855e+01
428 >6: NM_017409
429 0.000000e+00
430 >7: NM_017410
431 0.000000e+00
432 >8: NM_006897
433 0.000000e+00</code></pre></li></ol>
434 <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>
435 <p>See the <a href="overview.html#methods">Methods</a> for more details on how these values are calculated.</p>
436 <p>&rarr; <a href="#top">Back to top.</a></p>
437 </div>
438 <div class="corner-content-1col-bottom"></div>
439 </div>
440
441 <!-- C.2 SUBCONTENT -->
442 <div class="subcontent">
443
444 <!-- SUBCONTENT CELL -->
445 <div class="corner-subcontent-top"></div>
446 <div class="subcontent-box">
447 <h1 class="menu">Outline</h1>
448 <div class="sidemenu1">
449 <!-- CONTENT CELL -->
450 <ul>
451 <li><a href="#doc">Documentation</a></li>
452 <li><a href="#usage">Usage</a></li>
453 <li><a href="#prereq">&rarr;Prerequisites</a></li>
454 <li><a href="#running">&rarr;Running eXpress</a></li>
455 <li><a href="#input">Input Files</a></li>
456 <li><a href="#fasta">&rarr;Target Sequences (FASTA)</a></li>
457 <li><a href="#sam">&rarr;Read Alignments (SAM/BAM)</a></li>
458 <li><a href="#output">Output Files</a></li>
459 <li><a href="#expr">&rarr;Target Abundances (results.xprs)</a></li>
460 <li><a href="#covar">&rarr;Variance-Covariance (varcov.xprs)</a></li>
461 </ul>
462 </div>
463 </div>
464 <div class="corner-subcontent-bottom"></div>
465
466 </div>
467 </div>
468
469 <!-- D. FOOTER -->
470 <div class="footer">
471 <p>Copyright &copy; 2011 Adam Roberts&nbsp;&nbsp;|&nbsp;&nbsp;All Rights Reserved</p>
472 <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>
473 <br />
474 <p>The eXpress project was funded in part by an NSF graduate fellowship to Adam Roberts and NIH grant 1R01HG006129-01</p>
475 </div>
476 <div class="corner-page-bottom"></div>
477 </div>
478
479 </body>
480 </html>
481
482
483