Unconfigured Ad

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

    #1

    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

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          28 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...