Version 23 (modified by gaou, 15 years ago)

--

Satellite meeting for G-language development

Topics

Development of REST/SOAP web services for G-language Genome Analysis Environment

Participants

  • Kazuharu Arakawa
  • Nobuhiro Kido
  • Kazuki Oshita

togoWS

 Name: togoWS   -   runs togoWS REST web services

 Description:
    This is a wrapper around togoWS REST web services provided at
    http://togows.dbcls.jp/.
    
 Usage:
    #search
    @ids = togoWS(-search=>"keyword", -db=>"database");

    #entry
    $entry = togoWS(@ids);

 Options:
    -search  required option for keyword searching. 
    -db      name of the database for searching and entry retrieval
             required for searching, but not required for entry 
             retrieval, since corresponding database is automatically
             selected from the ID format. However, majority of the 
             databases simply use large numbers as IDs, which all
             result in "pubmed" as the databases. Therefore, use 
             of this option is necessary for IDs that are only numbers.
    -field   field name for entry retrieval (optional)
    -format  format name for entry retrieval (optional)

REST

genome flatfile access

file upload

  • Base URL:
     http://www.g-language.org/gbi/
  • Syntax
    • POST a file to fileform=file
    • File types are automatically interpreted by the system. Supported formats are: ABI, ACE, ALF, BSML, CTF, EMBL, Entrez Gene, Exp, FastA, FastQ, GCG, GenBank?, Phd, PIR, PLN, raw, SCF, SWISS.
  • Return
    • Returns a unique reference ID for the uploaded file. You can use this ID for the rest of the analysis so that the large file is not transferred over the network.

genome analysis methods

SOAP

  • Taverna:
    • スクリーンショット貼って>cory

AJAX/CGI gateway

Perl Wrapper

  • Available at CPAN:
    •  http://search.cpan.org/~gaou/Bio-Glite-0.01/lib/Bio/Glite.pm
    • simple install with "sudo cpan Bio::Glite"
    • Bio::Glite has all of the functions G-language API, and very efficiently handles data through REST web service of G-language Project. Source code is extremely lightweight (>100KB), and requires very few (mostly standard) modules.

Attachments