<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Basic</title><link>https://sourceforge.net/p/hilive/wiki/Basic/</link><description>Recent changes to Basic</description><atom:link href="https://sourceforge.net/p/hilive/wiki/Basic/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 26 Sep 2015 14:19:31 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/hilive/wiki/Basic/feed" rel="self" type="application/rss+xml"/><item><title>Basic modified by Martin S. Lindner</title><link>https://sourceforge.net/p/hilive/wiki/Basic/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="alink" href="/p/hilive/wiki/Home/"&gt;[Home]&lt;/a&gt;&lt;/p&gt;
&lt;h1 id="basic-usage-and-examples"&gt;Basic usage and examples&lt;/h1&gt;
&lt;p&gt;Similar to conventional read mappers, HiLive is a command line tool and is configured by command line parameters. It consists of two parts:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;hilive, the mapper itself, and&lt;/li&gt;
&lt;li&gt;hilive-build, the tool to prepare the reference genome k-mer index.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The first step is to create the k-mer index from the reference genome. The runtime, memory consuption, and size of the index scale exponentially with k and linearly with the size of the reference genome. Note that the k of the hilive-build tool (and thus the k-mer index) matches the hilive mapper. See &lt;a class="alink" href="/p/hilive/wiki/Requirements/"&gt;[Requirements]&lt;/a&gt; to learn how HiLive is built with a different k.&lt;/p&gt;
&lt;p&gt;In default mode, HiLive requires only three parameters: the location of the BCL files, the location of the k-mer index, and the number of cycles (aka read length). The number of cycles can also be set below the real read length to obtain the alignments for the inclomplete reads already before the sequencing run is finished.&lt;/p&gt;
&lt;h2 id="hilive-build"&gt;hilive-build&lt;/h2&gt;
&lt;p&gt;hilive-build requires the reference genomes in a single FASTA formated file. The file may contain multiple records, such as chromosomes, organisms, etc. (multi-fasta format).&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;hilive-build input.fa
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The index is written to the file input.fa.kix.&lt;/p&gt;
&lt;p&gt;If the index is built from a large or highly repretitive reference genome, it makes sense to use trimming, i.e. removing k-mers from the index that occurr more than x times in the index. This can strongly reduce run time and is highly recommended. The following example discards k-mers that occur more than 1000 times:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;hilive-build -t 1000 -o trimmed.kix input.fa
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The index is written into the file trimmed.kix &lt;/p&gt;
&lt;h2 id="hilive"&gt;hilive&lt;/h2&gt;
&lt;p&gt;To map reads from a 100bp sequencing run using default settings call&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;hilive /path/to/BaseCalls /path/to/index.kix 100
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The BaseCalls directory is located in &lt;code&gt;&amp;lt;run directory&amp;gt;/Data/Intensities/BaseCalls&lt;/code&gt;, where the &lt;code&gt;&amp;lt;run directory&amp;gt;&lt;/code&gt; points to the location of the run directory on the HiSeq or MiSeq machine (e.g. a Samba share). Ideally you prepare and start the sequencing run and then call HiLive. Then, HiLive will wait for the first BCL files to be written by the sequencer. There is an automatic time-out after one hour.&lt;/p&gt;
&lt;p&gt;We highly recommend to adjust the numbers of threads used by HiLive with -n. If possible, make use of all cores on the machine!&lt;/p&gt;
&lt;p&gt;&lt;a class="alink" href="/p/hilive/wiki/Home/"&gt;[Home]&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Martin S. Lindner</dc:creator><pubDate>Sat, 26 Sep 2015 14:19:31 -0000</pubDate><guid>https://sourceforge.net5dec078e93a624f94e2b8fbe9c7807552f517162</guid></item></channel></rss>