Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adrian
    Member
    • Oct 2009
    • 90

    #1

    RNA-Seq sequence counts fastq and BAM files

    Hi:
    I am a bit confused about total number of reads obtained from RNA-Seq run.

    In the case of a paired end run fastq should both R1 and R2 reads be counted to get total number of reads.

    Example:

    Sample-S was run on two lanes as 2x100 PE reads configuration.

    Sample-S - R1 in lane 1 - 30Mil reads (as per FASTQ file)
    Sample-S - R2 in lane 1 - 30 Mil reads

    Sample-S -R1 in "lane 2" - 35Mil reads
    Sample-S -R2 in "lane 2" - 35Mil reads.


    If I want to know total # of reads I sequenced for Sample-S

    Is it 130Mil. reads or 65Mil reads?

    Question 2:
    I see difference close to double between FASTQ file and reads from samtools flagstat total reads. Why is this - is this because in a paired end BAM file both R1 and R2 reads are mapped and counted.
    In this case should one count both R1 and R2 reads in fastq file.

    Appreciate your help.

    Adrian
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    1) I would say "65 million read pairs", rather than "130 million reads", since the latter is always a bit ambiguous.
    2) samtools flagstat counts both reads in a pair, so you should expect to see double. The reason for this is to allow people to mix paired and single-end reads and still get meaningful metrics. Note also that there are separate metrics printed specifically for read1 and read2 in a pair (these numbers should more closely the numbers from the fastq files).

    Comment

    • GenoMax
      Senior Member
      • Feb 2008
      • 7142

      #3
      CASAVA reports the stats as "X million reads" through in reality it is "X/2" M read pairs per sample per lane for a paired-end run.

      In similar vein, one terabase of sequence from a HiSeq 2500 counts output of *two* flowcells from one instrument.

      Comment

      • bruce01
        Senior Member
        • Mar 2011
        • 160

        #4
        Originally posted by adrian View Post
        Hi:
        In the case of a paired end run fastq should both R1 and R2 reads be counted to get total number of reads.
        When you make the PE library there is one 'insert' or sequence between two primers, say R1 and R2. Each primer can hybridise to the flowcell. One end (R1) hybridises first. The read1 sequence is then 100bp into the insert from that direction. With PE sequencing the R2 end is then hybridised to the flowcell and read2 sequence is 100bp into the insert form the other direction. Thus it is really only a single sequence with an unknown stretch in between, (often, confusingly, called an insert) and so should be counted as such, as dpryan says.

        As a toy example, if you had a 10bp PE library sequenced, with original insert of 30bp:

        R1: ACTGACTGAC----------ACTGACTGAC :R2

        This is also more likely to align to a single position in the transcriptome, which is why it is a good sequencing strategy.

        Comment

        • adrian
          Member
          • Oct 2009
          • 90

          #5
          Thanks for replies. I got it.

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