Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Rivalyn
    Member
    • Apr 2014
    • 14

    Overlapping 5UTR-CDS features with HTSeq: Ambiguous?

    My colleagues and I are interested in the distribution of reads that fall within the 5'UTR, CDS and 3'UTR of a given transcript. We made a feature count table with HTSeq using the --type=<feature type> argument. The invocation looks like:

    Code:
    python -m HTSeq.scripts.count --format bam --order pos --stranded yes --type CDS file.bam pathto/ucsc_refseq.gtf > CDS_readcount.txt
    We did the same for 5'UTR and 3'UTR.

    My question is, what happens when a read spans both the 5'UTR and the CDS? My understanding of the manual is that the read will be counted as ambiguous in union mode and as 5'UTR in intersection-strict or intersection-nonempty mode, but it's important for our downstream analysis to be certain of this.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    With "--type CDS" you're ignoring UTRs completely, so if the alignment overlaps a UTR and a CDS it'll get counted unless you use "intersection-strict" mode. This is similar for any other "--type".

    Comment

    • Rivalyn
      Member
      • Apr 2014
      • 14

      #3
      Ok, so then it will get counted twice? Once in the UTR output and once in the CDS output?

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Yes, such alignments will be included in both counts files.

        Comment

        • Rivalyn
          Member
          • Apr 2014
          • 14

          #5
          Thanks so much!

          Comment

          Latest Articles

          Collapse

          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM
          • SEQadmin2
            From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
            by SEQadmin2


            Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


            The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
            ...
            06-02-2026, 10:05 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-09-2026, 11:58 AM
          0 responses
          43 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-05-2026, 10:09 AM
          0 responses
          48 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-04-2026, 08:59 AM
          0 responses
          49 views
          0 reactions
          Last Post SEQadmin2  
          Working...