Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • horvathdp
    Member
    • Dec 2011
    • 66

    #16
    Cool. it now no longer hangs up on samtools! You rock. However, now it can't find bowtie :-)

    One step closer though :-)

    Error, path to required bowtie2 cannot be found at ./alignReads.pl line 245.

    I don't suppose there is an ubuntu script for that is there?

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #17
      Getting samtools via "apt get" puts it in the "correct" spot in system directories (/usr/bin perhaps). So now if you do

      Code:
      $ which samtools
      You should see the full path to the executable.

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #18
        Originally posted by horvathdp View Post
        Cool. it now no longer hangs up on samtools! You rock. However, now it can't find bowtie :-)

        One step closer though :-)

        Error, path to required bowtie2 cannot be found at ./alignReads.pl line 245.

        I don't suppose there is an ubuntu script for that is there?
        You can also "apt get" bowtie2.

        Comment

        • horvathdp
          Member
          • Dec 2011
          • 66

          #19
          Awesome! however, tried and got:
          E: Unable to locate package bowtie2

          Comment

          • horvathdp
            Member
            • Dec 2011
            • 66

            #20
            I ran the sudo apt-get update #recommended from another website, but still no joy.

            Comment

            • GenoMax
              Senior Member
              • Feb 2008
              • 7142

              #21
              Which Ubuntu are you running (13.10)?

              Comment

              • horvathdp
                Member
                • Dec 2011
                • 66

                #22
                Looks like my instance is running:
                Ubuntu 12.04 Xfce GUI v2

                Comment

                • horvathdp
                  Member
                  • Dec 2011
                  • 66

                  #23
                  Ahhh...too old a version to have bowtie2 . I was able to get bowtie to load, and now my program seems to be running. This apt get command is way cool.

                  In case anyone else runs into this problem. I found the directory of available programs at: https://apps.ubuntu.com/cat/search/?q=rsem&op=

                  Mr. GenoMax, you win the prize. I am in your debt! Don't know if you go to meetings like PAG, but if so, look me up and I'll buy you a beer :-)

                  Comment

                  • GenoMax
                    Senior Member
                    • Feb 2008
                    • 7142

                    #24
                    Get the pre-compiled version of bowtie2 then: http://sourceforge.net/projects/bowt...4.zip/download

                    You are going to have the same issues with $PATH as before so it may be time to look at that UNIX website from the Korf lab.

                    Comment

                    • horvathdp
                      Member
                      • Dec 2011
                      • 66

                      #25
                      Reading on. I suspect when i can figure out where the SAMtools and bowtie programs I just installed are located, I'll be able to put bowtie2 in the correct place :-)

                      Comment

                      • GenoMax
                        Senior Member
                        • Feb 2008
                        • 7142

                        #26
                        Originally posted by horvathdp View Post
                        Reading on. I suspect when i can figure out where the SAMtools and bowtie programs I just installed are located, I'll be able to put bowtie2 in the correct place :-)
                        That is one way to do things. The easier option would be to just modify your $PATH. That way you could keep multiple versions of programs around (in different directories) and just use the right $PATH as needed.

                        Comment

                        • horvathdp
                          Member
                          • Dec 2011
                          • 66

                          #27
                          OK, so I cheated a bit (a person with a bit more computer savvy than yself walked into my office while I was working on this). So, the first thing i did was look for the samtools and bowtie programs uploaded by the apt-get command. These were both in the usr/bin folder. Thus, I moved the bowtie2-2.1.0 folder there. I tried which bowtie2 and got nothing (which was when my visitor arrived) She then showed me how to find hidden files (ls -a) and a google search indicated a couple of different options. Her first instinct was to change the bashrc file, so we used the cmd "emacs .bashrc" to open this file so we could alter it and added the following to the end of that file export PATH=/usr/bin/bowtie2-2.1.0/:$PATH - note we added the slash after the folder name because we thought it might be needed because bowtie2 came in a folder with executables inside. After saving (ctr X,ctr S) and then exiting (ctr X ctr C) and then gave the command $ source .bashrc to engage the change. A test using which bowtie2 failed again. Thus more reading indicated we should (also?) modify the .profile file. Thus, we emacs into the .profile file and added PATH="$PATH:/usr/bin/bowtie2-2.1.0" to the end of that file and engaged it with the command $ source .profile . That seemed to do the trick: which bowtie2 gives: /usr/bin/bowtie2-2.1.0//bowtie2. We are not sure about the extra slashes, but she doesn't think it will matter. Sound right? Any idea if we actually needed to modify the .bashrc file?
                          Last edited by horvathdp; 11-26-2013, 02:15 PM.

                          Comment

                          • GenoMax
                            Senior Member
                            • Feb 2008
                            • 7142

                            #28
                            Modifying the .bashrc meant that the changes will be applied everytime you log in. You won't need to amend the $PATH each time.

                            The extra slash should be ok but if you want to be precise take it out of the bashrc PATH statement.

                            BTW: That was not cheating. You always learn faster from someone next to you, who can see what is on your screen.

                            Comment

                            • westerman
                              Rick Westerman
                              • Jun 2008
                              • 1104

                              #29
                              Originally posted by horvathdp View Post
                              Thanks GenoMax, will do here momentarily:
                              @Rick, sorry to frustrate. I did type "which samtools" but nothing happened- even when I cd'd into the samtools directory. see below:
                              No results from 'which' means that you do not have samtools installed in your path. No results from simply typing in 'samtools' means the same thing.

                              I am glad to see that you got samtools installed. And perhaps more importantly help from a knowledgeable person. I agree with GenoMax: it was not cheating. Getting local help on basic Unix from someone who can see your screen -- and who can interact in real time -- is better that relying on us in SeqAnswers. Make sure you treat your local help nicely. Chocolate is usually appropriate -- personally I like chocolate covered donuts.

                              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
                              30 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-14-2026, 05:39 AM
                              0 responses
                              37 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-13-2026, 09:56 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 10-09-2026, 11:14 AM
                              0 responses
                              29 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...