Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • halffedelf
    Newborn
    • Jul 2010
    • 11

    HTseq-count of zero

    Hi I ran htseq on a number of RNA expression data, but I get a read count of zero for a certain transcript which I am sure should not be zero. The data are generated from multiple samples in multiple batches in multiple labs, so it's very unlikely that the data is wrong.

    I would highly appreciate your expert opinion. What could possibly the reason for the count to be zero whereas I know this is the gene of interest and it should be expressed at various degrees in the different datasets of mine.

    I generated a wiggle file from the bam and checked the number of peaks for the region of interest, there are peaks in the region (even though very weak at >50% positions).

    Thanks!
  • halffedelf
    Newborn
    • Jul 2010
    • 11

    #2
    these info might be of importance:
    my gene of interest is a lncRNA gene.
    my command was:
    htseq-count -s no -a 10 filename.sam hg19_RefseqCoding_lncRNA.gtf >filename.count

    Comment

    • Bukowski
      Senior Member
      • Jan 2010
      • 388

      #3
      Maybe we should start with two more pieces of information - how do you know this transcript is expressed? And how many reads/read pairs do you have per sample?

      Comment

      • Wallysb01
        Senior Member
        • Feb 2011
        • 286

        #4
        Have you actually looked at this transcript and the mappings in IGV?

        Comment

        • blancha
          Senior Member
          • May 2013
          • 367

          #5
          htseq-count discards reads that cannot be unambiguously be assigned to a gene.

          1) Open the GTF file in IGV, and check if there is more than one annotation at the same location.
          If there is, htseqcount classifies the reads aligning at this location as "ambiguous".
          These reads are not counted for the gene.

          You can modify the GTF file to correct this problem, by removing multiple annotations at the same location.
          Or, even better, do stranded RNA-Seq.
          Often, you will have different annotations at the same location, but on different strands.
          If your sequencing is strand-specific, htseq-count can distinguish between the 2 strands, and will not classify the reads as ambiguous.

          2) Check the tag NH (Number of hits) for the reads aligning to the gene in question.
          If it is more than one, htseq-count classifies these reads as multihits.
          The reads are not counted for the gene in questions, but are counted as alignment_not_unique

          If you know some Python, you can actually modify htseq-count to count multiple hits, which I have done on one occasion.
          I still have the script if anyone needs it.
          Only the NH parameter in the htseqcount script needs to be changed.
          Last edited by blancha; 04-15-2014, 04:59 PM.

          Comment

          • Wallysb01
            Senior Member
            • Feb 2011
            • 286

            #6
            blancha, brings up good points. I would just like to clarify on part 1 there. For an entire gene or transcript to effected by that, the entire thing would have to be overlapping or have no reads completely contained in any mutually exclusive part of the transcript. That last part does depend on your settings however. You can count reads that map to features which partially overlap but are not completely within other features so long as you don’t use the ‘union’ option and your reads don’t span into portions of the non-overlapping features for *both* features.

            Comment

            • halffedelf
              Newborn
              • Jul 2010
              • 11

              #7
              thanks everyone for your input.
              This is how my gtf file and bam file look like in IGV:


              The RNA-seq was strand specific so I guess multiple annotation for the same locus was not the issue here.

              All my samples have read count of >50M.

              PCAT1 is a well-studied gene and it is expressed in the tissues I am working with. You can see from the bam file that there are reads in the exon region.

              Comment

              • blancha
                Senior Member
                • May 2013
                • 367

                #8
                @halffedelf: You twice have the same annotation at the same location, and on the same strand: NR_045262, and ENST00000561978. htseq-count will count these reads as ambiguous.

                Edit your GTF file, find a GTF file without redundant annotations, or use Cufflinks which will assign the reads to both NR_045262, and ENST00000561978.

                If your RNA-Seq is stranded, you should also specify s=y or reverse, depending on how the library was prepared. You're losing a lot of information by setting s to no. With s=n, htseq-count is ignoring the strand.

                Comment

                • halffedelf
                  Newborn
                  • Jul 2010
                  • 11

                  #9
                  Thanks
                  I am already looking for a clean gtf with refgene and lncRNA only.
                  I will also run htseq again with s=y.

                  Originally posted by blancha View Post
                  @halffedelf: You twice have the same annotation at the same location, and on the same strand: NR_045262, and ENST00000561978. htseq-count will count these reads as ambiguous.

                  Edit your GTF file, find a GTF file without redundant annotations, or use Cufflinks which will assign the reads to both NR_045262, and ENST00000561978.

                  If your RNA-Seq is stranded, you should also specify s=y or reverse, depending on how the library was prepared. You're losing a lot of information by setting s to no. With s=n, htseq-count is ignoring the strand.

                  Comment

                  • blancha
                    Senior Member
                    • May 2013
                    • 367

                    #10
                    The peaks are small, dispersed, and full of mutations. I'm not sure one could concluded the gene is expressed based on this alignment, even if the reads were counted correctly.
                    Although Cufflinks would not have the same problem with the redundant annotation as htseq-count, it would not calculate a significant FPKM for this transcript, given the distribution profile of the aligned reads.
                    Last edited by blancha; 04-17-2014, 09:51 AM.

                    Comment

                    • halffedelf
                      Newborn
                      • Jul 2010
                      • 11

                      #11
                      EDIT: Please disregard my following question. You could tell that from the peak bar on top.

                      How could you tell about the mutation? Where does IGV show the mutation info from there?
                      The expression could be low level, I am trying to obtain a differental expression of the gene between tumor cell and control.

                      Originally posted by blancha View Post
                      The peaks are small, dispersed, and full of mutations. I'm not sure one could concluded the gene is expressed based on this alignment, even if the reads were counted correctly.
                      Last edited by halffedelf; 04-17-2014, 09:57 AM.

                      Comment

                      • blancha
                        Senior Member
                        • May 2013
                        • 367

                        #12
                        The colored vertical lines indicate mutations. The mutations can be seen better with a zoom in. The mutations could be real, and biologically significant, or they could be alignment mistakes. When you have this many mutations, and dispersed peaks, it is more likely to be alignment mistakes.

                        I couldn't concluded based on this alignment that the transcript is expressed.
                        To be fair, I couldn't conclude that the transcript is not expressed either.

                        If the transcript is lowly expressed, you'll need a higher sequencing depth to come to a definitive conclusion.

                        Comment

                        • halffedelf
                          Newborn
                          • Jul 2010
                          • 11

                          #13
                          I understand what you mean. I am just not sure what alignment mistakes could this be, or how I could take care of it. May be the sequencing quality was not good hence the higher number of wrong base calls?

                          Comment

                          • blancha
                            Senior Member
                            • May 2013
                            • 367

                            #14
                            I would need more information. There are many possibilities.

                            What is the RIN (RNA Integrity Number)?
                            If the RNA is of poor quality at the start, it will result in bad alignments.

                            What is the output of FASTQC?
                            If there are many poor quality bases that were not trimmed, it will result in bad alignments.

                            Was trimming performed?
                            The quality of the alignment can improved by removing poor quality bases, and adapter sequences. Trimming is only required if the output of FASTQC shows poor quality bases or adapter sequences. Trimming too aggressively can actually give results of lesser quality.

                            What is the output of RNASeQC?
                            RNASeQC will calculate a number of useful metrics on the quality of the alignments.

                            What is the sequencing depth?
                            It will be difficult to come to firm conclusions on lowly expressed transcripts if the sequencing depth is too low.

                            Comment

                            • blancha
                              Senior Member
                              • May 2013
                              • 367

                              #15
                              I forgot to mention the obvious.

                              Are there proper peaks for other transcripts? You could just check a housekeeping gene for example to see what the peaks resemble for a transcript that is known to be highly expressed.

                              Comment

                              Latest Articles

                              Collapse

                              • SEQadmin2
                                Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                                by SEQadmin2


                                Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                                The systematic characterization of the human proteome has
                                ...
                                07-20-2026, 11:48 AM
                              • 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

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by SEQadmin2, Yesterday, 12:17 PM
                              0 responses
                              11 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-23-2026, 11:41 AM
                              0 responses
                              11 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-20-2026, 11:10 AM
                              0 responses
                              23 views
                              0 reactions
                              Last Post SEQadmin2  
                              Started by SEQadmin2, 07-13-2026, 10:26 AM
                              0 responses
                              37 views
                              0 reactions
                              Last Post SEQadmin2  
                              Working...