cvs: presentations / mdb_acs_spring2003.xml mdb_api_oscon2002.xml mdb_biocon2003.xml /slides/mdb acs2003.xml acs2003_conclusion.xml acs2003_toc.xml
api_implementation.xml mdb_desc.xml mdb_first_api_desc.xml mdb_services_summary.xml remote_viewer.xml rest_service.xml soap_service.xml
xmlrpc_api2.xml xmlrpc_service.xml /slides/mdb/output introspection_api_out.html introspection_out.html test_api_metallopdb_out.html
test_api_sql_out.html test_soap.out.html test_soap_out.html xmlrpc_api_out.html xmlrpc_method_metallopdb_out.html xmlrpc_method_sql_out.html

From: Date: Sat, 29 Mar 2003 01:42:42 +0000
Subject: cvs: presentations / mdb_acs_spring2003.xml mdb_api_oscon2002.xml mdb_biocon2003.xml /slides/mdb acs2003.xml acs2003_conclusion.xml acs2003_toc.xml
api_implementation.xml mdb_desc.xml mdb_first_api_desc.xml mdb_services_summary.xml remote_viewer.xml rest_service.xml soap_service.xml
xmlrpc_api2.xml xmlrpc_service.xml /slides/mdb/output introspection_api_out.html introspection_out.html test_api_metallopdb_out.html
test_api_sql_out.html test_soap.out.html test_soap_out.html xmlrpc_api_out.html xmlrpc_method_metallopdb_out.html xmlrpc_method_sql_out.html
Groups: php.pres 
Request: Send a blank email to pres+get-626@lists.php.net to get a copy of this message
jmcastagnetto Fri Mar 28 20:42:42 2003 EDT Added files: /presentations mdb_acs_spring2003.xml /presentations/slides/mdb acs2003.xml acs2003_conclusion.xml acs2003_toc.xml mdb_first_api_desc.xml mdb_services_summary.xml rest_service.xml soap_service.xml xmlrpc_api2.xml xmlrpc_service.xml /presentations/slides/mdb/output introspection_out.html test_api_metallopdb_out.html test_api_sql_out.html test_soap.out.html test_soap_out.html xmlrpc_api_out.html xmlrpc_method_metallopdb_out.html xmlrpc_method_sql_out.html Modified files: /presentations mdb_api_oscon2002.xml mdb_biocon2003.xml /presentations/slides/mdb api_implementation.xml mdb_desc.xml remote_viewer.xml /presentations/slides/mdb/output introspection_api_out.html Log: Talk on web services of the MDB bioinformatics application. ACS 2003.

