Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • biznatch
    Senior Member
    • Nov 2010
    • 124

    #1

    Tophat can't find Bowtie

    I've just downloaded Tophat and am trying to use it for the first time by testing it as described in the Tophat "Getting Started" section with the provided test data and I get the error "Error locating program: bowtie". I have my bowtie (and tophat and samtools) folder added to PATH and am not sure why I'm getting this error. I'm not sure if it's necessary but I also gave the bowtie executable all permissions (chmod 777) and that doesn't help.

    Also, when I type bowtie or tophat from any directory they run (since they're in PATH) but if I type sudo bowtie or sudo tophat I get the error "command not found". Just out of curiosity, why would this be? I'm not too familiar with permissions, etc. in Linux (I'm using Ubuntu). I added the relevant folders to PATH by adding the following to the end of .bashrc:

    export PATH="$PATH:~/chip/bowtie/"
    export PATH="$PATH:~/chip/tophat/"
    export PATH="$PATH:~/chip/samtools/"
  • Bukowski
    Senior Member
    • Jan 2010
    • 388

    #2
    Sudo does not inherit $PATH from the user on Ubuntu. You can alleviate this by putting something like this in your ~/.profile or ~/.bashrc:

    alias sudo='sudo env PATH=$PATH'

    As for the rest of your issue, perhaps setting the full path to the folder rather than using the tilde shortcut and see if it helps (although I'm not sure why it would).

    You can save lines in your .bashrc with:

    export PATH="$PATH:~/chip/bowtie:~/chip/tophat:~/chip/samtools"

    No need to chain multiple export commands

    Comment

    • biznatch
      Senior Member
      • Nov 2010
      • 124

      #3
      I combined the multiple export PATH lines into one and replaced the ~ with the full path for each but I'm still having the same problem. In the terminal I get:

      [Wed Nov 9 12:28:01 2011] Beginning TopHat run (v1.3.3)
      -----------------------------------------------
      [Wed Nov 9 12:28:01 2011] Preparing output location ./tophat_out/
      [Wed Nov 9 12:28:01 2011] Checking for Bowtie index files
      [Wed Nov 9 12:28:01 2011] Checking for reference FASTA file
      [Wed Nov 9 12:28:01 2011] Checking for Bowtie
      Error locating program: bowtie

      I know that bowtie is correctly added to PATH because I can run Bowtie itself fine, it's just a problem with Tophat finding it... :S

      Edit: I tried some stuff and now it finds Bowtie...but not Samtools...the adventure continues...
      Last edited by biznatch; 11-09-2011, 10:59 AM.

      Comment

      • jazstappung
        Junior Member
        • Mar 2011
        • 1

        #4
        Could you explain how to fix the PATH of bowtie?
        Because i have this problem whit the Testing the installation in the "getting started" manual.

        [ystappung@bio-fcr test_data]$ /home/ystappung/sources/tophat-1.4.0.Linux_x86_64/tophat -r 20 test_ref reads_1.fq reads_2.fq

        [Wed Jan 18 16:20:27 2012] Beginning TopHat run (v1.4.0)
        -----------------------------------------------
        [Wed Jan 18 16:20:27 2012] Preparing output location ./tophat_out/
        [Wed Jan 18 16:20:27 2012] Checking for Bowtie index files
        [Wed Jan 18 16:20:27 2012] Checking for reference FASTA file
        [Wed Jan 18 16:20:27 2012] Checking for Bowtie
        Error locating program: bowtie



        thanks
        Last edited by jazstappung; 01-18-2012, 11:21 AM.
        Bioinformatic Engineer Student

        Comment

        Latest Articles

        Collapse

        • SEQadmin2
          Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
          by SEQadmin2



          Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

          Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
          ...
          10-14-2026, 09:55 AM
        • SEQadmin2
          New Genomics Technologies Take Aim at Long-Standing Limits
          by SEQadmin2


          Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

          We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
          ...
          09-28-2026, 10:25 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Yesterday, 11:13 AM
        0 responses
        19 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-15-2026, 10:52 AM
        0 responses
        36 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 10-14-2026, 05:39 AM
        0 responses
        42 views
        0 reactions
        Last Post SEQadmin2  
        Working...