Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sbdk82
    Member
    • Jul 2014
    • 26

    #1

    illumina paired-end data

    I have paired-end illumina data for some RNA-Seq analysis. There are four fasta files and are named like this.

    HTML Code:
    XXX_XXXXXX_L001_R1_001.fastq            XXX_XXXXXX_L001_R2_001.fastq            
    XXX_XXXXXX_L002_R1_001.fastq            XXX_XXXXXX_L002_R2_001.fastq
    Can anyone explain what do L001 and L002 stand for? I know R1 and R2 stand for two pairs. When I use paired end reads in some tools/packages, Do I need to use four of them? or only two?
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    L001 and L002 stand for the lanes on which this sample ran.

    Comment

    • Brian Bushnell
      Super Moderator
      • Jan 2014
      • 2709

      #3
      You don't NEED to use all four of them (and most programs won't accept 4 inputs). But if they are from the same library, then yes, you should probably merge the files from the different lanes so that you only have 1 file for read 1 and 1 file for read 2; it will simplify things downstream.

      Comment

      • sbdk82
        Member
        • Jul 2014
        • 26

        #4
        Thanks Brian and GenoMax

        Comment

        • GenoMax
          Senior Member
          • Feb 2008
          • 7142

          #5
          Merge them in the same order to keep odd things from happening later on. If you trim, use programs that will keep the mates in sync.

          Code:
          $ cat XXX_XXXXXX_L001_R1_001.fastq XXX_XXXXXX_L002_R1_001.fastq > one_file_R1.gz
          $ cat XXX_XXXXXX_L001_R2_001.fastq XXX_XXXXXX_L002_R2_001.fastq > one_file_R2.gz

          Comment

          • Brian Bushnell
            Super Moderator
            • Jan 2014
            • 2709

            #6
            Originally posted by GenoMax View Post
            Merge them in the same order to keep odd things from happening later on. If you trim, use programs that will keep the mates in sync.

            Code:
            $ cat XXX_XXXXXX_L001_R1_001.fastq XXX_XXXXXX_L002_R1_001.fastq > one_file_R1[B].fq[/B]
            $ cat XXX_XXXXXX_L001_R2_001.fastq XXX_XXXXXX_L002_R2_001.fastq > one_file_R2[B].fq[/B]
            (I adjusted the file name extentions)

            Comment

            • sbdk82
              Member
              • Jul 2014
              • 26

              #7
              Thanks again !!

              Comment

              • ronton
                Member
                • Jun 2014
                • 34

                #8
                In addition to what others have stated, there is an arguement for not merging the files first, namely parallel computing. Each 'core' can process each smaller file in whichever way you wish, to be merged later in the pipeline. But, you have to keep track of what you are doing and it can be complicated.

                Another note, I have had some strange results merging .fastq files in the same way you describe. For whatever reason, when I used Linux cat, and when I used Windows Powershell to merge the files, the resulting file just kept growing indefinitely and/or did not match the size of file 1 + file 2. However, when I used Windows copy /b <source1> + <source2> [....] <targetfile> the output file was as expected. I don't know why.

                Comment

                • Brian Bushnell
                  Super Moderator
                  • Jan 2014
                  • 2709

                  #9
                  If you do this:

                  cat *1.fastq > merged1.fastq

                  it will grow forever, because "merged1.fastq" matches *1.fastq and will also be used as an input. It should not happen if you explicitly name all of the input files.

                  Comment

                  • ronton
                    Member
                    • Jun 2014
                    • 34

                    #10
                    Perhaps I used the wildcard, I will double check, thank you.

                    Comment

                    Latest Articles

                    Collapse

                    • SEQadmin2
                      16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
                      by SEQadmin2




                      NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification, detection...
                      Today, 06:46 AM
                    • 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

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 10-28-2026, 09:57 AM
                    0 responses
                    22 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-28-2026, 09:51 AM
                    0 responses
                    14 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 11:13 AM
                    0 responses
                    68 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 10-22-2026, 10:48 AM
                    0 responses
                    47 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...