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

                              • 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
                              • SEQadmin2
                                Single-Cell Sequencing at an Inflection Point: Early Impacts of New Platforms and Emerging Trends
                                by SEQadmin2


                                With the launch of new single-cell sequencing platforms in 2026, the field stands at an exciting inflection point. This article surveys the most impactful advances in the field and discusses how they’re reshaping research in cancer, immunology, and beyond.


                                Introduction

                                Single-cell sequencing technologies have undergone remarkable advances over the past decade, transitioning from low-throughput experimental approaches to highly scalable platforms capable of...
                                05-22-2026, 06:42 AM
                              • SEQadmin2
                                Environmental Genomics in the Age of NGS: From Microbes to Conservation Strategies
                                by SEQadmin2

                                Studying ecosystems means dealing with complex, multi-species communities that are hard to observe at scale. This complexity, however, hides many important questions to be answered, from how biogeochemical cycles work and how climate change can affect species distribution to how conservation strategies can work best.


                                Genomics, particularly since the expansion of NGS, has transformed ecosystem ecology. By sequencing environmental DNA, we can now assess biodiversity without direct...
                                05-06-2026, 09:04 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, 06-02-2026, 12:03 PM
                              0 responses
                              21 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 06-02-2026, 11:40 AM
                              0 responses
                              14 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 05-28-2026, 11:40 AM
                              0 responses
                              29 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 05-26-2026, 10:12 AM
                              0 responses
                              31 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...