How to implement your own data?

This is intended for people who want to present their own interaction data
on a web server.
It is also possible to run the applet on a single computer in a java enabled webbrowser.
A sample implementation is given.
 

Download the applet and sample files.

First you need to download the applet and example files.
If you want to put it on a web server, place it in the
appropriate directories.

Unix: to uncompress use: tar -xzvf download.tgz
Download compressed tgz file

PC/Mac:
Download compressed zip file
 

Syntax for the applet parameters.

there are three custom parameters:
functionlist, interaction, and functionkey.
 

Interacting pairs are separated by "-" and interactions are separated by "," e.g.:

<param name=interaction value="prot1-prot3,prot1-prot2,prot2-prot3,prot3-prot4,prot6-prot7,prot5-prot6">
 
 

the functional classification of the proteins have the following structure:

protein1#functionkey1/functionkey2...., protein2#functionkey3, .... e.g.:

<param name=functionlist value="prot1#fu1,prot2#fu1,prot3#fu3,prot7#fu3,prot4#fu2/fu1,prot5#fu2">

Please note: Each protein may belong to more than one category.
 
 

the long names for the function keys are defined in the kunctionkey parameter, e.g.:

<param name=functionkey value="fu1#Function1,fu2#Function2,fu3#Function3">
Please note: There is a 1:1 relationship between functionkey and the long name of the functional
classification. The applet will not work if this is violated.
If there is a key with no member proteins, the long name of that key will not be displayed in the choice menue in the applet.

Example HTML code:

<html>
  <head>
      <title>Example</title>
  </head>
  <body>
    <h2>Example</h2>
      <hr>
      <applet code="GraphInteraction.class" width=800 height=380>
        <param name=functionlist value="prot1#fu1,prot2#fu1,prot3#fu3,prot7#fu3,prot4#fu2/fu1,prot5#fu2">
        <param name=interaction value="prot1-prot3,prot1-prot2,prot2-prot3,prot3-prot4,prot6-prot7,prot5-prot6">
        <param name=functionkey value="fu1#Function1,fu2#Function2,fu3#Function3">


        alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason."
        Your browser is completely ignoring the &lt;APPLET&gt; tag!

      </applet>
      <hr>
      <a href="example_so.html">The HTML source</a>.
  </body>
</html>



See working applet with this code


Limitations.

The number of interacting pairs is limited to 20000.
The number of proteins is limited to 20000.
The number of keys for functional classification is limited to 100.