Metallo Site Navigation
TSRI Metallo Database Metallo Database The Program Jobs Group Picture More Info Other Links
[MDB navigation] MDB Download Remote Viewer Info SQL Query Advanced Queries Plans for MDB MDB News MDB FAQs MDB Searching Info About MDB Search the MDB Search the MDB Send us Feedback
[MDB - TSRI] Metalloprotein Database and Browser

Remote Viewer of the Metalloprotein Site Database and Browser

The MDB team has provided a way for you to remotely use the Metalloprotein Database to view metalloproteins. This will allow you to include a remote viewing button on your own web page, which means you may allow readers of your page to view PDB's that you are researching.

You can use the remote viewer by sending a query to the MDB via a piece of code included after this paragraph. The query indicates the PDB ID(s) of the metalloprotein(s) that contain metal sites that you wish the reader to view. The metal(s) of interest can also be indicated. The script that generates the results will not proceed if the form does not include a PDB id (see examples below).

The "caption" variable is used to provide a title to the structures displayed in the viewer.

In order to invoke the remote viewer, you need to put the following code in your page:

<FORM METHOD="POST" ACTION="http://metallo.scripps.edu/remote/remote.php3"
NAME="Remote_MDB_Viewer" TARGET="_blank">
<INPUT TYPE="hidden" NAME="source_id[]" VALUE="pdb1">
{<INPUT TYPE="hidden" NAME="source_id[]" VALUE="pdb2"> ...}
{<INPUT TYPE="hidden" NAME="metal[]" VALUE="m1">}
{<INPUT TYPE="hidden" NAME="metal[]" VALUE="m2"> ...}
{<INPUT TYPE="hidden" NAME="caption" VALUE="Description of structures">}
<INPUT TYPE="submit" NAME="submit" VALUE="Display in the MDB Viewer">
</FORM>
Download text code here

where:

  • "pdb1", "pdb2", etc. are the PDB codes for the metalloprotein(s) you wish to show the viewer;
  • "met1", "met2", etc. are the metal(s) atomic symbols.
  • {...} anything in braces indicates and optional item.

Note:
  • PDB IDs and metal symbols should be in lowercase.
  • You can use as many PDB IDs and metals as you would like, just be aware that the bigger the data set found, the slower the manipulations will be.
  • The restriction of requiring a PDB ID is there so you will not get hundreds (or thousands) of query hits--this would not be the correct way of using this remote viewer.


Examples of the Remote Viewer with code included:


[A] If you want to display the metal sites in the metalloproteins 1hca and 1npc, and you want only the zn and/or ca sites in them, you will use:
<FORM METHOD="POST" ACTION="http://metallo.scripps.edu/remote/remote.php3"
NAME="Remote_MDB_Viewer" TARGET="_blank">
<INPUT TYPE="hidden" NAME="source_id[]" VALUE="1hca">
<INPUT TYPE="hidden" NAME="source_id[]" VALUE="1npc">
<INPUT TYPE="hidden" NAME="metal[]" VALUE="ca">
<INPUT TYPE="hidden" NAME="metal[]" VALUE="zn">
<INPUT TYPE="hidden" NAME="caption" VALUE="1hca and 1npc - Zn and Ca sites">
<INPUT TYPE="submit" NAME="submit" VALUE="Display in the MDB Viewer">
</FORM>
The code above will generate a button like the one below:

[B] If you want to see all the metal sites for the same PDB IDs:
<FORM METHOD="POST" ACTION="http://metallo.scripps.edu/remote/remote.php3"
NAME="Remote_MDB_Viewer" TARGET="_blank">
<INPUT TYPE="hidden" NAME="source_id[]" VALUE="1hca">
<INPUT TYPE="hidden" NAME="source_id[]" VALUE="1npc">
<INPUT TYPE="hidden" NAME="caption" VALUE="1hca and 1npc - All sites">
<INPUT TYPE="submit" NAME="submit" VALUE="ONLY PDB IDs!">
</FORM>
The code above will generate a button like the one below:

[C] If you forget to include a PDB ID in your form, the script will not proccess your query, and give you and error message:
<FORM METHOD="POST" ACTION="http://metallo.scripps.edu/remote/remote.php3"
NAME="Remote_MDB_Viewer" TARGET="_blank">
<INPUT TYPE="hidden" NAME="metal[]" VALUE="ca">
<INPUT TYPE="hidden" NAME="metal[]" VALUE="zn">
<INPUT TYPE="hidden" NAME="caption" VALUE="Erroneous form - Missing PDB">
<INPUT TYPE="submit" NAME="submit" VALUE="No PDB IDs!">
</FORM>
The code above will generate a button like the one below:

For more information on the remote viewer, contact Jesus M. Castagnetto. All bugs are his :)



Use the interactive interface to search the MDB Database

MDB Site: About the MDB | Searching the MDB | MDB's FAQ | News and Release History | Future Plans

Advanced Queries | SQL Query | Remote Viewer and How to use it | MDB downloads | Feedback


Metalloprotein Structure and Design Site:

TSRI Main Page | MetalloProtein Program Main Page | Metalloprotein Database & Browser

About the Program | Employment & Research Opportunities

Group Picture | For More Information | Feedback & Inquiries | Other Web Resources

Page maintained by Jesus M. Castagnetto (jesusmc@scripps.edu) - © The Scripps Research Institute.
Document: http://metallo.scripps.edu/remote/index.html
Last modified: Thursday, Mar 11, 1999 at 07:06 (PST) - Last accessed: Sunday, May 11, 2008 at 23:57 (PDT)
Valid HTML 4.0!