My mind is like an Internet browser. At least 19 tabs open, three are frozen and I have no clue where the music is coming from.


Compiling and installing bwa version 0.7.12-r1039

Download the source from Sourceforge to some directory where you can unpack and compile. Say it is your home directory:

  1. cd /home/jannetta

Unpack the code:

  1. bunzip2 bwa-0.7.12.tar.bz2
  2. tar xvf bwa-0.7.12.tar

If you have not yet installed make, gcc and zlib then do so now:

  1. sudo apt-get make
  2. sudo apt-get gcc
  3. sudo apt-get alib1g-dev

Make bwa:

  1. sudo make

bwa does not appear to have an install script so it is up to you to copy it to somewhere sensible and then create a path to it. I placed it in /opt/bwa:

  1. sudo mkdir /opt/bwa
  2. mv bwa /opt/bwa
  3. export PATH=$PATH:/opt/bwa