Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • DZhang
    Senior Member
    • Jun 2010
    • 177

    Count difference by htseq-cout and samtools

    Hi,

    I used bowtie to align a set of pair-end reads to the reference sequence and I used two programs to count the reads:

    1) samtools - "samtools view -c -q1 my.sorted.bam chr_ID"
    2) htseq-count - "htseq-count -s no -t CDS -a 1 my.sorted.sam my.gff"

    One interesting thing about these counts is that the counts by bwa is exactly twice of those by htseq. Can anybody help explain?

    Thank you,
    Douglas
  • Simon Anders
    Senior Member
    • Feb 2010
    • 995

    #2
    "by bwa"? You mean "by samtools", I suppose.

    htseq-counts counts the two reads from the two ends of a paired-end fragment as one count. Samtools might count them separately, giving two counts.

    Comment

    • DZhang
      Senior Member
      • Jun 2010
      • 177

      #3
      Yes, it should be samtools.

      Comment

      Latest Articles

      Collapse

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 06-09-2026, 11:58 AM
      0 responses
      24 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-05-2026, 10:09 AM
      0 responses
      29 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-04-2026, 08:59 AM
      0 responses
      39 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 06-02-2026, 12:03 PM
      0 responses
      61 views
      0 reactions
      Last Post SEQadmin2  
      Working...