Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • 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?

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

    Comment


    • #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


      • #4
        Thanks Brian and GenoMax

        Comment


        • #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


          • #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


            • #7
              Thanks again !!

              Comment


              • #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


                • #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


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

                    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...
                      04-22-2024, 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, Today, 11:49 AM
                    0 responses
                    12 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, Yesterday, 08:47 AM
                    0 responses
                    16 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 04-11-2024, 12:08 PM
                    0 responses
                    61 views
                    0 likes
                    Last Post seqadmin  
                    Started by seqadmin, 04-10-2024, 10:19 PM
                    0 responses
                    60 views
                    0 likes
                    Last Post seqadmin  
                    Working...
                    X