Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • protein gi number to description

    Hello,

    I got gi numbers for blastp -outfmt 6 results. I am wondering which programs and database can convert the gi number list to protein descriptions. Any help? Thank you very much.

  • #2
    In theory BLAST could do this for you from the description in the database, please email them to let them know people would use this:
    This is an open letter to the NCBI BLAST+ team to request two simple enhancements which I think would be extremely useful - first and foremo...


    But as to the general question, you want to go from a protein GI number, e.g. GI:7525018, to a description, here something like "ATP synthase CF1 alpha subunit"?

    You could use the NCBI Entrez API to lookup by protein GI number, see http://www.ncbi.nlm.nih.gov/books/NBK25499/

    Another online alternative is the TogoWS REST API http://togows.dbcls.jp/site/en/ which makes this very easy thanks to their option to extract a specific field from a record, and can be used at the command line, in a script, or in your web-browser:

    Code:
    $ curl [url]http://togows.dbcls.jp/entry/protein/7525018/definition[/url]
    ATP synthase CF1 alpha subunit (chloroplast) [Arabidopsis thaliana].
    Last edited by maubp; 10-30-2012, 03:16 AM. Reason: Fixing tags; suggest emailing NCBI about BLAST

    Comment


    • #3
      Originally posted by mkdir View Post
      Hello,

      I got gi numbers for blastp -outfmt 6 results. I am wondering which programs and database can convert the gi number list to protein descriptions. Any help? Thank you very much.
      I'm guessing from the fact that you said you used '-outfmt 6' that you ran your BLAST search locally, using BLAST+, with a local database. If that is the case then you already have the toolset and data needed. You can use the blastdbcmd which is part of the BLAST+ distribution. This command should give you what your want.

      Code:
      # blastdbcmd -db <your_blastdb_name> -entry_batch <gi_list_file> -outfmt '%g %t' -target_only -out <output_file_name>
      The gi_list_file contains the gi's you want to search, one entry per line. The outfmt will print "gi#<space>definition", one per line. You can adjust the outfmt as desired (blastdbcmd -help for a full description of possible formats).
      Last edited by kmcarr; 10-30-2012, 05:44 AM. Reason: Added '-target_only' to command line. This will output only the first definition if multiple definitions map to the gi

      Comment


      • #4
        That's rather neat kmcarr, in this case for just the one GI number in my example:
        Code:
        $ blastdbcmd -db /data/blastdb/ncbi/nr -entry 7525018 -outfmt '%t' -target_only
        ATP synthase CF1 alpha subunit [Arabidopsis thaliana]
        Nice

        Comment


        • #5
          Thank you very much kmcarr and maubp. This worked out.

          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, 06:35 AM
          0 responses
          3 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, Yesterday, 02:46 PM
          0 responses
          15 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-07-2024, 06:57 AM
          0 responses
          13 views
          0 likes
          Last Post seqadmin  
          Started by seqadmin, 05-06-2024, 07:17 AM
          0 responses
          17 views
          0 likes
          Last Post seqadmin  
          Working...
          X