Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MGlenn
    Junior Member
    • Dec 2017
    • 6

    #1

    Select entries in Trinotate annot. report that match separate list

    Hi,

    I have a Trinotate annotation report saved as Excel CSV. The annotation report has 15 columns for every entry. There are ~700,000 entries of annotation info.

    I also have a list of Trinity transcript ID's (1 column, ~14,000 rows).

    Some of the Trinity transcript ID's in my single-column list match up to the transcript ID's in my Trinotate annotation report. I would like to extract (or remove - whatever is easier) the entries from my Trinotate annotation report, based on the column of transcript ID's, that match my separate list of Trinity transcript ID's,

    The Trinity transcript ID's are found in the second column of my Trinotate report, and the transcript ID's in the separate list are in the first and only column. I want to remove all Trinotate annotation report entries, based on "transcript_id" in column 2, that do not match my separate list of Trinity transcript ID's.

    I'm trying to filter these in Excel, but my lap top may soon catch fire as the Worksheet is too big. I'm sure a simple line of syntax using awk or sed could accomplish this, I'm just not very savvy with text processing program language yet (but I'm working on it!). Any help with this would be very appreciated! Thanks for considering my post.

    M
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Do you have access to a linux machine? If so save the two files in plain text format from excel (tab delimited for the annotation is fine). Then you can do something like
    Code:
    grep -f file_with_ID transcript_annotation_file > transcript_annot_for_ID_you_want
    file_with_ID should list your ID's one per line.

    Comment

    • MGlenn
      Junior Member
      • Dec 2017
      • 6

      #3
      Sorry, GenoMax, I meant to specify that I wanted to run this on a linux machine.

      Seems like it'll work! Thanks so much for the help.

      M

      Comment

      Latest Articles

      Collapse

      • SEQadmin2
        Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
        by SEQadmin2



        Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

        Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
        ...
        10-14-2026, 09:55 AM
      • SEQadmin2
        New Genomics Technologies Take Aim at Long-Standing Limits
        by SEQadmin2


        Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

        We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
        ...
        09-28-2026, 10:25 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by SEQadmin2, 10-22-2026, 11:13 AM
      0 responses
      36 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-22-2026, 10:48 AM
      0 responses
      28 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-15-2026, 10:52 AM
      0 responses
      41 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 10-14-2026, 05:39 AM
      0 responses
      45 views
      0 reactions
      Last Post SEQadmin2  
      Working...