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
        Best Practices for Single-Cell Sequencing Analysis
        by seqadmin



        While isolating and preparing single cells for sequencing was historically the bottleneck, recent technological advancements have shifted the challenge to data analysis. This highlights the rapidly evolving nature of single-cell sequencing. The inherent complexity of single-cell analysis has intensified with the surge in data volume and the incorporation of diverse and more complex datasets. This article explores the challenges in analysis, examines common pitfalls, offers...
        06-06-2024, 07:15 AM
      • seqadmin
        Latest Developments in Precision Medicine
        by seqadmin



        Technological advances have led to drastic improvements in the field of precision medicine, enabling more personalized approaches to treatment. This article explores four leading groups that are overcoming many of the challenges of genomic profiling and precision medicine through their innovative platforms and technologies.

        Somatic Genomics
        “We have such a tremendous amount of genetic diversity that exists within each of us, and not just between us as individuals,”...
        05-24-2024, 01:16 PM

      ad_right_rmr

      Collapse

      News

      Collapse

      Topics Statistics Last Post
      Started by seqadmin, Yesterday, 06:58 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-06-2024, 08:18 AM
      0 responses
      20 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-06-2024, 08:04 AM
      0 responses
      18 views
      0 likes
      Last Post seqadmin  
      Started by seqadmin, 06-03-2024, 06:55 AM
      0 responses
      13 views
      0 likes
      Last Post seqadmin  
      Working...
      X