Index: presentations/mdb_api_oscon2002.xml diff -u presentations/mdb_api_oscon2002.xml:1.4 presentations/mdb_api_oscon2002.xml:1.5 --- presentations/mdb_api_oscon2002.xml:1.4 Tue Feb 11 18:12:46 2003 +++ presentations/mdb_api_oscon2002.xml Fri Mar 28 20:42:42 2003 @@ -1,7 +1,7 @@ <presentation jskeyboard="1" stylesheet="presentations/slides/mdb/styles.css.php" - logo2="presentations/slides/mdb/mdb_logo.gif" + logo1="presentations/slides/mdb/mdb_logo.gif" navsize="1.4em"> <title>Creating Web Services for a Web Application with XML and PHP</title> <topic>Bioinformatics</topic> Index: presentations/mdb_biocon2003.xml diff -u presentations/mdb_biocon2003.xml:1.2 presentations/mdb_biocon2003.xml:1.3 --- presentations/mdb_biocon2003.xml:1.2 Tue Feb 11 18:12:46 2003 +++ presentations/mdb_biocon2003.xml Fri Mar 28 20:42:42 2003 @@ -1,7 +1,7 @@ <presentation jskeyboard="1" stylesheet="presentations/slides/mdb/styles.css.php" - logo2="presentations/slides/mdb/images/mdb_logo_trans.gif" + logo1="presentations/slides/mdb/images/mdb_logo_trans.gif" navsize="1.4em"> <title>Creating and Using Multi-protocol Bioinformatic Web Services</title> <topic>Bioinformatics</topic> Index: presentations/slides/mdb/api_implementation.xml diff -u presentations/slides/mdb/api_implementation.xml:1.3 presentations/slides/mdb/api_implementation.xml:1.4 --- presentations/slides/mdb/api_implementation.xml:1.3 Fri Feb 7 14:35:10 2003 +++ presentations/slides/mdb/api_implementation.xml Fri Mar 28 20:42:42 2003 @@ -1,9 +1,10 @@ <slide title='The Base Library'> - <blurb> - A set of simple modular functions that can be wrapped - in each of the services. Better that my original design - of kludging everything in parallel code sets. - </blurb> + <blurb> + A set of simple modular functions that can be wrapped + in each of the services. Better that my original design + of kludging everything in parallel code sets. + </blurb> <image align='center' -filename='images/api_implementation.png'/> + filename='images/mdbapi_impl.png'/> + <!-- filename='images/api_implementation.png'/ --> </slide> Index: presentations/slides/mdb/mdb_desc.xml diff -u presentations/slides/mdb/mdb_desc.xml:1.3 presentations/slides/mdb/mdb_desc.xml:1.4 --- presentations/slides/mdb/mdb_desc.xml:1.3 Fri Feb 7 14:35:10 2003 +++ presentations/slides/mdb/mdb_desc.xml Fri Mar 28 20:42:42 2003 @@ -5,8 +5,8 @@ extraction. </blurb> <blurb> -And a Web Application that allows searching and analysis of this quantitative -data. + And a Web Application that allows *interactive* + searching and analysis of said quantitative data. </blurb> <blurb title='... and what is becoming'> All of the above, and a *web based library of methods* Index: presentations/slides/mdb/remote_viewer.xml diff -u presentations/slides/mdb/remote_viewer.xml:1.2 presentations/slides/mdb/remote_viewer.xml:1.3 --- presentations/slides/mdb/remote_viewer.xml:1.2 Fri Feb 7 14:35:10 2003 +++ presentations/slides/mdb/remote_viewer.xml Fri Mar 28 20:42:42 2003 @@ -1,9 +1,9 @@ <slide title='MDB Remote Viewer'> <blurb> - We also have a lightweight molecular viewer (written in Java, approx. 70Kb in - size) that is embeddable by using simple HTML code in a page, e.g.: + We also have a lightweight molecular viewer (written in Java, approx. 70Kb in + size) that is embeddable by using simple HTML code in a page, e.g.: </blurb> -<example fontsize='1.2em' result='1'> +<example fontsize='1.2em' result='0'> <![CDATA[<!-- Display sites in 1hca and 1npc --> <div align='center'> <form method="POST" @@ -16,19 +16,22 @@ </form> </div>]]> </example> -<image title="Using the remote viewer" - align="center" - filename="images/remote_screenshot.gif"/> +<image title='... generates a button like this one ...' + align='center' + filename='images/mdbviewer_formbutton.png'/> +<image title="... which when pressed calls the remote viewer" + align="center" + filename="images/remote_screenshot.gif"/> <blurb> The remote viewer is being used by several web sites, among them: </blurb> <link leader='CaBP database:'> - http://structbio.vanderbilt.edu/cabp_database/ + http://structbio.vanderbilt.edu/cabp_database/ </link> <link leader='IMB at Jena:'> - http://www.imb-jena.de/ + http://www.imb-jena.de/ </link> <link leader='PROMISE:'> - http://bioinf.leeds.ac.uk/promise/ + http://bioinf.leeds.ac.uk/promise/ </link> </slide> Index: presentations/slides/mdb/output/introspection_api_out.html diff -u presentations/slides/mdb/output/introspection_api_out.html:1.1 presentations/slides/mdb/output/introspection_api_out.html:1.2 --- presentations/slides/mdb/output/introspection_api_out.html:1.1 Tue Jul 30 16:49:12 2002 +++ presentations/slides/mdb/output/introspection_api_out.html Fri Mar 28 20:42:42 2003 @@ -1,8 +1,8 @@ <table> <tr><td> -<table border='0' width='50%' cellpadding='0' cellspacing='0'> +<table border='0' width='50%' cellpadding='0' cellspacing='0' width='100%'> <tr><td bgcolor='#000000'> -<table border='0' width='100%' cellspacing='1' cellpadding='5'> +<table border='0' width='100%' cellspacing='1' cellpadding='5' width='100%'> <tr bgcolor='#eeeeee'> <th align='center'><i style='font-size: 1em;'>Function</i>:<br /> sql</th> <th align='left'> Index: presentations/mdb_acs_spring2003.xml +++ presentations/mdb_acs_spring2003.xml <presentation jskeyboard="1" stylesheet="presentations/slides/mdb/styles.css.php" logo1="presentations/slides/mdb/images/mdb_logo_trans.gif" navsize="1.4em"> <title>Data Sharing in Bioinformatics: Using the MDB's Web Services</title> <topic>Bioinformatics</topic> <event>225th ACS National Meeting</event> <location>New Orleans, LA</location> <date>March 25, 2003 </date> <speaker>Jesus M. Castagnetto, Ph.D.</speaker> <company>The Scripps Research Institute</company> <email>jesusmc@scripps.edu</email> <url>http://metallo.scripps.edu/talks</url> <slide>slides/mdb/acs2003.xml</slide> <slide>slides/mdb/acs2003_toc.xml</slide> <slide>slides/mdb/pdb_stats.xml</slide> <slide>slides/mdb/metalloprotein_example.xml</slide> <slide>slides/mdb/mdb_background.xml</slide> <slide>slides/mdb/mdb_desc.xml</slide> <slide>slides/mdb/mdb_as_lib.xml</slide> <slide>slides/mdb/imb_jena.xml</slide> <slide>slides/mdb/remote_viewer.xml</slide> <slide>slides/mdb/webservices_def.xml</slide> <slide>slides/mdb/mdb_arch.xml</slide> <slide>slides/mdb/api_implementation.xml</slide> <slide>slides/mdb/mdb_services_summary.xml</slide> <slide>slides/mdb/webservices_modes.xml</slide> <slide>slides/mdb/webservices_modes_diagram.xml</slide> <slide>slides/mdb/access_mode_sync.xml</slide> <slide>slides/mdb/xmlspace.xml</slide> <slide>slides/mdb/access_mode_async_ex.xml</slide> <slide>slides/mdb/access_mode_async.xml</slide> <slide>slides/mdb/access_mode_async_reg_ex.xml</slide> <slide>slides/mdb/access_mode_async_reg.xml</slide> <slide>slides/mdb/mdb_future.xml</slide> <slide>slides/mdb/acs2003_conclusion.xml</slide> <slide>slides/mdb/mdb_acknowledgments.xml</slide> <slide>slides/mdb/mdb_talks_url.xml</slide> </presentation> Index: presentations/slides/mdb/acs2003.xml +++ presentations/slides/mdb/acs2003.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide template="titlepage" fontsize='3.5em'> <title>Welcome!</title> </slide> Index: presentations/slides/mdb/acs2003_conclusion.xml +++ presentations/slides/mdb/acs2003_conclusion.xml <slide title="Summary"> <list type='darrow' marginright="1.5em" fontsize='3.5em' effect='slide'> <bullet> Share data <!--embedding modules directly, --> using a standarized file format (e.g. RSS, CML), better yet, via a standard web services protocol: REST, XML-RPC, SOAP. </bullet> <bullet> *REST* is the simplest way to share. We've been doing it since the CGI spec appeared. </bullet> <bullet> *XML-RPC* is simple, but data with complex structure might not be easy to represent. </bullet> <bullet> *SOAP* is more complex, but it gives you more flexibility (XML Schemas, RPC and Document Literal, WSDL, Service redirection, etc.) </bullet> <bullet> Plan on synchronous and asynchronous access to improve performance. </bullet> <bullet> _Use the MDB Web Services_. _Use the MDB Web Services_. _Use the MDB Web Services_ ... </bullet> </list> </slide> Index: presentations/slides/mdb/acs2003_toc.xml +++ presentations/slides/mdb/acs2003_toc.xml <?xml version="1.0" encoding="ISO-8859-1"?> <slide title='Agenda'> <list title='The MDB Web Application' type='darrow'> <bullet>Background</bullet> <bullet>Its Architecture</bullet> <bullet>Web Services: Overview, Implementation, and Examples of Use</bullet> <bullet>Access modes: synchronous, asynchronous</bullet> </list> <list title='Summary and Acknowldegements'> <bullet type='none'/> </list> </slide> Index: presentations/slides/mdb/mdb_first_api_desc.xml +++ presentations/slides/mdb/mdb_first_api_desc.xml <slide title='A (kludgy) first API'> <blurb title='Simple lists of metal-containing proteins for IMB'> An ad-hoc script written so the IMB developers at Jena could get easily lists of metal-containing proteins, with the option to include the metal in the output. Simple, straightforward, and kludgy. </blurb> <example title='List of metal-containing proteins (circa 1999, code fragment)' fontsize='1.5em' type='php' result='0'> <![CDATA[<?php (...) Header("Content-type: text/plain"); function mkCond($s) { $s = " metal=\"".$s."\""; } $metal = array("ag","au","ba","ca","cd","co", "cr","cu","fe","gd","hg","k","mg", "mn","mo","na","ni","pb","pt","v", "w","zn","sr"); array_walk($metal,"mkCond"); $condition = implode($metal," OR "); if ($showmetal=="y") { $fields = "source_id,metal"; } else { $fields = "source_id"; } $qstring = "select distinct $fields from site where "; $qstring .= $condition." order by source_id"; (...) ?>]]> </example> </slide> Index: presentations/slides/mdb/mdb_services_summary.xml +++ presentations/slides/mdb/mdb_services_summary.xml <slide title='Available services'> <list title='REST'> <bullet> URL: *http://metallo.scripps.edu/services/rest.php* </bullet> <bullet> Functions: *sql* and *metallopdb* </bullet> <bullet> Example: http://metallo.scripps.edu/services/rest.php?func=metallopdb &amp;metal=zn&amp;mode=new&amp;count=5&amp;format=rss </bullet> <!-- bullet> *sql* Parameters: _query_ = urlencoded SQL query; [_format_] = csv (default), wddx, serialized, table. Example: http://metallo.scripps.edu/services/rest.php?function=sql&amp;query=select +source_id+from+protein+limit+10&amp;format=wddx </bullet --> <!-- bullet> *metallopdb* Parameters: _metal_ = atomic symbol for the metal; [_mode_]: one of: first (default), last, random, new; [_count_]: how many PDB entries to retrieve (default = 5); [_format_]: csv (default), wddx, rss, serialized </bullet --> </list> <list title='XML-RPC'> <bullet> URL: *http://metallo.scripps.edu/services/xmlrpc.php* </bullet> <bullet> struct *method.sql*(string query) <!-- General function to query the MDB database server. Accepts a valid SQL query ("SELECT", "SHOW", or "DESCRIBE" statements only), and returns the resulting rows as a structure. --> </bullet> <bullet> struct *method.metallopdb*(string metal, string mode, int count, string format) <!-- Specialized function to retrieve a list of PDB structures containing a particular metal ion, as indexed in the MDB. The retrieval mode can be one of "first" (default) to get the first "n" PDB ids (sorted alphabetically), "last" to get the last "n" ids, "random" to get "n" random entries, and "new" to ge the newest "n" entries released/indexed. The number of entries to retrieve is set using "count". The result can be returned as XML-RPC structure, WDDX packet or RSS document --> </bullet> </list> <list title='SOAP'> <bullet> URL: *http://metallo.scripps.edu/services/soap.php* </bullet> <bullet> Methods: *sql*, *metallopdb*, *rssmetallopdb* </bullet> <!-- bullet> *sql* : allows for SELECT, SHOW, DESCRIBE SQL queries </bullet> <bullet> *metallopdb* : information about metal containing proteins given a metal, a mode, and a count </bullet> <bullet> *rssmetallopdb* : similar to the _metallopdb_ with an RSS document as output. </bullet --> </list> </slide> Index: presentations/slides/mdb/rest_service.xml +++ presentations/slides/mdb/rest_service.xml <slide title='REST (HTTP-based) Service'> <list title='Available functions'> <bullet> _sql_ : accepts a (url encoded) SQL query, and an optional format (default='csv') </bullet> <bullet> _metallopdb_ : accepts a metal, and as optional parameters: a mode, a count, and a format (defaults are: mode='last', count=5, format='csv') </bullet> </list> <example title='Introspection' type='html' result='0' align='center' filename='output/introspection_api_out.html'/> </slide> Index: presentations/slides/mdb/soap_service.xml +++ presentations/slides/mdb/soap_service.xml <slide title='SOAP Service'> <list title='Methods'> <bullet>_sql_ : allows for SELECT, SHOW, DESCRIBE SQL queries</bullet> <bullet>_metallopdb_ : information about metal containing proteins given a metal, a mode, and a count</bullet> <bullet>_rssmetallopdb_ : similar to the _metallopdb_ with the output formated as an RSS document</bullet> </list> <example title='Using the methods sql, metallopdb and rssmetallopdb' type='html' align='center' result='0' fontsize='1.2em' filename='output/test_soap_out.html'/> </slide> Index: presentations/slides/mdb/xmlrpc_api2.xml +++ presentations/slides/mdb/xmlrpc_api2.xml <slide title='XML-RPC service'> <example type='html' result='0' align='center' fontsize='1.0em' filename='output/xmlrpc_api_out.html'/> </slide> Index: presentations/slides/mdb/xmlrpc_service.xml +++ presentations/slides/mdb/xmlrpc_service.xml <slide title='XML-RPC service'> <list title='Available methods'> <bullet> _method.sql_ : to perform 'SELECT', 'SHOW', or 'DESCRIBE' SQL queries</bullet> </list> <example title='Introspection' type='html' result='0' align='center' filename='output/xmlrpc_api_out.html'/> </slide> Index: presentations/slides/mdb/output/introspection_out.html +++ presentations/slides/mdb/output/introspection_out.html <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- $Id: introspection_out.html,v 1.1 2003/03/29 01:42:42 jmcastagnetto Exp $ --> <head> <meta name="generator" content="HTML Tidy, see www.w3.org" /> <meta http-equiv="Pragma" content="no cache" /> <meta name="Organization" content="The Scripps Research Institute" /> <meta name="Copyright" content="The Scripps Research Institute" /> <meta name="Version" content="2" /> <meta name="Author" content="Jesus M. Castagnetto, &#106;&#101;&#115;&#117;&#115;&#109;&#099;&#064;&#115;&#099;&#114;&#105;&#112;&#112;&#115;&#046;&#101;&#100;&#117;" /> <meta name="Keywords" content="metal,protein,metalloprotein,protein design,structure,database,molecular biology,metalloenzyme,metalloantibody" /> <meta name="Description" content="An structural database of metal-binding sites in metalloproteins, including an interactive search and visualization interface." /> <title>MDB - Web API (introspection)</title> </head> <body bgcolor="#ffffff"> <a name="top"></a> <!-- outer table --> <table border="0" cellspacing="0" cellpadding="1" width="100%"> <tr> <td align="center" valign="middle" bgcolor="#000000"> <!-- Page content --> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr bgcolor="#ffffff"> <td align="center"> <!-- begin banners --> <table border="0" cellspacing="0" cellpadding="0" width="100%"> <tr bgcolor="#ffffff"> <td align="left"><img src="/images/mdb_logo.png" border="0" title="MDB site - TSRI" width="150" height="54" alt="MDB site, TSRI" usemap="#mdb" /> <map id="mdb" name="mdb"> <area shape="rect" coords="0,0,150,54" href="/index.php" alt="Metalloprotein-site Database and Browser" /> </map></td> <td align="center"><img src="/images/metallo_mdb_banner.png" border="0" width="457" height="54" alt="Metallo Program &amp; MDB sites" usemap="#metallo_mdb" /> <map id="metallo_mdb" name="metallo_mdb"> <area shape="rect" coords="0,0,457,26" href="http://www.scripps.edu/research/metallo/" alt="Metalloprotein Structure and Design Program" /> <area shape="rect" coords="0,27,457,54" href="/index.php" alt="Metalloprotein-site Database and Browser" /> </map></td> <td align="right"><img src="/images/tsrilogo_small.png" border="0" width="122" height="54" alt="The Scripps Research Institute" usemap="#tsri" /> <map id="tsri" name="tsri"> <area shape="rect" coords="0,0,122,54" href="http://www.scripps.edu/" alt="The Scripps Research Institute" /> </map></td> </tr> </table> <!--end banners--> </td> </tr> <tr bgcolor="#ffffff" valign="top"> <td> <!-- navigation bar --> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr bgcolor="#ffefd5" align="center"> <td>[ <a href="/search/">Search</a> ]</td> <td>[ <a href="/analysis/">Analysis</a> ]</td> <td>[ <a href="/services/">Services</a> ]</td> <td>[ <a href="/news/">News</a> ]</td> <td>[ <a href="/help/">Help</a> ]</td> <td>[ <a href="/download/">Downloads</a> ]</td> <td>[ <a href="/about.php">About</a> ]</td> <td>[ <a href="/feedback.php">Feedback</a> ]</td> <td>[ <a href="/beta/">*Beta*</a> ]</td> <td>[ <a href="/index.php">MDB Home</a> ]</td> </tr> </table> <!-- end of navigation bar --> </td> </tr> <tr bgcolor="#ffffff"> <td align='left'> <table><tr valign='middle' align='center'> <td><a href='/services/api/index.php'><img src='/images/api.png' alt='MDB Web API' border='0' width="60" height="38" /></a></td> </tr></table> <h1 align='center'>MDB - Web API (introspection)</h1> <div align='center'> <table width='90%' border='0' cellpadding='5'> <tr><td> <table border='0' width='100%' cellpadding='0' cellspacing='0'> <tr><td bgcolor='#000000'> <table border='0' width='100%' cellspacing='1' cellpadding='5'> <tr bgcolor='#eeeeee'> <th align='center'><i>Function</i>:<br /> sql</th> <th align='left'> <i>Parameters</i>:<ul> <li>query: urlencoded SQL query</li> <li>[format]: csv (default), wddx, serialized, table</li> </ul> </th> </tr> <tr bgcolor='#ddffff'> <td colspan='2'><p><b>Description:</b><br />General function to query a database server. Accepts a valid SQL query (&quot;SELECT&quot;, &quot;SHOW&quot;, or &quot;DESCRIBE&quot; statements only), and an optioanl result format. Valid formats are &quot;csv&quot; (default), &quot;wddx&quot;, &quot;serialized&quot; (PHP serialization), &quot;table&quot; (HTML table). Example of use: /services/api.php?function=sql&amp;query=select+source_id+from+protein+limit+10&amp;format=wddx</p> </td> </tr> </table> </td></tr></table> </td></tr> <tr><td> <table border='0' width='100%' cellpadding='0' cellspacing='0'> <tr><td bgcolor='#000000'> <table border='0' width='100%' cellspacing='1' cellpadding='5'> <tr bgcolor='#eeeeee'> <th align='center'><i>Function</i>:<br /> metallopdb</th> <th align='left'> <i>Parameters</i>:<ul> <li>metal: atomic symbol for the metal</li> <li>[mode]: one of: first (default), last, random, new</li> <li>[count]: how many PDB entries to retrieve (default = 5)</li> <li>[format]: csv (default), wddx, rss, serialized</li> </ul> </th> </tr> <tr bgcolor='#ddffff'> <td colspan='2'><p><b>Description:</b><br />Specialized function to retrieve a list of PDB structures containing a particular metal ion, as indexed in the MDB. The retrieval mode can be one of &quot;first&quot; (default) to get the first &quot;n&quot; PDB ids (sorted alphabetically), &quot;last&quot; to get the last &quot;n&quot; ids, &quot;random&quot; to get &quot;n&quot; random entries, and &quot;new&quot; to ge the newest &quot;n&quot; entries released/indexed. The number of entries to retrieve is set using &quot;count&quot;. The list can be formated as &quot;csv&quot; (default), &quot;wddx&quot;, &quot;rss&quot;, or &quot;serialized&quot; (PHP serialization). Example of use: /services/api.php?function=metallopdb&amp;metal=zn&amp;mode=random&amp;count=5&amp;format=rss</p> </td> </tr> </table> </td></tr></table> </td></tr> </table></div> </td> </tr> <tr bgcolor="#ffffff"> <td> <!-- navigation bar --> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr bgcolor="#ffefd5" align="center"> <td>[ <a href="/search/">Search</a> ]</td> <td>[ <a href="/analysis/">Analysis</a> ]</td> <td>[ <a href="/services/">Services</a> ]</td> <td>[ <a href="/news/">News</a> ]</td> <td>[ <a href="/help/">Help</a> ]</td> <td>[ <a href="/download/">Downloads</a> ]</td> <td>[ <a href="/about.php">About</a> ]</td> <td>[ <a href="/feedback.php">Feedback</a> ]</td> <td>[ <a href="/beta/">*Beta*</a> ]</td> <td>[ <a href="/index.php">MDB Home</a> ]</td> </tr> </table> <!-- end of navigation bar --> </td> </tr> <tr bgcolor="#ffffff"> <td><small>The <a href="http://metallo.scripps.edu/index.php">Metalloprotein Database &amp; Browser</a> is part of the <a href="http://www.scripps.edu/research/metallo/index.html"> Metalloprotein Structure, Design and Bioinformatics Porgram Project</a> at <a href="http://www.scripps.edu/index.html">The Scripps Research Institute</a></small></td> </tr> </table> <!-- End of page content --> </td> </tr> </table> <!-- end outer table --> <!-- Copyright and doc info --> <hr noshade="noshade" size="1" /> <div id="footer"> <small> <a href="http://validator.w3.org/check/referer"><img border="0" src="/images/vxhtml10.gif" align="right" alt="Valid XHTML 1.0!" height="31" width="88" /></a> <!-- a href="http://jigsaw.w3.org/css-validator/check/referer"><img src="/images/vcss.gif" alt="Valid CSS!" align="right" border="0" /></a --> Document: http://metallo.scripps.edu/services/api.php<br /> Last modified: Wednesday, July 31st, 2002 [18:03:50 PST]<br /> Last cached: Friday, March 21st, 2003 [21:39:30 PST]<br /> Site maintained by Jesus M. Castagnetto (&#106;&#101;&#115;&#117;&#115;&#109;&#099;&#064;&#115;&#099;&#114;&#105;&#112;&#112;&#115;&#046;&#101;&#100;&#117;) - &copy; 1998-2001 The Scripps Research Institute. <br clear="all" /> </small> </div> </body> </html> Index: presentations/slides/mdb/output/test_api_metallopdb_out.html +++ presentations/slides/mdb/output/test_api_metallopdb_out.html <h1 align='center'>Testing the HTTP based API</h1> <b>Server used:</b> [ http://metallo.scripps.edu:80]<br><b>Service:</b>[ /services/api.php] <hr> <h2>Retrieving 5 random zinc containing proteins</h2> <b>Function vars:</b><br> [metal: zn] [count: 5] [format: rss] [mode: random] <br><b>Using the URL: </b>http://metallo.scripps.edu:80/services/api.ph<br> p?func=metallopdb&metal=zn&mode=random&count=<br> 5&format=rss<br><b>RESULT</b><br> <pre> &lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt; &lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns=&quot;http://purl.org/rss/1.0/&quot; xmlns:mn=&quot;http://usefulinc.com/rss/manifest/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; &gt; &lt;channel rdf:about=&quot;http://metallo.scripps.edu/services/api.php?func=metallopdb&amp;amp;metal=zn&amp;amp;mode=random&amp;amp;count=5&amp;amp;format=rss&quot;&gt; &lt;title&gt;MDB - The Metalloprotein Database and Browser&lt;/title&gt; &lt;link&gt;http://metallo.scripps.edu&lt;/link&gt; &lt;description&gt;Data retrieved using the MDB API&lt;/description&gt; &lt;items&gt; &lt;rdf:Seq&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1b55&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1bt7&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1dcq&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1htb&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1znb&amp;amp;metal[]=zn&quot; /&gt; &lt;/rdf:Seq&gt; &lt;/items&gt; &lt;/channel&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1b55&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1b55&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 1b55 [deposited on: 1999/01/12, revised on: 1999/06/15]&lt;/title&gt; &lt;description&gt;Header: [transferase 12-jan-99 1b55] Title: [ph domain from bruton's tyrosine kinase in complex with inositol 1,3,4,5-tetrakisphosphate] Compound: [mol_id: 1; molecule: tyrosine-protein kinase btk; chain: a, b; fragment: ph domain and btk motif; synonym: bruton's agammaglobulinemia tyrosine kinase, btk; ec: 2.7.1.112; engineered: yes; other_details: complex with inositol 1,3,4,5-tetrakisphosphate] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; cell: b-lymphocyte; expression_system: escherichia coli; expression_system_strain: bl21 (de3); expression_system_vector: pbat4; expression_system_plasmid: pbat4-btk3] Keywords: [ph domain, btk motif, zinc binding, x-linked agammaglobulinemia, tyrosine-protein kinase, inositol 1,3,4,5-tetrakisphosphate] Authors[k.djinovic carugo,e.baraldi,m.hyvoenen,p.lo surdo, a.m.riley,b.v.l.potter,r.o'brien,j.e.ladbury,m.saraste] ExpData[x-ray diffraction] R-value[0.23] Resolution[2.40]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1bt7&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1bt7&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 1bt7 [deposited on: 1998/09/01, revised on: 1999/06/22]&lt;/title&gt; &lt;description&gt;Header: [hydrolase 01-sep-98 1bt7] Title: [the solution nmr structure of the n-terminal protease domain of the hepatitis c virus (hcv) ns3-protein, from bk strain, 20 structures] Compound: [mol_id: 1; molecule: ns3 serine protease; chain: null; engineered: yes; mutation: ins(r180-askkkk); other_details: compound engineered adding a solubilising tail at the c-terminus] Source: [mol_id: 1; organism_scientific: human hepatitis c virus; strain: bk; expression_system: escherichia coli; expression_system_strain: bl21 (de3); expression_system_plasmid: pt7.7] Keywords: [viral non-structural protein, serine protease] Authors[g.barbato,d.o.cicero,m.c.nardi,c.steinkuhler,r.cortese, r.de francesco,r.bazzo] ExpData[nmr, 20 structures] R-value[] Resolution[]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1dcq&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1dcq&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 1dcq [deposited on: 1999/11/05, revised on: 1999/12/22]&lt;/title&gt; &lt;description&gt;Header: [metal binding protein 05-nov-99 1dcq] Title: [crystal structure of the arf-gap domain and ankyrin repeats of papbeta.] Compound: [mol_id: 1; molecule: pyk2-associated protein beta; chain: a; fragment: arf-gap domain; engineered: yes] Source: [mol_id: 1; organism_scientific: mus musculus; organism_common: mouse; organ: brain; expression_system: escherichia coli; expression_system_common: bacteria; expression_system_vector_type: plasmid; expression_system_plasmid: pet21a] Keywords: [ankyrin repeats, metal binding protein] Authors[v.mandiyan,j.andreev,j.schlessinger,s.r.hubbard] ExpData[x-ray diffraction] R-value[0.21] Resolution[2.10]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1htb&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1htb&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 1htb [deposited on: 1995/08/10, revised on: 1995/12/07]&lt;/title&gt; &lt;description&gt;Header: [oxidoreductase 10-aug-95 1htb] Title: [crystallization of human beta3 alcohol dehydrogenase (10 mg/ml) in 100 mm sodium phosphate (ph 7.5), 7.5 mm nad+ and 1 mm 4-iodopyrazole at 25 c] Compound: [mol_id: 1; molecule: beta3 alcohol dehydrogenase; chain: a, b; synonym: beta3 adh; ec: 1.1.1.1; engineered: yes; heterogen: nad+; heterogen: 4-iodopyrazole; other_details: homodimeric with one nad+ and one 4-iodopyrazole per subunit] Source: [mol_id: 1; synthetic: yes; organism_scientific: homo sapiens; organism_common: human; organ: liver; expression_system: escherichia coli; expression_system_plasmid: pkk223-3; expression_system_gene: human beta3 cdna] Keywords: [] Authors[t.d.hurley,g.j.davis] ExpData[x-ray diffraction] R-value[0.18] Resolution[2.40]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1znb&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/services/remote/remote.php?source_id[]=1znb&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 1znb [deposited on: 1996/06/06, revised on: 1997/01/11]&lt;/title&gt; &lt;description&gt;Header: [hydrolase (beta-lactamase) 06-jun-96 1znb] Title: [metallo-beta-lactamase] Compound: [mol_id: 1; molecule: metallo-beta-lactamase; chain: a, b; synonym: class b beta-lactamase; ec: 3.5.2.6; engineered: yes] Source: [mol_id: 1; organism_scientific: bacteroides fragilis; strain: tal3636; variant: clinical isolate qmcn3; expression_system: escherichia coli; expression_system_strain: bl21; expression_system_plasmid: lambda de3; expression_system_gene: ccra3] Keywords: [metallo beta-lactamase zinc] Authors[n.o.concha,o.herzberg] ExpData[x-ray diffraction] R-value[0.17] Resolution[1.85]&lt;/description&gt; &lt;/item&gt; &lt;rdf:Description rdf:ID=&quot;manifest&quot;&gt; &lt;mn:channels&gt; &lt;rdf:Seq&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/api.php?func=metallopdb&amp;amp;metal=zn&amp;amp;mode=random&amp;amp;count=5&amp;amp;format=rss&quot; /&gt; &lt;/rdf:Seq&gt; &lt;/mn:channels&gt; &lt;/rdf:Description&gt; &lt;/rdf:RDF&gt; </pre> Index: presentations/slides/mdb/output/test_api_sql_out.html +++ presentations/slides/mdb/output/test_api_sql_out.html <h1 align='center'>Testing the HTTP based API</h1> <b>Server used:</b> [ http://metallo.scripps.edu:80]<br><b>Service:</b>[ /services/api.php] <hr> <h2>SQL query function</h2> <b>Function vars:</b><br> [query: select source_id,expdata,description from protein where expdata not like '%nmr%' limit 4]<br> [format: table] <br><b>Using the URL: </b>http://metallo.scripps.edu:80/services/api.ph<br> p?func=sql&query=select+source_id%2Cexpdata%2<br> Cdescription+from+protein+where+expdata+not+l<br> ike+%27%25nmr%25%27+limit+4&format=table<br><b>RESULT</b><br> <table border='0' cellspacing='1' cellpadding='5'> <tr bgcolor='#ffffdd'> <th>source_id</th><th>expdata</th><th>description</th></tr> <tr bgcolor='#ffffff'> <td>1a6e</td><td>x-ray diffraction</td><td>Header: [chaperonin 24-feb-98 1a6e] Title: [thermosome - mg-adp-alf3 complex] Compound: [mol_id: 1; molecule: thermosome; chain: a, b; biological_unit: hexadecamer] Source: [mol_id: 1; organism_scientific: thermoplasma acidophilum; collection: atcc 25905; cellular_location: cytoplasm] Keywords: [group ii chaperonin, cct, tric, protein folding, atpase, transition state complex, atp hydrolysis]</td></tr> <tr bgcolor='#dddddd'> <td>1agr</td><td>x-ray diffraction</td><td>Header: [complex (signal transduction/regulator) 25-mar-97 1agr] Title: [complex of alf4-activated gi-alpha-1 with rgs4] Compound: [mol_id: 1; molecule: guanine nucleotide-binding protein g(i); chain: a, d; fragment: alpha-1; synonym: gi-alpha-1; engineered: yes; biological_unit: monomer; mol_id: 2; molecule: rgs4; chain: e, h; synonym: regulator of g-protein signalling 4; engineered: yes; biological_unit: monomer] Source: [mol_id: 1; organism_scientific: rattus norvegicus; organism_common: rat; organ: brain; expression_system: escherichia coli; expression_system_strain: bl21 (de3); expression_system_plasmid: pqe6/gia1; mol_id: 2; organism_scientific: rattus norvegicus; organism_common: rat; organ: brain; plasmid: pqe60-h6rgs4; expression_system: escherichia coli; expression_system_strain: bl21 (de3)] Keywords: [hydrolase, signal transduction, rgs4, complex (signal transduction/regulator), gtp-binding, gtpase activating protein]</td></tr> <tr bgcolor='#ffffff'> <td>1br1</td><td>x-ray diffraction</td><td>Header: [muscle protein 26-aug-98 1br1] Title: [smooth muscle myosin motor domain-essential light chain complex with mgadp.alf4 bound at the active site] Compound: [mol_id: 1; molecule: myosin; chain: a, b, c, d, e, f, g, h; fragment: chains a, c, e, g, motor domain, chains b, d, f, h, essential light; synonym: mde; ec: 3.6.1.32; engineered: yes; other_details: mg, adp, alf(4)] Source: [mol_id: 1; organism_scientific: gallus gallus; organism_common: chicken; organ: gizzard; tissue: smooth muscle; expression_system: spodoptera frugiperda insect cells; expression_system_cell_line: sf9; expression_system_vector: baculovirus] Keywords: []</td></tr> <tr bgcolor='#dddddd'> <td>1br2</td><td>x-ray diffraction</td><td>Header: [muscle protein 26-aug-98 1br2] Title: [smooth muscle myosin motor domain complexed with mgadp.alf4] Compound: [mol_id: 1; molecule: myosin; chain: a, b, c, d, e, f; fragment: motor domain; ec: 3.6.1.32; engineered: yes; other_details: ligands mg, adp, alf(4)] Source: [mol_id: 1; organism_scientific: gallus gallus; organism_common: chicken; organ: gizzard; tissue: smooth muscle; expression_system: spodoptera frugiperda insect cells; expression_system_cell_line: sf9; expression_system_vector: baculovirus] Keywords: []</td></tr> </table> Index: presentations/slides/mdb/output/test_soap.out.html +++ presentations/slides/mdb/output/test_soap.out.html <h2>Excercizing the sql method</h2> [query: 'select source_id,description from protein limit 3'] <table border='1'> <tr> <td bgcolor='#eeeeee'> <b>source_id</b>: 1aoo<br> <b>description</b>: Header: [metallothionein 08-jul-97 1aoo] Title: [ag-substituted metallothionein from saccharomyces cerevisiae, nmr, minimized average structure] Compound: [mol_id: 1; molecule: ag-metallothionein; chain: null; synonym: ag-mt; biological_unit: monomer; other_details: ag(i) substituted] Source: [mol_id: 1; organism_scientific: saccharomyces cerevisiae; organism_common: baker's yeast; strain: 301n] Keywords: [copper detoxification, metal-thiolate cluster]<br> <b>0</b>: <br> <b>source_id</b>: 1aqq<br> <b>description</b>: Header: [metallothionein 31-jul-97 1aqq] Title: [ag-substituted metallothionein from saccharomyces cerevisiae, nmr, 10 structures] Compound: [mol_id: 1; molecule: ag-metallothionein; chain: null; synonym: ag-mt; biological_unit: monomer; other_details: ag(i) substituted] Source: [mol_id: 1; organism_scientific: saccharomyces cerevisiae; organism_common: baker's yeast; strain: 301n] Keywords: [copper detoxification, metal-thiolate cluster]<br> <b>1</b>: <br> <b>source_id</b>: 2aw0<br> <b>description</b>: Header: [copper transport 08-oct-97 2aw0] Title: [fourth metal-binding domain of the menkes copper-transporting atpase, nmr, 20 structures] Compound: [mol_id: 1; molecule: menkes copper-transporting atpase; chain: null; fragment: fourth metal-binding domain; ec: 3.6.1.36; engineered: yes; biological_unit: monomer; other_details: ag(i)-bound state] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; expression_system: escherichia coli] Keywords: [copper-binding domain, hydrolase, copper transport]<br> <b>2</b>: <br> </td> </tr> </table> <hr> <h2>Making a deliberate error using the metallopdb method</h2> [metal: zn][mode: first][count: -3] <br><b>OOPS we got an error</b> <table border='1'> <tr> <td bgcolor='#eeeeee'> <b>error_message_prefix</b>: PHP<br> <b>mode</b>: 1<br> <b>level</b>: 1024<br> <b>code</b>: SOAP-ENV:Server<br> <b>message</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>userinfo</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>file</b>: /home/server/php/lib/php/SOAP/Fault.php<br> <b>line</b>: 49<br> <b>function</b>: pear_error<br> <b>class</b>: pear_error<br> <b>type</b>: ::<br> <b>0</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>1</b>: SOAP-ENV:Server<br> <b>2</b>: <br> <b>3</b>: <br> <b>4</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>args</b>: <br> <b>0</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Base.php<br> <b>line</b>: 320<br> <b>function</b>: soap_fault<br> <b>class</b>: soap_fault<br> <b>type</b>: -><br> <b>0</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>1</b>: SOAP-ENV:Server<br> <b>2</b>: PHP<br> <b>3</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>4</b>: <br> <b>5</b>: <br> <b>args</b>: <br> <b>1</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Client.php<br> <b>line</b>: 508<br> <b>function</b>: _raisesoapfault<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>0</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>1</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>2</b>: PHP<br> <b>3</b>: SOAP-ENV:Server<br> <b>args</b>: <br> <b>2</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Client.php<br> <b>line</b>: 476<br> <b>function</b>: __decoderesponse<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>value</b>: SOAP-ENV:Server<br> <b>name</b>: faultcode<br> <b>type</b>: QName<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: faultcode<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: QName<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>0</b>: <br> <b>value</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>name</b>: faultstring<br> <b>type</b>: string<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: faultstring<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: string<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>1</b>: <br> <b>value</b>: PHP<br> <b>name</b>: faultactor<br> <b>type</b>: anyURI<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: faultactor<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: anyURI<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>2</b>: <br> <b>value</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>name</b>: detail<br> <b>type</b>: string<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: detail<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: string<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>3</b>: <br> <b>value</b>: <br> <b>name</b>: Fault<br> <b>type</b>: Struct<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: <br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: Fault<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: Struct<br> <b>ns</b>: <br> <b>namespace</b>: <br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>0</b>: <br> <b>args</b>: <br> <b>3</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Client.php<br> <b>line</b>: 245<br> <b>function</b>: __parse<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>0</b>: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode xsi:type="xsd:QName">SOAP-ENV:Server</faultcode> <faultstring xsi:type="xsd:string">Parameter count must be an integer &gt; 0, value sent: -3</faultstring> <faultactor xsi:type="xsd:anyURI">PHP</faultactor> <detail xsi:type="xsd:string">Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46 </detail></SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> <br> <b>1</b>: UTF-8<br> <b>2</b>: <br> <b>args</b>: <br> <b>4</b>: <br> <b>file</b>: /home/jesus/devel/php/presentations/slides/mdb/test_soap.xml<br> <b>line</b>: 45<br> <b>function</b>: call<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>0</b>: metallopdb<br> <b>metal</b>: zn<br> <b>mode</b>: first<br> <b>count</b>: -3<br> <b>1</b>: <br> <b>2</b>: urn:MDB_SOAP_Server<br> <b>args</b>: <br> <b>5</b>: <br> <b>backtrace</b>: <br> <b>callback</b>: <br> </td> </tr> </table> <hr> <h2>Using the metallopdb method correctly</h2> [metal:zn][mode: random][count: 3] <table border='1'> <tr> <td bgcolor='#eeeeee'> <b>metal</b>: zn<br> <b>source_id</b>: 1eb6<br> <b>revision_date</b>: 2001/11/23<br> <b>deposition_date</b>: 2001/07/19<br> <b>expdata</b>: x-ray diffraction<br> <b>r_value</b>: 0.10<br> <b>resolution</b>: 1.00<br> <b>authors</b>: k.e.mcauley,y.jia-xing,e.j.dodson,j.lehmbeck, p.r.ostergaard,k.s.wilson<br> <b>description</b>: Header: [hydrolase 19-jul-01 1eb6] Title: [deuterolysin from aspergillus oryzae] Compound: [mol_id: 1; molecule: neutral protease ii; synonym: npii, deuterolysin; chain: a; ec: 3.4.24.39] Source: [mol_id: 1; organism_scientific: aspergillus oryzae] Keywords: [zinc, neutral protease ii, hydrolase]<br> <b>0</b>: <br> <b>metal</b>: zn<br> <b>source_id</b>: 1qf2<br> <b>revision_date</b>: 2000/12/20<br> <b>deposition_date</b>: 1999/04/06<br> <b>expdata</b>: x-ray diffraction<br> <b>r_value</b>: 0.16<br> <b>resolution</b>: 2.06<br> <b>authors</b>: j.-f.gaucher,m.selkti,g.tiraboschi,t.prange,b.p.roques, a.tomas,m.c.fournie-zaluski<br> <b>description</b>: Header: [hydrolase 06-apr-99 1qf2] Title: [thermolysin (e.c.3.4.24.27) complexed with (2-sulphanyl-3- phenylpropanoyl)-gly-(5-phenylproline). parameters for zn- monodentation of mercaptoacyldipeptides in metalloendopeptidase] Compound: [mol_id: 1; molecule: thermolysin; chain: a; ec: 3.4.24.27] Source: [mol_id: 1; organism_scientific: bacillus thermoproteolyticus] Keywords: [zn metallopeptidase]<br> <b>1</b>: <br> <b>metal</b>: zn<br> <b>source_id</b>: 1xuf<br> <b>revision_date</b>: 1998/12/16<br> <b>deposition_date</b>: 1997/10/10<br> <b>expdata</b>: x-ray diffraction<br> <b>r_value</b>: 0.15<br> <b>resolution</b>: 2.04<br> <b>authors</b>: b.a.katz,j.m.clark,j.s.finer-moore,t.e.jenkins,c.r.johnson, m.j.rose,c.luong,w.r.moore,r.m.stroud<br> <b>description</b>: Header: [serine protease 10-oct-97 1xuf] Title: [trypsin-babim-zn+2, ph 8.2] Compound: [mol_id: 1; molecule: trypsin; chain: null; ec: 3.4.21.4; other_details: trypsin/zn+2/small molecule ligand complex] Source: [mol_id: 1; organism_scientific: bos taurus; organism_common: bovine] Keywords: [trypsin-zn+2-small molecule ligand, designed small molecule ligand with nanomolar affinity]<br> <b>2</b>: <br> </td> </tr> </table> <hr> <h2>Using the rssmetallopdb method</h2> [metal: zn][mode: last][count: 3] <table border='1'> <tr> <td bgcolor='#eeeeee'> <pre> &lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt; &lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns=&quot;http://purl.org/rss/1.0/&quot; xmlns:mn=&quot;http://usefulinc.com/rss/manifest/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; &gt; &lt;channel rdf:about=&quot;http://metallo.scripps.edu/services/soap.php&quot;&gt; &lt;title&gt;MDB - The Metalloprotein Database and Browser&lt;/title&gt; &lt;link&gt;http://metallo.scripps.edu&lt;/link&gt; &lt;description&gt;Data retrieved using the MDB API&lt;/description&gt; &lt;items&gt; &lt;rdf:Seq&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9nse&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9icv&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9ici&amp;amp;metal[]=zn&quot; /&gt; &lt;/rdf:Seq&gt; &lt;/items&gt; &lt;/channel&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9nse&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9nse&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 9nse [deposited on: 1999/01/13, revised on: 2000/10/25]&lt;/title&gt; &lt;description&gt;Header: [oxidoreductase 13-jan-99 9nse] Title: [bovine endothelial nitric oxide synthase, ethyl- isoselenourea complex] Compound: [mol_id: 1; molecule: nitric oxide synthase; chain: a, b; fragment: heme domain; synonym: nos, enos; ec: 1.14.13.39; engineered: yes] Source: [mol_id: 1; organism_scientific: bos taurus; organism_common: bovine; cell: endothelial; expression_system: escherichia coli; expression_system_common: bacteria; expression_system_strain: bl21] Keywords: [heme protein, tetrahydrobiopterin] Authors[h.li,c.s.raman,p.martasek,v.kral,b.s.s.masters,t.l.poulos] ExpData[x-ray diffraction] R-value[0.20] Resolution[2.24]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9icv&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9icv&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 9icv [deposited on: 1995/12/16, revised on: 1996/11/15]&lt;/title&gt; &lt;description&gt;Header: [complex (nucleotidyltransferase/dna) 16-dec-95 9icv] Title: [dna polymerase beta (pol b) (e.c.2.7.7.7) complexed with seven base pairs of dna; soaked in the presence of datp (0.1 millimolar) and zncl2 (0.2 millimolar)] Compound: [mol_id: 1; molecule: dna polymerase beta; chain: a; ec: 2.7.7.7; engineered: yes; mol_id: 2; molecule: dna (5'-d(*cp*ap*tp*tp*ap*gp*a)-3') (dot) (5'-d(*tp*cp*tp*ap*ap*tp*g)-3'); chain: t, p; engineered: yes; other_details: soaked in the presence of datp (0.1 millimolar) and zncl2 (0.2 millimolar)] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; expression_system: escherichia coli; mol_id: 2; synthetic: yes] Keywords: [dna replication, dna repair, nucleotidyltransferase, complex (nucleotidyltransferase/dna)] Authors[h.pelletier,m.r.sawaya] ExpData[x-ray diffraction] R-value[0.18] Resolution[2.70]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9ici&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9ici&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 9ici [deposited on: 1995/12/15, revised on: 1996/11/15]&lt;/title&gt; &lt;description&gt;Header: [complex (nucleotidyltransferase/dna) 15-dec-95 9ici] Title: [dna polymerase beta (pol b) (e.c.2.7.7.7) complexed with seven base pairs of dna; soaked in the presence of dttp (1 millimolar) and zncl2 (1 millimolar)] Compound: [mol_id: 1; molecule: dna polymerase beta; chain: a; ec: 2.7.7.7; engineered: yes; mol_id: 2; molecule: dna (5'-d(*cp*ap*tp*tp*ap*gp*a)-3') (dot) (5'-d(*tp*cp*tp*ap*ap*tp*g)-3'); chain: t, p; engineered: yes; other_details: soaked in the presence of dttp (1 millimolar) and zncl2 (1 millimolar)] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; expression_system: escherichia coli; mol_id: 2; synthetic: yes] Keywords: [dna replication, dna repair, nucleotidyltransferase, complex (nucleotidyltransferase/dna)] Authors[h.pelletier,m.r.sawaya] ExpData[x-ray diffraction] R-value[0.17] Resolution[3.10]&lt;/description&gt; &lt;/item&gt; &lt;rdf:Description rdf:ID=&quot;manifest&quot;&gt; &lt;mn:channels&gt; &lt;rdf:Seq&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/soap.php&quot; /&gt; &lt;/rdf:Seq&gt; &lt;/mn:channels&gt; &lt;/rdf:Description&gt; &lt;/rdf:RDF&gt; </pre> </td> </tr> </table> Index: presentations/slides/mdb/output/test_soap_out.html +++ presentations/slides/mdb/output/test_soap_out.html <h2>Excercizing the sql method</h2> [query: 'select source_id,description from protein limit 3'] <table border='1'> <tr> <td bgcolor='#eeeeee'> <b>source_id</b>: 1aoo<br> <b>description</b>: Header: [metallothionein 08-jul-97 1aoo] Title: [ag-substituted metallothionein from saccharomyces cerevisiae, nmr, minimized average structure] Compound: [mol_id: 1; molecule: ag-metallothionein; chain: null; synonym: ag-mt; biological_unit: monomer; other_details: ag(i) substituted] Source: [mol_id: 1; organism_scientific: saccharomyces cerevisiae; organism_common: baker's yeast; strain: 301n] Keywords: [copper detoxification, metal-thiolate cluster]<br> <b>0</b>: <br> <b>source_id</b>: 1aqq<br> <b>description</b>: Header: [metallothionein 31-jul-97 1aqq] Title: [ag-substituted metallothionein from saccharomyces cerevisiae, nmr, 10 structures] Compound: [mol_id: 1; molecule: ag-metallothionein; chain: null; synonym: ag-mt; biological_unit: monomer; other_details: ag(i) substituted] Source: [mol_id: 1; organism_scientific: saccharomyces cerevisiae; organism_common: baker's yeast; strain: 301n] Keywords: [copper detoxification, metal-thiolate cluster]<br> <b>1</b>: <br> <b>source_id</b>: 2aw0<br> <b>description</b>: Header: [copper transport 08-oct-97 2aw0] Title: [fourth metal-binding domain of the menkes copper-transporting atpase, nmr, 20 structures] Compound: [mol_id: 1; molecule: menkes copper-transporting atpase; chain: null; fragment: fourth metal-binding domain; ec: 3.6.1.36; engineered: yes; biological_unit: monomer; other_details: ag(i)-bound state] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; expression_system: escherichia coli] Keywords: [copper-binding domain, hydrolase, copper transport]<br> <b>2</b>: <br> </td> </tr> </table> <hr> <h2>Making a deliberate error using the metallopdb method</h2> [metal: zn][mode: first][count: -3] <br><b>OOPS we got an error</b> <table border='1'> <tr> <td bgcolor='#eeeeee'> <b>error_message_prefix</b>: PHP<br> <b>mode</b>: 1<br> <b>level</b>: 1024<br> <b>code</b>: SOAP-ENV:Server<br> <b>message</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>userinfo</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>file</b>: /home/server/php/lib/php/SOAP/Fault.php<br> <b>line</b>: 49<br> <b>function</b>: pear_error<br> <b>class</b>: pear_error<br> <b>type</b>: ::<br> <b>0</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>1</b>: SOAP-ENV:Server<br> <b>2</b>: <br> <b>3</b>: <br> <b>4</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>args</b>: <br> <b>0</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Base.php<br> <b>line</b>: 320<br> <b>function</b>: soap_fault<br> <b>class</b>: soap_fault<br> <b>type</b>: -><br> <b>0</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>1</b>: SOAP-ENV:Server<br> <b>2</b>: PHP<br> <b>3</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>4</b>: <br> <b>5</b>: <br> <b>args</b>: <br> <b>1</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Client.php<br> <b>line</b>: 508<br> <b>function</b>: _raisesoapfault<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>0</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>1</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>2</b>: PHP<br> <b>3</b>: SOAP-ENV:Server<br> <b>args</b>: <br> <b>2</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Client.php<br> <b>line</b>: 476<br> <b>function</b>: __decoderesponse<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>value</b>: SOAP-ENV:Server<br> <b>name</b>: faultcode<br> <b>type</b>: QName<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: faultcode<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: QName<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>0</b>: <br> <b>value</b>: Parameter count must be an integer > 0, value sent: -3<br> <b>name</b>: faultstring<br> <b>type</b>: string<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: faultstring<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: string<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>1</b>: <br> <b>value</b>: PHP<br> <b>name</b>: faultactor<br> <b>type</b>: anyURI<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: faultactor<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: anyURI<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>2</b>: <br> <b>value</b>: Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46<br> <b>name</b>: detail<br> <b>type</b>: string<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: detail<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: string<br> <b>ns</b>: <br> <b>namespace</b>: http://www.w3.org/2001/XMLSchema<br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>3</b>: <br> <b>value</b>: <br> <b>name</b>: Fault<br> <b>type</b>: Struct<br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>type_namespace</b>: <br> <b>attributes</b>: <br> <b>arrayType</b>: <br> <b>options</b>: <br> <b>name</b>: Fault<br> <b>ns</b>: <br> <b>namespace</b>: http://schemas.xmlsoap.org/soap/envelope/<br> <b>nqn</b>: <br> <b>name</b>: Struct<br> <b>ns</b>: <br> <b>namespace</b>: <br> <b>tqn</b>: <br> <b>type_prefix</b>: <br> <b>0</b>: <br> <b>args</b>: <br> <b>3</b>: <br> <b>file</b>: /home/server/php/lib/php/SOAP/Client.php<br> <b>line</b>: 245<br> <b>function</b>: __parse<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>0</b>: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <SOAP-ENV:Body> <SOAP-ENV:Fault> <faultcode xsi:type="xsd:QName">SOAP-ENV:Server</faultcode> <faultstring xsi:type="xsd:string">Parameter count must be an integer &gt; 0, value sent: -3</faultstring> <faultactor xsi:type="xsd:anyURI">PHP</faultactor> <detail xsi:type="xsd:string">Errno: 256 Filename: /export/asd/metallo2/metallodb/webdocs/services/soap.php Lineno: 46 </detail></SOAP-ENV:Fault> </SOAP-ENV:Body> </SOAP-ENV:Envelope> <br> <b>1</b>: UTF-8<br> <b>2</b>: <br> <b>args</b>: <br> <b>4</b>: <br> <b>file</b>: /home/jesus/devel/php/presentations/slides/mdb/test_soap.xml<br> <b>line</b>: 45<br> <b>function</b>: call<br> <b>class</b>: soap_client<br> <b>type</b>: -><br> <b>0</b>: metallopdb<br> <b>metal</b>: zn<br> <b>mode</b>: first<br> <b>count</b>: -3<br> <b>1</b>: <br> <b>2</b>: urn:MDB_SOAP_Server<br> <b>args</b>: <br> <b>5</b>: <br> <b>backtrace</b>: <br> <b>callback</b>: <br> </td> </tr> </table> <hr> <h2>Using the metallopdb method correctly</h2> [metal:zn][mode: random][count: 3] <table border='1'> <tr> <td bgcolor='#eeeeee'> <b>metal</b>: zn<br> <b>source_id</b>: 1eb6<br> <b>revision_date</b>: 2001/11/23<br> <b>deposition_date</b>: 2001/07/19<br> <b>expdata</b>: x-ray diffraction<br> <b>r_value</b>: 0.10<br> <b>resolution</b>: 1.00<br> <b>authors</b>: k.e.mcauley,y.jia-xing,e.j.dodson,j.lehmbeck, p.r.ostergaard,k.s.wilson<br> <b>description</b>: Header: [hydrolase 19-jul-01 1eb6] Title: [deuterolysin from aspergillus oryzae] Compound: [mol_id: 1; molecule: neutral protease ii; synonym: npii, deuterolysin; chain: a; ec: 3.4.24.39] Source: [mol_id: 1; organism_scientific: aspergillus oryzae] Keywords: [zinc, neutral protease ii, hydrolase]<br> <b>0</b>: <br> <b>metal</b>: zn<br> <b>source_id</b>: 1qf2<br> <b>revision_date</b>: 2000/12/20<br> <b>deposition_date</b>: 1999/04/06<br> <b>expdata</b>: x-ray diffraction<br> <b>r_value</b>: 0.16<br> <b>resolution</b>: 2.06<br> <b>authors</b>: j.-f.gaucher,m.selkti,g.tiraboschi,t.prange,b.p.roques, a.tomas,m.c.fournie-zaluski<br> <b>description</b>: Header: [hydrolase 06-apr-99 1qf2] Title: [thermolysin (e.c.3.4.24.27) complexed with (2-sulphanyl-3- phenylpropanoyl)-gly-(5-phenylproline). parameters for zn- monodentation of mercaptoacyldipeptides in metalloendopeptidase] Compound: [mol_id: 1; molecule: thermolysin; chain: a; ec: 3.4.24.27] Source: [mol_id: 1; organism_scientific: bacillus thermoproteolyticus] Keywords: [zn metallopeptidase]<br> <b>1</b>: <br> <b>metal</b>: zn<br> <b>source_id</b>: 1xuf<br> <b>revision_date</b>: 1998/12/16<br> <b>deposition_date</b>: 1997/10/10<br> <b>expdata</b>: x-ray diffraction<br> <b>r_value</b>: 0.15<br> <b>resolution</b>: 2.04<br> <b>authors</b>: b.a.katz,j.m.clark,j.s.finer-moore,t.e.jenkins,c.r.johnson, m.j.rose,c.luong,w.r.moore,r.m.stroud<br> <b>description</b>: Header: [serine protease 10-oct-97 1xuf] Title: [trypsin-babim-zn+2, ph 8.2] Compound: [mol_id: 1; molecule: trypsin; chain: null; ec: 3.4.21.4; other_details: trypsin/zn+2/small molecule ligand complex] Source: [mol_id: 1; organism_scientific: bos taurus; organism_common: bovine] Keywords: [trypsin-zn+2-small molecule ligand, designed small molecule ligand with nanomolar affinity]<br> <b>2</b>: <br> </td> </tr> </table> <hr> <h2>Using the rssmetallopdb method</h2> [metal: zn][mode: last][count: 3] <table border='1'> <tr> <td bgcolor='#eeeeee'> <pre> &lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt; &lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns=&quot;http://purl.org/rss/1.0/&quot; xmlns:mn=&quot;http://usefulinc.com/rss/manifest/&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; &gt; &lt;channel rdf:about=&quot;http://metallo.scripps.edu/services/soap.php&quot;&gt; &lt;title&gt;MDB - The Metalloprotein Database and Browser&lt;/title&gt; &lt;link&gt;http://metallo.scripps.edu&lt;/link&gt; &lt;description&gt;Data retrieved using the MDB API&lt;/description&gt; &lt;items&gt; &lt;rdf:Seq&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9nse&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9icv&amp;amp;metal[]=zn&quot; /&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9ici&amp;amp;metal[]=zn&quot; /&gt; &lt;/rdf:Seq&gt; &lt;/items&gt; &lt;/channel&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9nse&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9nse&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 9nse [deposited on: 1999/01/13, revised on: 2000/10/25]&lt;/title&gt; &lt;description&gt;Header: [oxidoreductase 13-jan-99 9nse] Title: [bovine endothelial nitric oxide synthase, ethyl- isoselenourea complex] Compound: [mol_id: 1; molecule: nitric oxide synthase; chain: a, b; fragment: heme domain; synonym: nos, enos; ec: 1.14.13.39; engineered: yes] Source: [mol_id: 1; organism_scientific: bos taurus; organism_common: bovine; cell: endothelial; expression_system: escherichia coli; expression_system_common: bacteria; expression_system_strain: bl21] Keywords: [heme protein, tetrahydrobiopterin] Authors[h.li,c.s.raman,p.martasek,v.kral,b.s.s.masters,t.l.poulos] ExpData[x-ray diffraction] R-value[0.20] Resolution[2.24]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9icv&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9icv&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 9icv [deposited on: 1995/12/16, revised on: 1996/11/15]&lt;/title&gt; &lt;description&gt;Header: [complex (nucleotidyltransferase/dna) 16-dec-95 9icv] Title: [dna polymerase beta (pol b) (e.c.2.7.7.7) complexed with seven base pairs of dna; soaked in the presence of datp (0.1 millimolar) and zncl2 (0.2 millimolar)] Compound: [mol_id: 1; molecule: dna polymerase beta; chain: a; ec: 2.7.7.7; engineered: yes; mol_id: 2; molecule: dna (5'-d(*cp*ap*tp*tp*ap*gp*a)-3') (dot) (5'-d(*tp*cp*tp*ap*ap*tp*g)-3'); chain: t, p; engineered: yes; other_details: soaked in the presence of datp (0.1 millimolar) and zncl2 (0.2 millimolar)] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; expression_system: escherichia coli; mol_id: 2; synthetic: yes] Keywords: [dna replication, dna repair, nucleotidyltransferase, complex (nucleotidyltransferase/dna)] Authors[h.pelletier,m.r.sawaya] ExpData[x-ray diffraction] R-value[0.18] Resolution[2.70]&lt;/description&gt; &lt;/item&gt; &lt;item rdf:about=&quot;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9ici&amp;amp;metal[]=zn&quot;&gt; &lt;link&gt;http://metallo.scripps.edu/remote/remote.php3?source_id[]=9ici&amp;amp;metal[]=zn&lt;/link&gt; &lt;title&gt;(Zn) 9ici [deposited on: 1995/12/15, revised on: 1996/11/15]&lt;/title&gt; &lt;description&gt;Header: [complex (nucleotidyltransferase/dna) 15-dec-95 9ici] Title: [dna polymerase beta (pol b) (e.c.2.7.7.7) complexed with seven base pairs of dna; soaked in the presence of dttp (1 millimolar) and zncl2 (1 millimolar)] Compound: [mol_id: 1; molecule: dna polymerase beta; chain: a; ec: 2.7.7.7; engineered: yes; mol_id: 2; molecule: dna (5'-d(*cp*ap*tp*tp*ap*gp*a)-3') (dot) (5'-d(*tp*cp*tp*ap*ap*tp*g)-3'); chain: t, p; engineered: yes; other_details: soaked in the presence of dttp (1 millimolar) and zncl2 (1 millimolar)] Source: [mol_id: 1; organism_scientific: homo sapiens; organism_common: human; expression_system: escherichia coli; mol_id: 2; synthetic: yes] Keywords: [dna replication, dna repair, nucleotidyltransferase, complex (nucleotidyltransferase/dna)] Authors[h.pelletier,m.r.sawaya] ExpData[x-ray diffraction] R-value[0.17] Resolution[3.10]&lt;/description&gt; &lt;/item&gt; &lt;rdf:Description rdf:ID=&quot;manifest&quot;&gt; &lt;mn:channels&gt; &lt;rdf:Seq&gt; &lt;rdf:li rdf:resource=&quot;http://metallo.scripps.edu/services/soap.php&quot; /&gt; &lt;/rdf:Seq&gt; &lt;/mn:channels&gt; &lt;/rdf:Description&gt; &lt;/rdf:RDF&gt; </pre> </td> </tr> </table> Index: presentations/slides/mdb/output/xmlrpc_api_out.html +++ presentations/slides/mdb/output/xmlrpc_api_out.html <h3>Methods available at http://metallo.scripps.edu:80/services/xmlrpc.php</h3> <hr noshade size=1><H3>method.sql</H3> <H4>Documentation</H4><P style='font-size: 1.0em;'>General function to query the MDB database server. Accepts a valid SQL query ("SELECT", "SHOW", or "DESCRIBE" statements only), and returns the resulting rows as a structure.</P> <H4>Signature</H4><P style='font-size: 1.0em;'> <CODE style='font-size: 1.0em;'>struct method.sql(string)</CODE><BR> </P> <hr noshade size=1><H3>method.metallopdb</H3> <H4>Documentation</H4><P style='font-size: 1.0em;'>Specialized function to retrieve a list of PDB structures containing a particular metal ion, as indexed in the MDB. The retrieval mode can be one of "first" (default) to get the first "n" PDB ids (sorted alphabetically), "last" to get the last "n" ids, "random" to get "n" random entries, and "new" to ge the newest "n" entries released/indexed. The number of entries to retrieve is set using "count". The result can be returned as XML-RPC structure, WDDX packet or RSS document</P> <H4>Signature</H4><P style='font-size: 1.0em;'> <CODE style='font-size: 1.0em;'>struct method.metallopdb(string, string, int, string)</CODE><BR> </P> <hr noshade size=1><H3>method.get</H3> <H4>Documentation</H4><P style='font-size: 1.0em;'>Returns the requested file. It accepts 2 parameters: the name of the file, and (optionally) the whether the base64 encoding will be done on the "raw" (default) file, or the file after being compressed with gzip ("gzip").</P> <H4>Signature</H4><P style='font-size: 1.0em;'> <CODE style='font-size: 1.0em;'>base64 method.get(string, string)</CODE><BR> </P> <hr noshade size=1><H3>system.listMethods</H3> <H4>Documentation</H4><P style='font-size: 1.0em;'>This method lists all the methods that the XML-RPC server knows how to dispatch</P> <H4>Signature</H4><P style='font-size: 1.0em;'> <CODE style='font-size: 1.0em;'>array system.listMethods(string)</CODE><BR> <CODE style='font-size: 1.0em;'>array system.listMethods()</CODE><BR> </P> <hr noshade size=1><H3>system.methodHelp</H3> <H4>Documentation</H4><P style='font-size: 1.0em;'>Returns help text if defined for the method passed, otherwise returns an empty string</P> <H4>Signature</H4><P style='font-size: 1.0em;'> <CODE style='font-size: 1.0em;'>string system.methodHelp(string)</CODE><BR> </P> <hr noshade size=1><H3>system.methodSignature</H3> <H4>Documentation</H4><P style='font-size: 1.0em;'>Returns an array of known signatures (an array of arrays) for the method name passed. If no signatures are known, returns a none-array (test for type != array to detect missing signature)</P> <H4>Signature</H4><P style='font-size: 1.0em;'> <CODE style='font-size: 1.0em;'>array system.methodSignature(string)</CODE><BR> </P> Index: presentations/slides/mdb/output/xmlrpc_method_metallopdb_out.html +++ presentations/slides/mdb/output/xmlrpc_method_metallopdb_out.html <slide title='method.metallopdb'> <example title='Using method.metallopdb from the XML-RPC service' result='1' fontsize='1.0em' rfontsize='1.5em' outputbackground='#ffffdd'> <![CDATA[ <h3>Parameters: metal='zn', mode='random', count=5, format='array'</h3><table border=1> <tr align='center'> <th colspan='2'>ROW: 1</th> </tr> <tr> <th align='center'>metal</th> <td>zn</td> </tr> <tr> <th align='center'>source_id</th> <td>1i4p</td> </tr> <tr> <th align='center'>revision_date</th> <td>2001/09/19</td> </tr> <tr> <th align='center'>deposition_date</th> <td>2001/02/22</td> </tr> <tr> <th align='center'>expdata</th> <td>x-ray diffraction</td> </tr> <tr> <th align='center'>r_value</th> <td>0.21</td> </tr> <tr> <th align='center'>resolution</th> <td>2</td> </tr> <tr> <th align='center'>authors</th> <td>d.kumaran,s.swaminathan</td> </tr> <tr> <th align='center'>description</th> <td>Header: [toxin 22-feb-01 1i4p] Title: [crystal structure of staphylococcal enterotoxin c2 at 100k crystallized at ph 5.5] Compound: [mol_id: 1; molecule: enterotoxin type c-2; chain: a] Source: [mol_id: 1; organism_scientific: staphylococcus aureus; organism_common: bacteria] Keywords: [superantigen, zinc binding, immune system]</td> </tr> <tr align='center'> <th colspan='2'>ROW: 2</th> </tr> <tr> <th align='center'>metal</th> <td>zn</td> </tr> <tr> <th align='center'>source_id</th> <td>1jk9</td> </tr> <tr> <th align='center'>revision_date</th> <td>2001/09/05</td> </tr> <tr> <th align='center'>deposition_date</th> <td>2001/07/11</td> </tr> <tr> <th align='center'>expdata</th> <td>x-ray diffraction</td> </tr> <tr> <th align='center'>r_value</th> <td>0.22</td> </tr> <tr> <th align='center'>resolution</th> <td>2.9</td> </tr> <tr> <th align='center'>authors</th> <td>a.l.lamb,a.s.torres,t.v.o'halloran,a.c.rosenzweig</td> </tr> <tr> <th align='center'>description</th> <td>Header: [oxidoreductase 11-jul-01 1jk9] Title: [heterodimer between h48f-ysod1 and yccs] Compound: [mol_id: 1; molecule: superoxide dismutase; chain: a, c; synonym: sod1; ec: 1.15.1.1; engineered: yes; mutation: yes; mol_id: 2; molecule: copper chaperone for superoxide dismutase; chain: b, d; synonym: ccs; engineered: yes] Source: [mol_id: 1; organism_scientific: saccharomyces cerevisiae; organism_common: yeast; expression_system: escherichia coli; expression_system_common: bacteria; expression_system_strain: bl21(de3); expression_system_vector_type: plasmid; expression_system_plasmid: pet3d; mol_id: 2; organism_scientific: saccharomyces cerevisiae; organism_common: yeast; expression_system: escherichia coli; expression_system_common: bacteria; expression_system_strain: bl21(de3); expression_system_vector_type: plasmid; expression_system_plasmid: pet11d] Keywords: [heterodimer, metallochaperone, chaperone, copper, amyotrophic lateral sclerosis, lou gehrig's disease]</td> </tr> <tr align='center'> <th colspan='2'>ROW: 3</th> </tr> <tr> <th align='center'>metal</th> <td>zn</td> </tr> <tr> <th align='center'>source_id</th> <td>1jr9</td> </tr> <tr> <th align='center'>revision_date</th> <td>2002/08/13</td> </tr> <tr> <th align='center'>deposition_date</th> <td>2001/08/13</td> </tr> <tr> <th align='center'>expdata</th> <td>x-ray diffraction</td> </tr> <tr> <th align='center'>r_value</th> <td>0.22</td> </tr> <tr> <th align='center'>resolution</th> <td>2.8</td> </tr> <tr> <th align='center'>authors</th> <td>j.liao,m.y.liu,t.chang,m.li,j.legall,l.l.gui,j.p.zhang, t.jiang,d.c.liang,w.r.chang</td> </tr> <tr> <th align='center'>description</th> <td>Header: [oxidoreductase 13-aug-01 1jr9] Title: [crystal structure of manganese superoxide dismutases from bacillus halodenitrificans] Compound: [mol_id: 1; molecule: manganese superoxide dismutase; chain: a; fragment: green protein; ec: 1.15.1.1] Source: [mol_id: 1; organism_scientific: bacillus halodenitrificans; organism_common: bacteria; other_details: cytoplasm] Keywords: [oxidoreductase]</td> </tr> <tr align='center'> <th colspan='2'>ROW: 4</th> </tr> <tr> <th align='center'>metal</th> <td>zn</td> </tr> <tr> <th align='center'>source_id</th> <td>1mey</td> </tr> <tr> <th align='center'>revision_date</th> <td>1997/03/12</td> </tr> <tr> <th align='center'>deposition_date</th> <td>1996/09/27</td> </tr> <tr> <th align='center'>expdata</th> <td>x-ray diffraction</td> </tr> <tr> <th align='center'>r_value</th> <td>0.22</td> </tr> <tr> <th align='center'>resolution</th> <td>2.2</td> </tr> <tr> <th align='center'>authors</th> <td>c.a.kim,j.m.berg</td> </tr> <tr> <th align='center'>description</th> <td>Header: [complex (zinc finger/dna) 27-sep-96 1mey] Title: [crystal structure of a designed zinc finger protein bound to dna] Compound: [mol_id: 1; molecule: dna; chain: a, b, d, e; engineered: yes; mol_id: 2; molecule: consensus zinc finger protein; chain: c, f, g; engineered: yes] Source: [mol_id: 1; synthetic: yes; mol_id: 2; synthetic: consensus sequence, non-biological source; expression_system: t7 rna polymerase in escherichia coli; expression_system_strain: bl21 (de3)] Keywords: [protein-dna interaction, protein design, crystal structure, complex (zinc finger/dna)]</td> </tr> <tr align='center'> <th colspan='2'>ROW: 5</th> </tr> <tr> <th align='center'>metal</th> <td>zn</td> </tr> <tr> <th align='center'>source_id</th> <td>1rmd</td> </tr> <tr> <th align='center'>revision_date</th> <td>1997/07/23</td> </tr> <tr> <th align='center'>deposition_date</th> <td>1997/01/10</td> </tr> <tr> <th align='center'>expdata</th> <td>x-ray diffraction</td> </tr> <tr> <th align='center'>r_value</th> <td>0.21</td> </tr> <tr> <th align='center'>resolution</th> <td>2.1</td> </tr> <tr> <th align='center'>authors</th> <td>s.f.bellon,k.k.rodgers,d.g.schatz,j.e.coleman,t.a.steitz</td> </tr> <tr> <th align='center'>description</th> <td>Header: [dna-binding protein 10-jan-97 1rmd] Title: [rag1 dimerization domain] Compound: [mol_id: 1; molecule: rag1; chain: null; fragment: zinc-binding dimerization domain; synonym: v(d)j recombination activating protein 1; engineered: yes] Source: [mol_id: 1; organism_scientific: mus musculus; organism_common: mouse; expression_system: escherichia coli; expression_system_cell_line: bl21] Keywords: [v(d)j recombination, antibody, mad, ring finger, zinc binuclear cluster, zinc finger, dna-binding protein]</td> </tr> </table> ]]> </example> </slide> Index: presentations/slides/mdb/output/xmlrpc_method_sql_out.html +++ presentations/slides/mdb/output/xmlrpc_method_sql_out.html <slide title='method.sql'> <example title='Using method.sql from the XML-RPC service' result='1' fontsize='1.2em' rfontsize='1em' outputbackground='#ffffdd'> <![CDATA[<b>method.sql:</b> <small>"select source_id,expdata,rev_date,resolution,description from protein limit 10"</small><br> <table border=1> <tr align='center'> <th>source_id</th> <th>expdata</th> <th>resolution</th> <th>description</th> </tr> <tr align='center'> <td><small>1d8g</small></td> <td><small>x-ray diffraction</small></td> <td><small>0.74</small></td> <td><small>Header: [deoxyribonucleic acid 23-oct-99 1d8g] Title: [ultrahigh resolution crystal structure of b-dna decamer d(ccagtactgg)] Compound: [mol_id: 1; molecule: 5'-d(*cp*cp*ap*gp*tp*ap*cp*tp*gp*gp*)-3'; chain: a; engineered: yes] Source: [mol_id: 1; synthetic: yes] Keywords: [calcium, alternate conformation, ultrahigh resolution, trp repressor, polyamide]</small></td> </tr> <tr align='center'> <td><small>1gci</small></td> <td><small>x-ray diffraction</small></td> <td><small>0.78</small></td> <td><small>Header: [serine protease 02-sep-98 1gci] Title: [the 0.78 angstroms structure of a serine protease - bacillus lentus subtilisin] Compound: [mol_id: 1; molecule: subtilisin; chain: null; ec: 3.4.21.62; engineered: yes; biological_unit: monomer] Source: [mol_id: 1; organism_scientific: bacillus lentus; expression_system: bacillus subtilis] Keywords: [bacillus lentus, hydrolase, serine protease, ultra-high resolution]</small></td> </tr> <tr align='center'> <td><small>1iua</small></td> <td><small>x-ray diffraction</small></td> <td><small>0.80</small></td> <td><small>Header: [electron transport 01-mar-02 1iua] Title: [ultra-high resolution structure of hipip from thermochromatium tepidum] Compound: [mol_id: 1; molecule: high-potential iron-sulfur protein; chain: a] Source: [mol_id: 1; organism_scientific: thermochromatium tepidum; organism_common: bacteria] Keywords: [ultra-high resolution, crystal structure]</small></td> </tr> <tr align='center'> <td><small>1dpl</small></td> <td><small>x-ray diffraction</small></td> <td><small>0.83</small></td> <td><small>Header: [deoxyribonucleic acid 27-dec-99 1dpl] Title: [a-dna decamer gcgta(t23)tacgc with incorporated 2'-methoxy- 3'-methylenephosphate-thymidine] Compound: [mol_id: 1; molecule: 5'-d(*gp*cp*gp*tp*ap*(t23)p*ap*cp*gp*c)-3'; chain: a, b; engineered: yes] Source: [mol_id: 1; synthetic: yes] Keywords: [deoxyribonucleic acid]</small></td> </tr> <tr align='center'> <td><small>1m40</small></td> <td><small>x-ray diffraction</small></td> <td><small>0.85</small></td> <td><small>Header: [hydrolase 01-jul-02 1m40] Title: [ultra high resolution crystal structure of tem-1] Compound: [mol_id: 1; molecule: beta-lactamase tem; chain: a; synonym: tem-1; ec: 3.5.2.6; engineered: yes; mutation: yes] Source: [mol_id: 1; organism_scientific: escherichia coli; organism_common: bacteria; gene: bla; expression_system: escherichia coli; expression_system_common: bacteria; expression_system_strain: sf120; expression_system_vector_type: plasmid; expression_system_plasmid: palter ex ii - tem-1] Keywords: [acylation mechanism, x-ray structure, ultra- high resolution]</small></td> </tr> </table> ]]> </example> </slide>
« previous php.pres (#626) next »