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
                          Best Practices for Single-Cell Sequencing Analysis
                          by seqadmin



                          While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
                          Today, 07:15 AM
                        • seqadmin
                          Latest Developments in Precision Medicine
                          by seqadmin



                          Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

                          Somatic Genomics
                          “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
                          05-24-2024, 01:16 PM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by seqadmin, Today, 08:18 AM
                        0 responses
                        8 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, Today, 08:04 AM
                        0 responses
                        10 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 06-03-2024, 06:55 AM
                        0 responses
                        13 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 05-30-2024, 03:16 PM
                        0 responses
                        27 views
                        0 likes
                        Last Post seqadmin  
                        Working...
                        X