<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ReptileErrorCorrection</title><link>https://sourceforge.net/p/ngopt/wiki/ReptileErrorCorrection/</link><description>Recent changes to ReptileErrorCorrection</description><atom:link href="https://sourceforge.net/p/ngopt/wiki/ReptileErrorCorrection/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 02 Apr 2014 04:47:55 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/ngopt/wiki/ReptileErrorCorrection/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for ReptileErrorCorrection page</title><link>https://sourceforge.net/p/ngopt/wiki/ReptileErrorCorrection/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Originally posted by: &lt;a class="" href="http://code.google.com/u/109926089826509741449/" rel="nofollow"&gt;eks.y...@gmail.com&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Reptile Error correction has been updated to include a tool for choosing default parameters for each input dataset &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 02 Apr 2014 04:47:55 -0000</pubDate><guid>https://sourceforge.net0c3d60c3f065d7b1ef5ada351f72862d4a549d0c</guid></item><item><title>ReptileErrorCorrection modified by Anonymous</title><link>https://sourceforge.net/p/ngopt/wiki/ReptileErrorCorrection/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;
&lt;p&gt;This page will describe how to use NGOpt tools with Reptile to correct errors in Illumina reads. &lt;/p&gt;
&lt;h1 id="prerequisites"&gt;Prerequisites&lt;/h1&gt;
&lt;p&gt;You will need the following packages/programs. They will need to be in your executable path: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="" href="http://aluru-sun.ece.iastate.edu/doku.php?id=reptile" rel="nofollow"&gt;Reptile&lt;/a&gt; - error-correction software &lt;/li&gt;
&lt;li&gt;NGOpt toolkit &lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="step-1-convert-fastq-to-fastaqual-files"&gt;Step 1. Convert Fastq to Fasta+Qual Files.&lt;/h2&gt;
&lt;p&gt;In the directory containing &lt;code&gt;my_reads.fastq&lt;/code&gt;, run: &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;  &lt;span class="nt"&gt;&amp;lt;ngopt&lt;/span&gt;&lt;span class="na"&gt;_trunk&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;/tools/quality/reptile_fq-converter ./ ./  2
&lt;/pre&gt;&lt;/div&gt;
&lt;blockquote&gt;
&lt;p&gt;This will create &lt;strong&gt;three&lt;/strong&gt; files, &lt;code&gt;my_reads.fa&lt;/code&gt; , &lt;code&gt;my_reads.q&lt;/code&gt;, and &lt;code&gt;my_reads.map.txt&lt;/code&gt;. Because Reptile changes the original sequence names to arbitrary names, I have posted a hack on NGOpt that will produce a &lt;code&gt;.map.txt&lt;/code&gt; file. We will use this file later to rename our reads to the original names. &lt;/p&gt;
&lt;p&gt;Note: All files ending in .fastq in the current directory will be processed. &lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2 id="step-2-create-reptile-config-file"&gt;Step 2. Create Reptile Config-File&lt;/h2&gt;
&lt;p&gt;Copy the Reptile config-file template from the Reptile directory and change as needed. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;  &lt;span class="nx"&gt;cp&lt;/span&gt; &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nx"&gt;path_to_reptile&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;/&lt;/span&gt;&lt;span class="nb"&gt;src&lt;/span&gt;&lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;config&lt;/span&gt;&lt;span class="err"&gt;~&lt;/span&gt; &lt;span class="nx"&gt;.&lt;/span&gt;&lt;span class="p"&gt;/&lt;/span&gt;&lt;span class="nx"&gt;my_reads.rec.conf&lt;/span&gt;
  &lt;span class="nx"&gt;vim&lt;/span&gt; &lt;span class="nx"&gt;my_reads.rec.conf&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Edit &lt;code&gt;my_reads.rec.conf&lt;/code&gt; to specify input and output files. &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Modify line beginning with "&lt;code&gt;InFaFile&lt;/code&gt;" to contain &lt;code&gt;my_reads.fa&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Modify line beginning with "&lt;code&gt;IQFile&lt;/code&gt;" to contain &lt;code&gt;my_reads.q&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Modify line beginning with "&lt;code&gt;OErrFile&lt;/code&gt;" to contain the desired name of the output file. &lt;ul&gt;
&lt;li&gt;This output file will not be corrected reads. We are going to run another command on this file to get our corrected reads. Let's call the file &lt;code&gt;reptile-output&lt;/code&gt;&lt;br /&gt;
If you are more educated in the Reptile Error Correction process, feel free to modify any of other run configurations. &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="step-3-run-reptile-error-correction"&gt;Step 3. Run Reptile Error Correction&lt;/h2&gt;
&lt;p&gt;Run &lt;code&gt;reptile&lt;/code&gt; with the config file from previous step. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;  &lt;span class="n"&gt;reptile&lt;/span&gt; &lt;span class="n"&gt;my_reads&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rec&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This will produce the file &lt;code&gt;reptile-output&lt;/code&gt;, as mentioned in the previous step. &lt;/p&gt;
&lt;h2 id="step-4-merge-corrections"&gt;Step 4. Merge Corrections&lt;/h2&gt;
&lt;p&gt;Now that we've identified our errors, we will merge them to get back corrected reads. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;  &lt;span class="n"&gt;reptile_merger&lt;/span&gt; &lt;span class="n"&gt;my_reads&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fa&lt;/span&gt; &lt;span class="n"&gt;reptile&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;output&lt;/span&gt; &lt;span class="n"&gt;my_reads&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rec&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fasta&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;The third argument to &lt;code&gt;reptile_merger&lt;/code&gt; is the output file. This file will contain our corrected reads. &lt;/p&gt;
&lt;h2 id="step-5-rename-corrected-reads"&gt;Step 5. Rename Corrected Reads&lt;/h2&gt;
&lt;p&gt;To get back the original read names, we can use a script from NGOpt--&lt;code&gt;reptile_rename&lt;/code&gt;. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;ngopt&lt;/span&gt;&lt;span class="na"&gt;_trunk&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;/tools/quality/reptile_rename my_reads.map.txt my_reads.rec.fasta &amp;gt; my_reads.rec.renamed.fasta
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;We now have corrected reads with their original names in &lt;code&gt;my_reads.rec.renamed.fasta&lt;/code&gt;. &lt;/p&gt;
&lt;h2 id="where-to-next"&gt;Where to next?&lt;/h2&gt;
&lt;p&gt;If you have a paired-end library, you might want to re-pair reads with broken pairings. You can use the program &lt;code&gt;repair&lt;/code&gt; in the NGOpt toolkit to fix broken pairings. &lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;repair&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;s&lt;/span&gt; &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fasta&lt;/span&gt; &lt;span class="n"&gt;my_reads&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rec&lt;/span&gt; &lt;span class="n"&gt;my_reads&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rec&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;renamed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;fasta&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;This will produce &lt;strong&gt;three&lt;/strong&gt; files: &lt;code&gt;my_reads.rec_p1.fasta&lt;/code&gt;, &lt;code&gt;my_reads.rec_p2.fasta&lt;/code&gt;, and &lt;code&gt;my_reads.rec_up.fasta&lt;/code&gt;. The third file contains reads with a missing pair. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 02 Apr 2014 04:47:54 -0000</pubDate><guid>https://sourceforge.net9ca33a3248c920c659cb7757f844ba2a8e80004b</guid></item></channel></rss>