Unconfigured Ad

Collapse
X
 
  • Filter
  • 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

                              • GATTACAT
                                Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by GATTACAT
                                Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
                                Yesterday, 11:43 AM
                              • SEQadmin2
                                Nine Things a Sample Prep Scientist Thinks About Before Sequencing
                                by SEQadmin2


                                I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

                                Here are nine questions we think about, in roughly the order they matter, before...
                                06-18-2026, 07:11 AM
                              • SEQadmin2
                                From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
                                by SEQadmin2


                                Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


                                The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
                                ...
                                06-02-2026, 10:05 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 06-30-2026, 05:37 AM
                              0 responses
                              11 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-26-2026, 11:10 AM
                              0 responses
                              18 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-17-2026, 06:09 AM
                              0 responses
                              52 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-09-2026, 11:58 AM
                              0 responses
                              111 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...