Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • heso
    Member
    • May 2014
    • 19

    #1

    Collapsing gene names based on partial string overlap

    I have a long list of gene names with corresponding read counts. I'm mainly interested that the tRNAs with an identical anticodon are collapsed and the sum of their read counts is calculated.

    Therefore, something like:
    collapse names in lines containing "tRNA" based on the perfect match of the last 6 characters in the gene name (e.g. GluCTC) and sum up corresponding read counts. The new gene name can be "tRNA-" followed by the aforementioned 6 characters (e.g. tRNA-GluCTC)

    The input (tab-delimited) looks like this:
    Code:
    Gm26624	                5761
    Bre                     5658
    chr10.tRNA90-GluCTC	5573
    chr3.tRNA303-GluCTC	5558
    chr1.tRNA709-GluCTC	5489
    chr1.tRNA706-GlyGCC	4891
    chr1.tRNA704-GlyGCC	4838
    chr1.tRNA702-GlyGCC	4796
    chr13.tRNA110-GlyGCC	4753
    Gm13247	                4105
    Rny3	                3736
    chr1.tRNA485-LysTTT	3548
    Rn7s2	                3385
    chr19.tRNA107-LysTTT	3363
    Any ideas how to do this? Awk?

Latest Articles

Collapse

  • kinpict.com
    Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by kinpict.com
    The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
    Today, 06:37 PM
  • SEQadmin2
    16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
    by SEQadmin2





    NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
    10-30-2026, 06:46 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by SEQadmin2, 11-12-2026, 07:59 AM
0 responses
27 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-05-2026, 09:25 AM
0 responses
35 views
0 reactions
Last Post SEQadmin2  
Started by SEQadmin2, 11-03-2026, 11:54 AM
2 responses
56 views
0 reactions
Last Post kinpict.com  
Started by SEQadmin2, 10-28-2026, 09:57 AM
0 responses
175 views
0 reactions
Last Post SEQadmin2  
Working...