Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • understanding HTSeq counts

    Hi,

    I ran HTSeq on a *.sam file using RefSeq genes GTF file. I got counts for each transcript and would like to understand how exactly these counts were generated. Does HTSeq count a read whenever it overlaps with an exon and then takes a sum/average of all these exons across a transcript? Or, is there some other complicated procedure to merge the counts of all the exons in a transcript?

    Thank you very much for your response.

    Nirmala

  • #2
    Originally posted by nimmi View Post
    Hi,

    I ran HTSeq on a *.sam file using RefSeq genes GTF file. I got counts for each transcript and would like to understand how exactly these counts were generated. Does HTSeq count a read whenever it overlaps with an exon and then takes a sum/average of all these exons across a transcript? Or, is there some other complicated procedure to merge the counts of all the exons in a transcript?

    Thank you very much for your response.

    Nirmala
    This is a question I have also been meaning to ask. I doubt that the average would be useful here. I don't know enough Python to read the code, but maybe the authors of the software will have an answer for us here?

    Comment


    • #3
      htseq-count is a rather simple script. First of all, it does not attempt to tease apart isoforms (transcripts), it only counts for genes. So, if a read overlaps with one or more exons of a gene, it is counted for this gene. If it overlaps with exons from more then one gene, it it counted as ambiguous, i.e, for neither of the genes. The precise definition of "overlap" can be adjusted, see the figure at http://www-huber.embl.de/users/ander...doc/count.html .

      Simon

      Comment


      • #4
        hello,

        This is a great forum and I'm learning a lot here. I would really appreciate some help troubleshooting HTSeq.

        I've installed everything correctly in the Python window, I think, since I get no error messages. From the command line, I then type:

        python -m HTSeq.scripts.count -q <sam.file> <gtf.file>

        Since I'm running the script on quiet mode, I get the following output:

        no_feature 0
        ambiguous 0
        too low aQual 0
        not aligned 0

        I tried writing the countsTable to a file, by adding a "> countsTable.txt" to the end of the above, but this text file contains the exact same info as was printed above.

        There's nothing wrong with either the SAM file created by TopHat and Samtools, or with the GTF file, as I've worked with both of them successfully in other programs.

        Thanks for any help!!

        elena
        Last edited by ecofriendly; 11-27-2010, 08:28 PM.

        Comment

        Latest Articles

        Collapse

        • seqadmin
          New Genomics Tools and Methods Shared at AGBT 2025
          by seqadmin


          This year’s Advances in Genome Biology and Technology (AGBT) General Meeting commemorated the 25th anniversary of the event at its original venue on Marco Island, Florida. While this year’s event didn’t include high-profile musical performances, the industry announcements and cutting-edge research still drew the attention of leading scientists.

          The Headliner
          The biggest announcement was Roche stepping back into the sequencing platform market. In the years since...
          03-03-2025, 01:39 PM
        • seqadmin
          Investigating the Gut Microbiome Through Diet and Spatial Biology
          by seqadmin




          The human gut contains trillions of microorganisms that impact digestion, immune functions, and overall health1. Despite major breakthroughs, we’re only beginning to understand the full extent of the microbiome’s influence on health and disease. Advances in next-generation sequencing and spatial biology have opened new windows into this complex environment, yet many questions remain. This article highlights two recent studies exploring how diet influences microbial...
          02-24-2025, 06:31 AM

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by seqadmin, 03-03-2025, 01:15 PM
        0 responses
        178 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-28-2025, 12:58 PM
        0 responses
        271 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-24-2025, 02:48 PM
        0 responses
        655 views
        0 likes
        Last Post seqadmin  
        Started by seqadmin, 02-21-2025, 02:46 PM
        0 responses
        267 views
        0 likes
        Last Post seqadmin  
        Working...
        X