Unconfigured Ad

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

    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
            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
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            07-08-2026, 05:17 AM
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-13-2026, 10:26 AM
          0 responses
          18 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-09-2026, 10:04 AM
          0 responses
          30 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-08-2026, 10:08 AM
          0 responses
          16 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          34 views
          0 reactions
          Last Post SEQadmin2  
          Working...