Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

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

    Comment


    • #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


      • #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


        • #5
          I'm using Ubuntu 64 bit.

          Comment


          • #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


            • #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


              • #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


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

                  Comment


                  • #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


                    • #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


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

                        Comment

                        Latest Articles

                        Collapse

                        • seqadmin
                          Strategies for Sequencing Challenging Samples
                          by seqadmin


                          Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                          03-22-2024, 06:39 AM
                        • seqadmin
                          Techniques and Challenges in Conservation Genomics
                          by seqadmin



                          The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                          Avian Conservation
                          Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                          03-08-2024, 10:41 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by seqadmin, Yesterday, 06:37 PM
                        0 responses
                        10 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, Yesterday, 06:07 PM
                        0 responses
                        9 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 03-22-2024, 10:03 AM
                        0 responses
                        50 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 03-21-2024, 07:32 AM
                        0 responses
                        67 views
                        0 likes
                        Last Post seqadmin  
                        Working...
                        X