Bowtie2 Ubuntu Installation
2
2
Entering edit mode
11.7 years ago
Nasrin ▴ 30

hi all

i have downloaded bowtie2 for ubuntu 64bit. but when i try to use commands to align sequences it says that bowtie is currently not installed. im newbie in ubuntu so i do not know commands.

thanks for any advice

ubuntu bowtie • 41k views
ADD COMMENT
0
Entering edit mode

I have the same problem, and I didn exactly as what Sukhdeep said but still was told 'bowtie is not installed'. can anybody give a suggestion? Thanks alot

ADD REPLY
0
Entering edit mode

Install Instructions of bowtie2 on Ubuntu Server. It’s Super Easy! simply click on Copy button to copy the command and paste into your command line terminal using built-in APT package manager.

See below for quick step by step instructions of SSH commands, Copy/Paste to avoid miss-spelling or accidently installing a different package. Step 1 sudo apt-get update -y Step 2 sudo apt-get install -y bowtie2

ADD REPLY
11
Entering edit mode
11.7 years ago

After downloading anything, the first step is to install it.

Did you checked the manual here which says

Building Bowtie 2 from source requires a GNU-like environment with GCC, GNU Make and other basics. It should be possible to build Bowtie 2 on most vanilla Linux installations or on a Mac installation with Xcode installed. Bowtie 2 can also be built on Windows using Cygwin or MinGW (MinGW recommended). If building with MinGW, first install MinGW and MSYS, the zlib library, and the pthreads library. You may also need the GnuWin32 core and other utilities to drive the build process. First, download the source package from the sourceforge site. Make sure you're getting the source package; the file downloaded should end in -source.zip. Unzip the file, change to the unzipped directory, and build the Bowtie 2 tools by running GNU make (usually with the command make, but sometimes with gmake) with no arguments. If building with MinGW, run make from the MSYS environment.

So, you are using Ubuntu which is a linux environment, download the package from their sourceforge or

remove the angle brackets from the following wget command

wget http://freefr.dl.sourceforge.net/project/bowtie-bio/bowtie/0.12.8/bowtie-0.12.8-src.zip
unzip bowtie-0.12.8-src.zip
cd bowtie-0.12.8
make

This should install bowtie and you should be able to run /pathtofolder/bowtie-0.12.8/bowtie2 and now you can add it to PATH, so you can call it from any dir in the terminal, like just using bowtie2.

This is small snippet from my post, how to add a software to a path

Lets add the install software to path
PATH=$PATH:/home/sukhdeep/softs/bowtie-0.12.8
export PATH

Check here and after that you will be able to run it from anywhere in your system.

Cheers

P.S. I think you don't need multi-threading in your system, as I assume it your regular desktop, but if you want then see

To support the -p (multithreading) option, Bowtie 2 needs the pthreads library. To compile Bowtie 2 without pthreads (which disables -p), use make BOWTIE_PTHREADS=0.

ADD COMMENT
0
Entering edit mode

thank you for this complete help. it helped a lot.

ADD REPLY
0
Entering edit mode
7.7 years ago
Joe ▴ 30

wget http://freefr.dl.sourceforge.net/project/bowtie-bio/bowtie/0.12.8/bowtie-0.12.8-src.zip unzip bowtie-0.12.8-src.zip cd bowtie-0.12.8 make

I tried this ,doesn't work. It said "make: * No targets specified and no makefile found. Stop."

I found https://launchpad.net/ubuntu/+source/bowtie2/2.2.4-2 can download bowtie package, but which documents should I download?

ADD COMMENT
0
Entering edit mode

Install anaconda. It will allow you to easily install most bioinformatic packages.

After installing simply type: conda install -c bioconda bowtie2 in the command line.

ADD REPLY
0
Entering edit mode

Installing software will now never be the same again o.O

ADD REPLY
0
Entering edit mode

Except for fact that @Joe appears to be installing bowtie1 in the original command (and then referring to bowtie2 in second half).

Unless conda install -c bioconda bowtie1 does that install ...

@Joe: bowtie1 =/= bowtie2. Which one (or both?) do you want to install?

ADD REPLY

Login before adding your answer.

Traffic: 1998 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6