Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kwicher
    Junior Member
    • Jan 2011
    • 7

    #1

    Tophat cannot evoke bowtie from under qsub

    Hi

    I come across a strange problem. I have all the latest tophat, bowtie, samtools installed locally. All the tree programs are also in my $PATH.

    When I run tophat on the test sequences it does not report any problems and produces the output files as expected.

    however, when I run the same command but submitting it via qsub to the cluster, then tophat (which is evoked with the full path) starts up correctly but when it checks for bowtie it reports:
    [Wed Sep 7 12:28:38 2011] Checking for Bowtie
    Error locating program: bowtie
    Any idea what could be wrong with the setup/configuration?
    Thanks
    K
  • arolfe
    Member
    • Jul 2011
    • 29

    #2
    If you qsub a script that does "echo $PATH", does it include the path to bowtie? It's possible that your dotfiles (eg, .bashrc) set the PATH differently for an interactive session.

    Comment

    • kwicher
      Junior Member
      • Jan 2011
      • 7

      #3
      Thanks but it does not unfortunately; I run

      qsub -b y -e /mnt/fastfs/KW_Temp/installs -o /mnt/fastfs/KW_Temp/installs/ "echo $PATH > bow"

      I have put PATH to both .bashrc and .profile files but it still does not help.

      Comment

      • arolfe
        Member
        • Jul 2011
        • 29

        #4
        You have at least two options:

        1) figure out what dotfiles are being used when your job is executed and modify those. I'd save this for the next time you're bored.

        2) set PATH in your job. You could do this by
        a) writing a script that sets PATH and then invokes tophat
        b) qsub "PATH=${PATH}:/path/to/bowtie tophat ....."

        Note that the behavior of (b) depends on whether you use single or double quotes. Double will use PATH from the shell where you call qsub. Single will use PATH from inside the job.

        Comment

        • westerman
          Rick Westerman
          • Jun 2008
          • 1104

          #5
          Also, and it depends on your version of qsub (mine is PBSpro and does not have your '-b' parameter) try the '-V' parameter. My version says:

          -V Declares that all environment variables in the user's login environment where
          qsub is run are to be exported to the job. The job's Variable_List attribute
          is appended with all of these environment variables and their values.

          Comment

          • kwicher
            Junior Member
            • Jan 2011
            • 7

            #6
            I somehow made it:
            I made a bash script which first export the PATH with directories to tophat,bowtie, and samtools; and then runs the tophat.

            I am running this script from within qsub with single quotes

            THanks fall al suggestions
            K

            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, 10-15-2026, 10:52 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-14-2026, 05:39 AM
            0 responses
            21 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-13-2026, 09:56 AM
            0 responses
            20 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-09-2026, 11:14 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Working...