i am unable to install bwa in linux when ever i command "sudo apt-get install bwa" its not installing and its showing "unable to locate package bwa" please help me solve this ASAP
4 answers
Installation from bioconda is often the easiest. Install the conda package manager, configure channels (https://bioconda.github.io/index.html#set-up-channels )
and then it's as easy as conda install bwa.
This works for most commonly used tools and will save you a lot of headaches.
https://sourceforge.net/projects/bio-bwa/
tar -xvf bwa-x.x.x.tar.bz2
cd bwa-x.x.x
./configure
make
make install
http://icb.med.cornell.edu/wiki/index.php/Elementolab/BWA_tutorial
Note: the bwa package exist for this distribution
- precise (12.04LTS) (science): Burrows-Wheeler Aligner [universe]
0.6.1-1: amd64 armhf i386 powerpc - trusty (14.04LTS) (science): Burrows-Wheeler Aligner [universe]
0.7.5a-2: amd64 - xenial (16.04LTS) (science): Burrows-Wheeler Aligner [universe]
0.7.12-5: amd64 - yakkety (science): Burrows-Wheeler Aligner [universe]
0.7.15-2: amd64
to find your release
cat /etc/*-release
http://packages.ubuntu.com/search?keywords=bwa&searchon=names&exact=1&suite=all§ion=all
If you want to install it via apt-get, try sudo apt-get update first.
Otherwise, you can download the source, and compile it
sudo apt install bwa -y https://excellmedia.dl.sourceforge.net/project/bio-bwa/bwa-0.7.17.tar.bz2 tar -xvf bwa-0.7.17.tar.bz2 make
Log in to answer this question.
You should try google ASAP.
Without joke, bwa and a lot of bioinformatics tools are not in the linux core library, that's why you can't install them with apt. For install a tool which is not in those library you have to download the package directly from the tool's website and follow instructions.
thank u for your reply but after commanding " tar -xvf bwa-0.7.12.tar.bz2" im getting " tar: bwa-0.7.12.tar.bz2: Cannot open: No such file or directory tar: Error is not recoverable: Exiting now" this is being displayed. i downloaded the bwa-0.7.12.tar.bz2 which was a latest version available.
Please use
ADD COMMENT/ADD REPLYwhen responding to existing posts to keep threads logically organized.SUBMIT ANSWERSis only for new answers for original question.Use
tar -xvjf bwa-0.7.12.tar.bz2Hi,
I dig it up for I have a small issue.
I tried to install but…
I looked, there is no "autogen.sh" but there is a makefile
Then install failed.
So what is the error? Didn't it find
libz?error is:
dsl-hkibng42-5673d7-72:bwa-0.7.17 benjamin$ install usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ...
which libz does not find anything