Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • dpryan
    replied
    A work around might prove simpler, yes. featureCounts also doesn't seem to support this, though I suppose you could just alter the source code for either of them to add this functionality.

    Leave a comment:


  • nasobema
    replied
    Originally posted by dpryan View Post
    There isn't, but it would be simple to just modify the annotation file that you're using to just collapse exon and ncRNA into a single feature. Something like the following would work:

    Code:
    awk '{if($3 == "exon" || $3 == "ncRNA") {$3="interesting_feature"}; print $0}' foo.gtf > foo.modified.gtf
    OK, sure. But then, there wouldn't be the option to separate the feature types any more. Unless I maintain multiple annotation files, of course.

    Seems like I have to stick to workarounds.

    Leave a comment:


  • dpryan
    replied
    There isn't, but it would be simple to just modify the annotation file that you're using to just collapse exon and ncRNA into a single feature. Something like the following would work:

    Code:
    awk '{if($3 == "exon" || $3 == "ncRNA") {$3="interesting_feature"}; print $0}' foo.gtf > foo.modified.gtf

    Leave a comment:


  • nasobema
    started a topic htseq-count: how to use multiple features?

    htseq-count: how to use multiple features?

    From the documentation I can only find how to select a certain type of feature for counting, like "exon" (default) or "ncRNA".

    Is there also a way to select multiple features?
    I'm using it currently for bacterial transcriptomics and ncRNA are of increasing importance here. Currently, I still need to run the script twice on different features and merge the results afterwards.

    While this actually works fine, it would be simpler to just tell htseq-count to look for multiple features at the same time.

    Any hints on how to do this?

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

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 12-02-2026, 11:10 AM
0 responses
16 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 12-01-2026, 11:06 AM
0 responses
24 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-23-2026, 11:11 AM
0 responses
62 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-17-2026, 06:27 AM
0 responses
60 views
0 reactions
Last Post SEQadmin2  
Working...