Carrot root and DNA VCRU Bioinformatics USDA ARS Vegetable Crops Research Unit

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

Installation

  1. $ ver="0.7.9a"
  2. $ cd /programinstallers/
  3. $ wget -N http://downloads.sourceforge.net/project/bio-bwa/bwa-$ver.tar.bz2
  4. $ tar -jxvf bwa-$ver.tar.bz2
  5. $ cd bwa-$ver
  6. $ make
  7. $ mkdir /usr/local/bin/bwa-$ver
  8. $ 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'
  9. Install the manual
    $ gzip bwa.1
  10. $ sudo cp -puv bwa.1.gz /usr/share/man/man1/
  11. Make a version-independent symlink
    $ cd /usr/local/bin/
  12. $ ln -s bwa-$ver bwa
  13. Add to default path for all users
    $ sudo nano /etc/profile
    ...
    PATH="$PATH:/usr/local/bin/bwa"
    ...
  14. Cleanup
    $ rm /programinstallers/bwa-$ver -rf