Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bowtie2 for macintosh

    Hi forum members:
    I tried to work with bowtie2 in macintosh OS X 10.8.5, however, bowtie2 is not working. After following step by step the example with lambda_virus from Bowtie 2 Manual the following message does appear:

    Warning: Could not open read file "/example/reads/reads_1.fq" for reading; skipping...
    Error: No input read files were valid
    bowtie2-align exited with value 1

    Could anybody help me please?

    MariaGeorge

  • #2
    What was your command line ?

    Comment


    • #3
      Thank you very much.

      $bowtie2 -x lambda_virus -1 /example/reads/reads_1.fq -2 /example/reads/reads_2.fq -S eg2.sam

      I tried writting the entire path but also failed, other basenames and local alignment also gave identical results.

      Sorry for the trouble.

      MariaGeorge

      Comment


      • #4
        Maria,

        I can't help you with bowtie2, but BBMap will work on OSX, if you have Java installed.

        java -ea -Xmx1g -cp path/to/current align2.BBMap ref=reference.fa in1=reads1.fq in2=reads2.fq out=mapped.sam

        You have to replace "path/to/current" with the actual path to the directory "current" from the unzipped package.

        Comment


        • #5
          The error is due to you specifying:

          Code:
          ... /example/reads/reads_1.fq ...
          which is very unlikely to exist on your computer unless you happened to make a /example directory. Normally you'd just "cd" to the directory containing the bowtie2 executable and type:

          Code:
          ./bowtie2 -x example/index/lambda_virus -1 example/reads/reads_1.fq -2 example/reads/reads_2.fq -S eg2.sam
          Note the usage of relative paths above. You might want to pick up a book on basic linux/mac command line usage. That'll save you a lot of headaches.

          Comment


          • #6
            Thank you very much

            It works well. Now I realize what is going on with macintosh comand line.
            I will read, and also try with BBMap it also seems a good option.

            Thanks everybody and good day!

            Comment

            Latest Articles

            Collapse

            • seqadmin
              Essential Discoveries and Tools in Epitranscriptomics
              by seqadmin


              The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist on Modified Bases...
              Yesterday, 07:01 AM
            • seqadmin
              Current Approaches to Protein Sequencing
              by seqadmin


              Proteins are often described as the workhorses of the cell, and identifying their sequences is key to understanding their role in biological processes and disease. Currently, the most common technique used to determine protein sequences is mass spectrometry. While still a valuable tool, mass spectrometry faces several limitations and requires a highly experienced scientist familiar with the equipment to operate it. Additionally, other proteomic methods, like affinity assays, are constrained...
              04-04-2024, 04:25 PM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            39 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            41 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            35 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            55 views
            0 likes
            Last Post seqadmin  
            Working...
            X