<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sabeel Mansuri &#8211; The Bowman Lab</title>
	<atom:link href="https://www.polarmicrobes.org/author/sabeel/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.polarmicrobes.org</link>
	<description>Marine Microbial Ecology</description>
	<lastBuildDate>Sat, 26 Jan 2019 20:03:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
<site xmlns="com-wordpress:feed-additions:1">188265837</site>	<item>
		<title>Tutorial: Nanopore Analysis Pipeline</title>
		<link>https://www.polarmicrobes.org/tutorial-nanopore-analysis-pipeline/</link>
					<comments>https://www.polarmicrobes.org/tutorial-nanopore-analysis-pipeline/#comments</comments>
		
		<dc:creator><![CDATA[Sabeel Mansuri]]></dc:creator>
		<pubDate>Fri, 07 Dec 2018 15:12:19 +0000</pubDate>
				<category><![CDATA[Computer tutorials]]></category>
		<guid isPermaLink="false">http://www.polarmicrobes.org/?p=2443</guid>

					<description><![CDATA[Introduction Hi! I&#8217;m Sabeel Mansuri, an Undergraduate Research Assistant for the Bowman Lab at the Scripps Institute of Oceanography, University of California San Diego. The following is a tutorial that demonstrates a pipeline used to assemble and annotate a bacterial &#8230; <a href="https://www.polarmicrobes.org/tutorial-nanopore-analysis-pipeline/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<h2>Introduction</h2>
<p>Hi! I&#8217;m Sabeel Mansuri, an Undergraduate Research Assistant for the Bowman Lab at the Scripps Institute of Oceanography, University of California San Diego. The following is a tutorial that demonstrates a pipeline used to assemble and annotate a bacterial genome from Oxford Nanopore MinION data.</p>
<p>This tutorial will require the following (brief installation instructions are included below):</p>
<ol>
<li><a href="https://canu.readthedocs.io/en/latest/">Canu Assembler</a></li>
<li><a href="https://rrwick.github.io/Bandage/">Bandage</a></li>
<li><a href="https://github.com/tseemann/prokka">Prokka</a></li>
<li><a href="https://github.com/tseemann/barrnap">Barrnap</a></li>
<li><a href="https://www.sanger.ac.uk/science/tools/dnaplotter">DNAPlotter</a> (alternatively <a href="http://circos.ca/">circos</a>)</li>
</ol>
<h2>Software Installation</h2>
<h3>Canu</h3>
<p>Canu is a packaged correction, trimming, and assembly program that is forked from the Celera assembler codebase. Install the latest release by running the following:</p>
<pre><code>git clone https://github.com/marbl/canu.git
cd canu/src
make</code></pre>
<h3>Bandage</h3>
<p>Bandage is an assembly visualization software. Install it by visiting <a href="https://github.com/rrwick/Bandage/releases/">this link</a>, and downloading the version appropriate for your device.</p>
<h3>Prokka</h3>
<p>Prokka is a gene annotation program. Install it by visiting <a href="https://github.com/tseemann/prokka">this link</a>, and running the installation commands appropriate for your device.</p>
<h3>Barrnap</h3>
<p>Barrnap is an rRNA prediction software used by Prokka. Install it by visiting <a href="https://github.com/tseemann/barrnap">this link</a>, and running the installation commands appropriate for your device.</p>
<h3>DNAPlotter</h3>
<p>DNAPlotter is a gene annotation visualization software. Install it by visiting <a href="https://www.sanger.ac.uk/science/tools/dnaplotter">this link</a>, and running the installation commands appropriate for your device.</p>
<h2>Dataset</h2>
<p>Download the nanopore dataset located <a href="https://www.polarmicrobes.org/extras/nanopore.tar.gz">here</a>. This is an isolate from a sample taken from a local saline lake at <a href="https://en.wikipedia.org/wiki/South_Bay_Salt_Works" rel="nofollow">South Bay Salt Works</a> near San Diego, California.</p>
<p>The download will provide a tarball. Extract it:</p>
<pre><code>tar -xvf nanopore.tar.gz
</code></pre>
<p>This will create a runs_fastq folder containing 8 fastq files containing genetic data.</p>
<h2>Assembly</h2>
<p>Canu can be used directly on the data without any preprocessing. The only additional information needed is an estimate of the genome size of the sample. For the saline isolate, we estimate 3,000,000 base pairs. Then, use the following Canu command to assemble our data:</p>
<pre><code>canu -nanopore_raw -p test_canu -d test_canu runs_fastq/*.fastq genomeSize=3000000 gnuplotTested=true
</code></pre>
<p>A quick description of all flags and parameters:</p>
<ul>
<li>-nanopore_raw &#8211; specifies data is Oxford Nanopore with no data preprocessing</li>
<li>-p &#8211; specifies prefix for output files, use “test_canu” as default</li>
<li>-d &#8211; specifies directory to run test and output files in, use “test_canu” as default</li>
<li>genomeSize &#8211; estimated genome size of isolate</li>
<li>gnuplotTested &#8211; setting to true will skip gnuplot testing; gnuplot is not needed for this pipeline</li>
</ul>
<p>Running this command will output various files into the test_canu directory. The assembled contigs are located in the test.contigs.fasta file. These contigs can be better visualized using Bandage.</p>
<h2>Assembly Visualization</h2>
<p>Opening Bandage and a GUI window should pop up. In the toolbar, click File &gt; Load Graph, and select the test.contigs.gfa. You should see something like the following:</p>
<p><a href="https://i0.wp.com/github.com/sabeelmansuri/bowman_archive/blob/master/Bandage.png?ssl=1" target="_blank" rel="noopener noreferrer"><img data-recalc-dims="1" decoding="async" class="aligncenter" src="https://i0.wp.com/github.com/sabeelmansuri/bowman_archive/raw/master/Bandage.png?w=300&#038;ssl=1"  /></a></p>
<p>This graph reveals that one of our contigs appears to be a whole circular chromosome! A quick comparison with the test.contigs.fasta file reveals this is Contig 1. We extract only this sequence from the contigs file to examine further. Note that the first contig takes up the first 38,673 lines of the file, so use <code>head</code>:</p>
<pre><code>head -n38673 test_canu/test_canu.contigs.fasta &gt;&gt; test_canu/contig1.fasta 
</code></pre>
<h2><a id="user-content-ncbi-blast" class="anchor" href="https://github.com/sabeelmansuri/bowman_archive/blob/master/Nanopore_Tutorial.md#ncbi-blast" aria-hidden="true"></a>NCBI BLAST</h2>
<p>We blast this Contig using NCBI’s nucleotide BLAST database (linked <a href="https://blast.ncbi.nlm.nih.gov/Blast.cgi" rel="nofollow">here</a>) with all default options. The top hit is:</p>
<pre><code>Hit: Halomonas sp. hl-4 genome assembly, chromosome: I  
Organism: Halomonas sp. hl-4  
Phylogeny: Bacteria/Proteobacteria/Gammaproteobacteria/Oceanospirillales/Halomonadaceae/Halomonas  
Max score: 65370  
Query cover: 72%  
E value: 0.0  
Ident 87%</code></pre>
<p>It appears this chromosome is the genome of an organism in the genus <em>Halomonas</em>. We may now be interested in the gene annotation of this genome.</p>
<h2>Gene Annotation</h2>
<p>Prokka will take care of gene annotation, the only required input is the contig1.fasta file.</p>
<pre><code>prokka --outdir circular --prefix test_prokka test_canu/contig1.fasta
</code></pre>
<p>The newly created circular directory contains various files with data on the gene annotation. Take a look inside test_prokka.txt for a summary of the annotation. We can take a quick look at the annotation using the DNAPlotter GUI.  For a more customized circular plot use circos.</p>
<p><a href="https://www.polarmicrobes.org/tutorial-nanopore-analysis-pipeline/dnaplotter/" rel="attachment wp-att-2450"><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="aligncenter wp-image-2450 size-full" src="https://i0.wp.com/www.polarmicrobes.org/wp-content/uploads/2018/12/dnaplotter.png?resize=640%2C640&#038;ssl=1" alt="" width="640" height="640" srcset="https://i0.wp.com/www.polarmicrobes.org/wp-content/uploads/2018/12/dnaplotter.png?w=690&amp;ssl=1 690w, https://i0.wp.com/www.polarmicrobes.org/wp-content/uploads/2018/12/dnaplotter.png?resize=150%2C150&amp;ssl=1 150w, https://i0.wp.com/www.polarmicrobes.org/wp-content/uploads/2018/12/dnaplotter.png?resize=300%2C300&amp;ssl=1 300w" sizes="(max-width: 640px) 100vw, 640px" /></a></p>
<h2><a id="user-content-summary" class="anchor" href="https://github.com/sabeelmansuri/bowman_archive/blob/master/Nanopore_Tutorial.md#summary" aria-hidden="true"></a>Summary</h2>
<p>The analysis above has taken Oxford Nanopore sequenced data, assembled contigs, identified the closest matching organism, and annotated its genome.</p>
<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.polarmicrobes.org%2Ftutorial-nanopore-analysis-pipeline%2F&amp;linkname=Tutorial%3A%20Nanopore%20Analysis%20Pipeline" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_mastodon" href="https://www.addtoany.com/add_to/mastodon?linkurl=https%3A%2F%2Fwww.polarmicrobes.org%2Ftutorial-nanopore-analysis-pipeline%2F&amp;linkname=Tutorial%3A%20Nanopore%20Analysis%20Pipeline" title="Mastodon" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.polarmicrobes.org%2Ftutorial-nanopore-analysis-pipeline%2F&amp;linkname=Tutorial%3A%20Nanopore%20Analysis%20Pipeline" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.polarmicrobes.org%2Ftutorial-nanopore-analysis-pipeline%2F&#038;title=Tutorial%3A%20Nanopore%20Analysis%20Pipeline" data-a2a-url="https://www.polarmicrobes.org/tutorial-nanopore-analysis-pipeline/" data-a2a-title="Tutorial: Nanopore Analysis Pipeline"></a></p>]]></content:encoded>
					
					<wfw:commentRss>https://www.polarmicrobes.org/tutorial-nanopore-analysis-pipeline/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2443</post-id>	</item>
	</channel>
</rss>
