Monday 29 April 2013

XAMPP is currently only available as 32 bit application. Please use a 32 bit compatibility library for your system.

XAMPP is currently only available as 32 bit application. Please use a 32 bit compatibility library for your system.

This issue mainly faces when you are trying to install xampp in CentOS. It is because CentOS distro and installation lack many of the libraries  including 32 bit compatibility libraries. So it requires more work to get XAMPP running than on other distros like Ubuntu.

Steps to resolve the issue
1. To get 32 bit compatibility libraries type the below command in terminal
     yum -y install glibc* libstd* ld-linux.so.2
2. Start the xampp from terminal
    /opt/lampp/lampp start 

 

Thursday 25 April 2013

Install Burrows-Wheeler Aligner (BWA) in Linux

Steps to install BWA in linux machine

1. Download BWA from http://bio-bwa.sourceforge.net/
2. Save bwa-0.7.4.tar.bz2 it to your drive (eg: /usr/username)
3. Open the terminal from /usr/username and untar using the command  tar -xvf  bwa-0.7.4.tar.bz2
4. bwa-0.7.4 folder will be created in /usr/username.
5. Change directory to bwa-0.7.4 using command cd  bwa-0.7.4
6. Type command make
7. Create a file bwa.sh in etc/profile.d
8. Open the file and type
    #!/bin/bash
    BWA_HOME=/usr/username/bwa-0.7.3a
    PATH=$BWA_HOME:$PATH
    export PATH

9. Save and close the bwa.sh
10. Open terminal from etc/profile.d
11. Type command
    chmod 755 bwa.sh
12. To check the installation , open the terminal and type bwa.