Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • NatashaPavlovikj
    Junior Member
    • Feb 2013
    • 8

    #1

    bowtie2 multiple single and paired-end files

    Hi everyone,

    I a newbie in Bowtie2, so I have a question about bowtie2 commands for single and paired-end reads.

    I have three paired .fastq files, and two single .fastq files.
    When I execute the paired files, I use:
    bowtie2 -x index -1 file1.fastq -2 file2.fastq -3 file3.fastq ...
    When I execute the paired files, I use:
    bowtie2 -x index -U file4.fastq file5.fastq ...

    The paired files have different number of reads and lines.
    These commands are still running, so I wonder did I use them in a right way?
    If not, I would appreciate if you could guide me how to use multiple single and paired-end reads.

    Thank you very much,
    Natasha
  • mastal
    Senior Member
    • Mar 2009
    • 666

    #2
    bowtie2 multiple single and paired-end files

    Hi Natasha,


    I think when you have more than 1 file of each type you should separate them with commas, not spaces, and the -3 flag means something related to the index for paired end reads.

    so something like this:

    paired reads:
    -1 filea_read1.fastq,fileb_read1.fastq -2 filea_read2.fastq,fileb_read2.fastq

    and for unpaired reads:
    -U filec.fastq,filed.fastq,filee.fastq

    see the Bowtie2 and bowtie manuals.

    Hope this helps,
    Maria

    Comment

    • NatashaPavlovikj
      Junior Member
      • Feb 2013
      • 8

      #3
      Hi,

      Maria, thank you so much for your reply.
      You are right that files should be separated by comma.
      But, I am still confused about the paired reads.

      The three paired Illumina files I have are:
      3 ILLUMINA (Illumina Genome Analyzer IIx) runs: 9.5M spots, 2.7G bases

      So, my question now is:
      should I run these files separately (3 bowtie2 commands, only -1 mate):
      bowtie2 -x index -1 file1.fastq ...
      bowtie2 -x index -1 file2.fastq ...
      bowtie2 -x index -1 file3.fastq ...

      or should I run them in a same command (1 bowtie2 command, only -1 mate, separated by commas):
      bowtie2 -x index -1 file1.fastq,file2.fastq,file3.fastq ...

      Thank you very much,
      Natasha

      Comment

      • mastal
        Senior Member
        • Mar 2009
        • 666

        #4
        bowtie2 multiple single and paired-end files

        Hi Natasha,

        If you have 3 files for paired-end reads from Illumina GA, one of the files is probably an index read, so you would have to demultplex the reads in the other 2 files based on the index, before attempting to align the reads, if this hasn't been done already. Check with whoever ran the samples, and have a look at the Illumina website

        http://www.illumina.com

        for manuals related to the version of the Illumina technology used to generate your reads.

        How many samples are in the 3 paired-end files?

        As for running paired-end reads with bowtie, you use the flag -1 before the name of the file containing the first reads of the pair, and the flag -2 before the name of the file containing the second reads of the pair.

        bowtie2 (other parameters) -1 read1.fastq -2 read2.fastq

        see the bowtie manual
        http://bowtie-bio.sourceforge.net/index.shtml

        best wishes,
        Maria

        Comment

        • NatashaPavlovikj
          Junior Member
          • Feb 2013
          • 8

          #5
          Maria, thank you very much for your help.
          After few tries, I think I have the right scripts now.

          Regards,
          Natasha

          Comment

          • NatashaPavlovikj
            Junior Member
            • Feb 2013
            • 8

            #6
            Illumina put mate 1 and mate 2 in a same file, and when using SraToolkit to convert .sra files to .fastq files, for the paired end files the following command should be executed:
            fastq-dump --split-3 file.sra.
            That is how the mate 1 and 2 will be created.
            This is the answer for my question

            Thank you

            Comment

            • sagarutturkar
              Member
              • Sep 2010
              • 61

              #7
              Mapping paired-end and Mate-pair reads together

              Hi,


              I was wondering, How to use Bowtie2 to map paired-end and mate-pair reads simultaneously.

              I saw in manual that there are --fr option for PE reads and --rf option for MP reads. But it did not mentioned about using them together.

              So if I specify,

              Code:
              bowtie2 -x CLC -a --no-mixed --fr -1 frags.A.fastq -2 frags.B.fastq --rf -1 jumps.A.fastq -2 jumps.B.fastq -S CLC_mapping.sam
              would that work?

              Thanks
              Sagar

              Comment

              • dpryan
                Devon Ryan
                • Jul 2011
                • 3478

                #8
                I'm pretty sure that won't work. Your best option, depending on what your goals are, might be to map the two libraries separately and then merge the resulting SAM/BAM files.

                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, Today, 11:13 AM
                0 responses
                11 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, Today, 10:48 AM
                0 responses
                10 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-15-2026, 10:52 AM
                0 responses
                32 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                40 views
                0 reactions
                Last Post SEQadmin2  
                Working...