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
                          Essential Discoveries and Tools in Epitranscriptomics
                          by seqadmin


                          The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
                          Yesterday, 07:01 AM
                        • seqadmin
                          Current Approaches to Protein Sequencing
                          by seqadmin


                          Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
                          04-04-2024, 04:25 PM

                        ad_right_rmr

                        Collapse

                        News

                        Collapse

                        Topics Statistics Last Post
                        Started by seqadmin, 04-11-2024, 12:08 PM
                        0 responses
                        39 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 04-10-2024, 10:19 PM
                        0 responses
                        41 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 04-10-2024, 09:21 AM
                        0 responses
                        35 views
                        0 likes
                        Last Post seqadmin  
                        Started by seqadmin, 04-04-2024, 09:00 AM
                        0 responses
                        55 views
                        0 likes
                        Last Post seqadmin  
                        Working...
                        X