This page was last updated on Saturday, 02-Aug-2014 09:59:31 CDT
Installation notes for BWA version 0.7.9a
Home Page
Prerequisites
zlib
- $ sudo apt-get install zlib1g-dev
Installation
- $ ver="0.7.9a"
- $ cd /programinstallers/
- $ wget -N http://downloads.sourceforge.net/project/bio-bwa/bwa-$ver.tar.bz2
- $ tar -jxvf bwa-$ver.tar.bz2
- $ cd bwa-$ver
- $ make
- $ mkdir /usr/local/bin/bwa-$ver
- $ cp -puv bwa *.pl /usr/local/bin/bwa-$ver/
`bwa' -> `/usr/local/bin/bwa-0.7.9a/bwa
`qualfa2fq.pl' -> `/usr/local/bin/bwa-0.7.9a/qualfa2fq.pl'
`xa2multi.pl' -> `/usr/local/bin/bwa-0.7.9a/xa2multi.pl'
- Install the manual
$ gzip bwa.1
- $ sudo cp -puv bwa.1.gz /usr/share/man/man1/
- Make a version-independent symlink
$ cd /usr/local/bin/
- $ ln -s bwa-$ver bwa
- Add to default path for all users
$ sudo nano /etc/profile
...
PATH="$PATH:/usr/local/bin/bwa"
...
- Cleanup
$ rm /programinstallers/bwa-$ver -rf