Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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


    • #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

      • seqadmin
        Recent Advances in Sequencing Analysis Tools
        by seqadmin


        The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
        05-06-2024, 07:48 AM
      • seqadmin
        Essential Discoveries and Tools in Epitranscriptomics
        by seqadmin




        The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
        04-22-2024, 07:01 AM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Today, 07:03 AM
      0 responses
      9 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-10-2024, 06:35 AM
      0 responses
      21 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-09-2024, 02:46 PM
      0 responses
      27 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 05-07-2024, 06:57 AM
      0 responses
      23 views
      0 likes
      Last Post seqadmin  
      Working...
      X