Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • Expected bowtie2 to be in same directory with bowtie2-align

    Okay, sorry if this is a little newbish, but I cannot seem to get bowtie2 to run on my mac OS terminal for the life of me. When I run the 'bowtie2' command I get the error "Expected bowtie2 to be in same directory with bowtie2-align"

    I can see that this is in fact true. In the unzipped bowtie2 folder I see bowtie2*, bowtie2-build*, and bowtie2-inspect*

    I saw someone had this problem in a different thread and the person resolved the issue by finding the correct paths to bowtie2 and bowtie2-align by using the

    $which bowtie2
    $which bowtie2-align

    However, this is where I am stuck. when I run the "which command in the terminal, it just brings up a new $ line. It doesn't print any path... This is the same for samtools (which I have been able to run successfully already). This problem is essentially impossible to google, because the word "which" is almost exclusively ignored by the search engine.
    the $which command works perfectly fine for normal executables such as mkdir, touch, et cetera...

    On a related note, I have installed blast+ so I can make blast databases, and perform blast searches locally, and it installs to the usr/bin/ncbi without me even moving it, or anything. This differs greatly from the other programs that I just download the zipped file from sourceforge, unzip, and make in terminal.

    I know the second step in a lot of these bioinformatic programs is to add them to the $PATH, but I've never been too clear on what that is, or how it's done (I've honestly tried to do some reading on that issue, and all of it is either super vague, or just skips past the part I am not clear on.) If anyone has some literature or links that can explain this portion of UNIX command line as if I was 5 years old, I would be forever grateful.
    There seems to be a large gap in the available information from what UNIX command line is, and how to actually download source files, and compile them in a way that is helpful, and somewhat futureproof. If anyone knows of a good book, or wiki that sort of starts from the ABSOLUTE bottom, and goes all the way up to fancy bioinformatics, I would be forever grateful.

    Thanks so much, this forum is a real lifesaver sometimes!

  • #2
    Once you download the precompiled binary zip file OS X should have uncompressed it once you double clicked on the file.

    At this point you can move the "bowtie2-2.2.5" directory to a location you want (optional). Then you should be able to run bowtie2 by providing

    Code:
    $ /path_to/bowtie2-2.2.5/bowtie2
    If you are inside the bowtie2-2.2.5 directory then doing the following should work.

    Code:
    $ ./bowtie2 -h
    There is a great basic unix tutorial for biologists at Korf lab site: http://korflab.ucdavis.edu/Unix_and_...ent.html#part1

    BTW: Did you get the OS X binary from this link: http://sourceforge.net/projects/bowt...owtie2/2.2.5/?

    Comment


    • #3
      Thanks for your reply! That is exactly where I downloaded the source file from. I have unzipped and moved it into my "bioinformatics/programs" folder. I am currently in the directory where the bowtie2 executable is, and that is when I get that error. I don't know if it's specific to bowtie2 because I was able to run bowtie and BWA and Samtools without incident... I still don't like that I can't see the path by using "$which"...

      Comment


      • #4
        If you are in the directory where the bowtie2 executables are then the second command above should work. Does this not print help text to screen?

        Code:
        $ ./bowtie2 -h
        Apple does things differently (I have not found how to force the database update for "which" as yet) compared to "which" on linux.

        If you want to find files you can use mdfind command (which should generate which equivalent output).

        Code:
        $ mdfind "kMDItemDisplayName == bowtie2"
        
        $ mdfind -name bowtie2
        Second option will generate a list of all objects that have bowtie2 somewhere.

        It is possible that you have bowtie2 in some other path on the system that is being executed preferentially than the one in the directory you are in.
        Last edited by GenoMax; 04-11-2015, 01:42 PM.

        Comment


        • #5
          You could also try this: https://coderwall.com/p/eexczq/updat...-back-updatedb and then use the locate command as an option.

          At least for me, locate does not find bowtie2 after the database upgrade (OS X yosemite). YMMV.

          Comment

          Latest Articles

          Collapse

          • seqadmin
            Recent Advances in Sequencing Analysis Tools
            by seqadmin


            The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
            05-06-2024, 07:48 AM
          • 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...
            04-22-2024, 07:01 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by seqadmin, Yesterday, 06:57 AM
          0 responses
          11 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-06-2024, 07:17 AM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-02-2024, 08:06 AM
          0 responses
          19 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 04-30-2024, 12:17 PM
          0 responses
          24 views
          0 likes
          Last Post seqadmin  
          Working...
          X