<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: sam to bam conversion !!]]></title>
	<link>https://bioinformaticsonline.com/pages/view/35351/sam-to-bam-conversion?</link>
	<atom:link href="https://bioinformaticsonline.com/pages/view/35351/sam-to-bam-conversion?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/35351/sam-to-bam-conversion</guid>
	<pubDate>Fri, 26 Jan 2018 02:36:18 -0600</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/35351/sam-to-bam-conversion</link>
	<title><![CDATA[sam to bam conversion !!]]></title>
	<description><![CDATA[<p>To do sam to bam conversion, follow the following commands :-&nbsp;</p><div><div>Code:</div><pre dir="ltr">$ samtools view -b -S file.sam &gt; file.bam</pre></div><p>Then you will need to use&nbsp;<br /><br /></p><div><div>Code:</div><pre dir="ltr">$ samtools sort file.bam file-sorted</pre></div><p>followed by<br /><br /></p><div><div>Code:</div><pre dir="ltr">$ samtools index  file-sorted.bam</pre></div><p>in order to get an indexed file.<br /><br />If you just type&nbsp;<br /><br /></p><div><div>Code:</div><pre dir="ltr">$ samtools</pre></div><p>or samtools followed by the name of one of the samtools commands, you will get a few lines of help giving the correct syntax for that command,</p>]]></description>
	<dc:creator>Jit</dc:creator>
</item>

</channel>
</rss>