Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • anzdro
    Junior Member
    • Mar 2013
    • 5

    Installing bowtie2 to computer

    Hello,

    I tried usiing tophat and got a message that I need to use a bowtie2 alignment instead of bowtie, so, I downloaded the zip package for bowtie2. I was able to get bowtie2-build installed on my computer, but I am unable to get 'bowtie2' working. Whenever I try to it gives me the following message:

    Error: Expected bowtie2 to be in same directory with bowtie2-align...

    I'm not sure what to do from here. Any help is greatly appreciated!

    Best,
    Anzdro
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    You have presumably done the first step "Building from source" here. But have you done the second "Adding to PATH".

    Comment

    • anzdro
      Junior Member
      • Mar 2013
      • 5

      #3
      I have tried to install from source and got the following message:
      /usr/bin/g++ -O3 -m64 -msse2 -funroll-loops -g3 -DCOMPILER_OPTIONS="\"-O3 -m64 -msse2 -funroll-loops -g3 \"" \
      -fno-strict-aliasing -DBOWTIE2_VERSION="\"`cat VERSION`\"" -DBUILD_HOST="\"`hostname`\"" -DBUILD_TIME="\"`date`\"" -DCOMPILER_VERSION="\"`/usr/bin/g++ -v 2>&1 | tail -1`\"" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DBOWTIE_MM -DBOWTIE2 -DNDEBUG -Wall \
      \
      -o bowtie2-build bt2_build.cpp \
      ccnt_lut.cpp ref_read.cpp alphabet.cpp shmem.cpp edit.cpp bt2_idx.cpp bt2_io.cpp bt2_util.cpp reference.cpp ds.cpp multikey_qsort.cpp limit.cpp random_source.cpp tinythread.cpp diff_sample.cpp bowtie_build_main.cpp \
      -lpthread
      /bin/sh: 1: /usr/bin/g++: not found
      make: *** [bowtie2-build] Error 127

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        What OS are you using? Looks like you are missing a compiler.

        Note: You do not have to compile bowtie locally (if you had downloaded the pre-compiled version) but depending on where you installed the downloaded binary you will want to append the path using the second link in my first post.

        Comment

        • anzdro
          Junior Member
          • Mar 2013
          • 5

          #5
          I'm using Ubuntu 64 bit.

          Comment

          • GenoMax
            Senior Member
            • Feb 2008
            • 7142

            #6
            Do you want to compile the software yourself or use the pre-compiled binary? Depending on we can give you additional directions.

            In either case you will have to append your PATH variable so bowtie2 can be found by Tophat. Here are directions on how to do this on Ubuntu.

            Comment

            • C9r1y
              Junior Member
              • Jan 2013
              • 8

              #7
              Error: Expected bowtie2 to be in same directory with bowtie2-align

              I am having the same problem, but trying to install Bowtie2 to a linux server. I get the same error when just trying to run Bowtie2 to test the installation:

              Error: Expected bowtie2 to be in same directory with bowtie2-align

              Any insights? I appreciate it.

              Comment

              • chrisbala
                Member
                • Jan 2010
                • 82

                #8
                me too

                same problem here... bowtie2 runs fine if I am running tophat, but if I try to run bowtie2 directly, I am having the same issue.

                Comment

                • dpryan
                  Devon Ryan
                  • Jul 2011
                  • 3478

                  #9
                  Just put bowtie2-align in the same directory as bowtie2 then (bowtie2 is just a perl program that runs bowtie2-align).

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #10
                    Originally posted by chrisbala View Post
                    same problem here... bowtie2 runs fine if I am running tophat, but if I try to run bowtie2 directly, I am having the same issue.
                    Do you know where your bowtie2 programs are located?

                    Code:
                    $ which bowtie2
                    
                    $ which bowtie2-align
                    Are those two in the same directory?

                    Comment

                    • chrisbala
                      Member
                      • Jan 2010
                      • 82

                      #11
                      thanks!

                      Got it...

                      had bowtie2 in two places

                      /usr/local/bin

                      and

                      /usr/local/bin/bowtie2.2blahblah/

                      bowtie2-build was only in the latter.

                      Not sure how that happened, but must have done something dumb..

                      Comment

                      • snijesh
                        Junior Member
                        • Jan 2017
                        • 4

                        #12
                        Code:
                        ​sudo apt-get install libtbb-dev
                        Code:
                        make

                        Comment

                        Latest Articles

                        Collapse

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by SEQadmin2, Today, 10:09 AM
                        0 responses
                        8 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, Yesterday, 08:59 AM
                        0 responses
                        14 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-02-2026, 12:03 PM
                        0 responses
                        23 views
                        0 reactions
                        Last Post SEQadmin2  
                        Started by SEQadmin2, 06-02-2026, 11:40 AM
                        0 responses
                        19 views
                        0 reactions
                        Last Post SEQadmin2  
                        Working...