<?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: Install Samtools, Bcftools and htslib on Ubuntu !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/40756/install-samtools-bcftools-and-htslib-on-ubuntu?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/40756/install-samtools-bcftools-and-htslib-on-ubuntu?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/40756/install-samtools-bcftools-and-htslib-on-ubuntu</guid>
	<pubDate>Wed, 29 Jan 2020 06:47:15 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/40756/install-samtools-bcftools-and-htslib-on-ubuntu</link>
	<title><![CDATA[Install Samtools, Bcftools and htslib on Ubuntu !]]></title>
	<description><![CDATA[<code>#Inspired from online search
sudo apt-get update
sudo apt-get install gcc
sudo apt-get install make
sudo apt-get install libbz2-dev
sudo apt-get install zlib1g-dev
sudo apt-get install libncurses5-dev 
sudo apt-get install libncursesw5-dev
sudo apt-get install liblzma-dev

cd /usr/bin
wget https://github.com/samtools/htslib/releases/download/1.9/htslib-1.9.tar.bz2
tar -vxjf htslib-1.9.tar.bz2
cd htslib-1.9
make

cd ..
wget https://github.com/samtools/samtools/releases/download/1.9/samtools-1.9.tar.bz2
tar -vxjf samtools-1.9.tar.bz2
cd samtools-1.9
make

cd ..
wget https://github.com/samtools/bcftools/releases/download/1.9/bcftools-1.9.tar.bz2
tar -vxjf bcftools-1.9.tar.bz2
cd bcftools-1.9
make

export PATH=&quot;$PATH:/usr/bin/bcftools-1.9&quot;
export PATH=&quot;$PATH:/usr/bin/samtools-1.9&quot;
export PATH=&quot;$PATH:/usr/bin/htslib-1.9&quot;
source ~/.profile

echo &quot;All done&quot;</code>]]></description>
	<dc:creator>Neel</dc:creator>
</item>

</channel>
</rss>