Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • M_staats
    Junior Member
    • Mar 2013
    • 1

    #1

    Discrepancy between HTSeq-count counts and total mapped reads

    Hi All,

    There seems to be a rather large discrepancy between the number of mapped Illumina reads and the total number of HTSeq counts (gene counts + counts with no_feature + ambiguous counts + too_low_aQual + not_aligned + alignment_not_unique).

    For instance:
    I used Tophat2 to map paired-end illumina reads. My two FASTQ files contain a total of 39785174 reads of which 4177881 were unmapped (unmapped.bam). A total of 35607293 reads were mapped (accepted_hits.bam), of which 31390707 were uniquely mapped (grep -w "NH:i:1" accepted_hits.sam | sort | uniq | wc -l).

    My input HTSeq-count command was:
    htseq-count --mode=union --stranded=no --type=exon --idattr=gene_id accepted_hits.nsorted.sam Solanum_tuberosum.3.0.17.gtf > HTSeq_counts_UNION_ENSEMBL_GTF.out

    The HTSeq output is:
    Total sum of gene counts 13319749
    no_feature 3150201
    ambiguous 346347
    too_low_aQual 0
    not_aligned 0
    alignment_not_unique 9024735

    The sum of HTSeq-count is 25841032 counts. Shouldn't the sum of counts be equal to the total number of mapped reads (35607293)? Please help me explain this discrepancy.

    Thanks in advance for the answer!
    Best,
    Last edited by M_staats; 03-21-2013, 05:16 AM.
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    htseq-count counts read pairs, not reads. Maybe this explains it.

    Comment

    Latest Articles

    Collapse

    • SEQadmin2
      The Factors Reshaping Genome Assembly
      by SEQadmin2



      When the Human Genome Project declared the human genome finished in 2003, portions of the sequence were still missing, including many of its most repetitive and structurally complex regions.1 Still, for the next two decades, researchers analyzed their sequencing data against the single linear reference that came out of this effort. Released in 2013 as GRCh38, that reference has powered countless discoveries, but it has gaps and cannot capture the genetic diversity of the world’s...
      11-24-2026, 07:04 AM
    • 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,...
      10-30-2026, 06:46 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, 11-23-2026, 11:11 AM
    0 responses
    32 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-17-2026, 06:27 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-12-2026, 07:59 AM
    0 responses
    65 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 11-05-2026, 09:25 AM
    0 responses
    67 views
    0 reactions
    Last Post SEQadmin2  
    Working...