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
              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
            • seqadmin
              Strategies for Sequencing Challenging Samples
              by seqadmin


              Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
              03-22-2024, 06:39 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, 04-11-2024, 12:08 PM
            0 responses
            31 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 10:19 PM
            0 responses
            32 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-10-2024, 09:21 AM
            0 responses
            28 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 04-04-2024, 09:00 AM
            0 responses
            53 views
            0 likes
            Last Post seqadmin  
            Working...
            X