MDB site, TSRI Metalloprotein-site Database and Browser Metallo Program & MDB sites Metalloprotein Structure and Design Program Metalloprotein-site Database and Browser The Scripps Research Institute The Scripps Research Institute
[ Search ] [ Analysis ] [ Services ] [ News ] [ Help ] [ Downloads ] [ About ] [ Feedback ] [ *Beta* ] [ MDB Home ]
MDB Web API

MDB - Web API (introspection)

Function:
sql
Parameters:
  • query: urlencoded SQL query
  • [format]: csv (default), wddx, serialized, table

Description:
General function to query a database server. Accepts a valid SQL query ("SELECT", "SHOW", or "DESCRIBE" statements only), and an optioanl result format. Valid formats are "csv" (default), "wddx", "serialized" (PHP serialization), "table" (HTML table). Example of use: /services/api.php?function=sql&query=select+source_id+from+protein+limit+10&format=wddx

Function:
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

Description:
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 list can be formated as "csv" (default), "wddx", "rss", or "serialized" (PHP serialization). Example of use: /services/api.php?function=metallopdb&metal=zn&mode=random&count=5&format=rss

[ Search ] [ Analysis ] [ Services ] [ News ] [ Help ] [ Downloads ] [ About ] [ Feedback ] [ *Beta* ] [ MDB Home ]
The Metalloprotein Database & Browser is part of the Metalloprotein Structure, Design and Bioinformatics Porgram Project at The Scripps Research Institute

[Error during execution of script]
Warning: fopen("/asd/metallo2/metallodb/webdocs/cache/_services_api.php.cache", "w") - Permission denied in /export/asd/metallo2/metallodb/webdocs/php_inc/class.CachedTemplate.php on line 104
[Error during execution of script]
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /export/asd/metallo2/metallodb/webdocs/php_inc/class.CachedTemplate.php on line 105
[Error during execution of script]
Warning: fclose(): supplied argument is not a valid File-Handle resource in /export/asd/metallo2/metallodb/webdocs/php_inc/class.CachedTemplate.php on line 106
[Error during execution of script]
Warning: fopen("/asd/metallo2/metallodb/webdocs/cache/_services_api.php.cntrl", "w") - Permission denied in /export/asd/metallo2/metallodb/webdocs/php_inc/class.CachedTemplate.php on line 109
[Error during execution of script]
Warning: fwrite(): supplied argument is not a valid File-Handle resource in /export/asd/metallo2/metallodb/webdocs/php_inc/class.CachedTemplate.php on line 110
[Error during execution of script]
Warning: fclose(): supplied argument is not a valid File-Handle resource in /export/asd/metallo2/metallodb/webdocs/php_inc/class.CachedTemplate.php on line 111