Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • mkdir
    Member
    • Feb 2012
    • 19

    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.
  • maubp
    Peter (Biopython etc)
    • Jul 2009
    • 1544

    #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

    • kmcarr
      Senior Member
      • May 2008
      • 1181

      #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

      • maubp
        Peter (Biopython etc)
        • Jul 2009
        • 1544

        #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

        • mkdir
          Member
          • Feb 2012
          • 19

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

          Comment

          Latest Articles

          Collapse

          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM
          • SEQadmin2
            Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by SEQadmin2


            I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.

            Here are nine questions we think about, in roughly the order they matter, before...
            06-18-2026, 07:11 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-30-2026, 05:37 AM
          0 responses
          12 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-26-2026, 11:10 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 06-17-2026, 06:09 AM
          0 responses
          54 views
          0 reactions
          Last Post SEQadmin2  
          Working...