DIP XIN Protein-Protein Network Viewer

CH391L, Fall 2004

Razvan Surdulescu, Eva-Maria Strauch (c) 2004

[See my other software on SOFTPEDIA.]

Free download software


XINViewer is a DIP XIN Protein-Protein Interaction Network viewer written in Java. It was written entirely from scratch as a final project for CH391L.


Here is the final project report where we analyze clusters in H.pylori and E.coli using XINViewer.

Here is the user manual for XINViewer.


The source for XINViewer is available here.

Here is how to compile the source:

  1. Install and configure Apache Ant, version 1.6.2 or newer.
  2. Install JUNG, version 1.5.2 or newer.
  3. Install Apache Xerces, version 2.6.2 or newer.
  4. Install COLT, version 1.0.3 or newer.
  5. Install Jakarta Commons, version 3.1 or newer.
  6. Install Prefuse, alpha or newer.
  7. Download and save it somewhere on your hard drive.
  8. Unzip it: this will create a subdirectory called "XINViewer".
  9. Go to the XINViewer subdirectory.
  10. Edit the file "build.xml" and change all the paths in the section "jars.classpath" to point to the paths where you installed the libraries above.
  11. Type "ant" to build the XINViewer binary.


In order to run XINViewer you need to have a Java Virtual Machine installed on your computer. The product has been tested only using Sun Microsystems' Java version 1.4.2, but it should work on newer virtual machines as well.

You can run XINViewer in two different ways (see below for details):

  1. Command line: download and execute manually
  2. Java WebStart: execute automatically

Command line execution

  1. Check that you have a Java Virtual Machine installed by typing java -version. Here is an example:
    C:\>java -version
    java version "1.4.2_05"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
    If you do not have a Java Virtual Machine installed, or if it is the wrong version, download one from here.
  2. Download the following files and store them in the same directory anywhere on your hard drive:
  3. Launch XINViewer by typing java -jar XINViewer.jar in the directory where you stored all the binaries above. The main window will appear on the screen shortly. Open "" and play with it.

Java WebStart execution

  1. Java WebStart comes pre-packaged with Java 1.4.2 or higher. Check that you have Java WebStart installed by launching a demo application at the demos site.
  2. Download the file somewhere on your hard drive.
  3. Launch XINViewer:

    Note: You will be prompted with a window telling you that XINViewer needs unrestricted access to your local machine: this is because XINViewer must be able to load XIN files. Click "Start" to continue or "Exit" if you are not comfortable with this requirement.

    The main window will appear on the screen shortly. Open "" and play with it.