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
                          Understanding Genetic Influence on Infectious Disease
                          by seqadmin




                          During the COVID-19 pandemic, scientists observed that while some individuals experienced severe illness when infected with SARS-CoV-2, others were barely affected. These disparities left researchers and clinicians wondering what causes the wide variations in response to viral infections and what role genetics plays.

                          Jean-Laurent Casanova, M.D., Ph.D., Professor at Rockefeller University, is a leading expert in this crossover between genetics and infectious...
                          09-09-2024, 10:59 AM
                        • seqadmin
                          Addressing Off-Target Effects in CRISPR Technologies
                          by seqadmin






                          The first FDA-approved CRISPR-based therapy marked the transition of therapeutic gene editing from a dream to reality1. CRISPR technologies have streamlined gene editing, and CRISPR screens have become an important approach for identifying genes involved in disease processes2. This technique introduces targeted mutations across numerous genes, enabling large-scale identification of gene functions, interactions, and pathways3. Identifying the full range...
                          08-27-2024, 04:44 AM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by seqadmin, Today, 06:25 AM
                        0 responses
                        13 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, Yesterday, 01:02 PM
                        0 responses
                        12 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 09-18-2024, 06:39 AM
                        0 responses
                        14 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 09-11-2024, 02:44 PM
                        0 responses
                        14 views
                        0 likes
                        Last Post seqadmin  
                        Working...
                        X