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
                      Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                      by SEQadmin2



                      CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                      Despite this, “CRISPR helped turn genome editing from a specialized technique into
                      ...
                      07-31-2026, 11:01 AM
                    • SEQadmin2
                      Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                      by SEQadmin2


                      Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                      The systematic characterization of the human proteome has
                      ...
                      07-20-2026, 11:48 AM
                    • SEQadmin2
                      Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
                      by SEQadmin2



                      Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
                      ...
                      07-09-2026, 11:10 AM

                    ad_right_rmr

                    Collapse

                    News

                    Collapse

                    Topics Statistics Last Post
                    Started by SEQadmin2, 07-31-2026, 02:55 AM
                    0 responses
                    17 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-24-2026, 12:17 PM
                    0 responses
                    15 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-23-2026, 11:41 AM
                    0 responses
                    13 views
                    0 reactions
                    Last Post SEQadmin2  
                    Started by SEQadmin2, 07-20-2026, 11:10 AM
                    0 responses
                    25 views
                    0 reactions
                    Last Post SEQadmin2  
                    Working...