Structural Bioinformatics (2011/2012)

Using Swiss-PdbViewer

Option 1: Swiss-PdbViewer 3.7 on StuDat

Swiss-PdbViewer Release 3.7 is installed as an unsupported program on the StuDat system. To run this version of the program, type:

    spdbv

However, be aware that this is an older version of Swiss-PdbViewer and you might find the current version to be more stable.

Option 2: Swiss-PdbViewer 4.0.4 on your own computer

If you have a Macintosh (OSX Universal Binary) or Microsoft Windows computer, you can download the current verion of Swiss-PdbViewer from the Swiss-PdbViewer web site.

Option 3: Swiss-PdbViewer 4.0.4 on StuDat

The Microsoft Windows version of Swiss-PdbViewer 4.0.4 can be run on the StuDat system using 'Wine'. Follow these steps:

  1. If you have used Wine before, you will already have a directory called '.wine' in your home directory.
    In this case, go to step 2.

    If you have not used Wine before, you will need to will need you set up a '.wine' directory. This can be done by typing 'wine' followed by a dummy argument, e.g.

        wine setup
    

    A dialogue box (with title "Wine") will be shown on the screen telling you to wait while the Wine configuration in your '.wine' directory is completed.

    You might see another dialogue box (with title "Wine Gecko Installer") during Wine configuration. Select "Cancel" in this dialogue box. You might see some other messages in your terminal window during Wine configuration; these can be ignored. You will now have a directory called '.wine' in your home directory.

  2. If you have already downloaded and installed Swiss-PdbViewer in your '.wine' directory, go to step 3.

    Otherwise:

    1. Download the Microsoft Windows version of the current verion of Swiss-PdbViewer from the Swiss-PdbViewer web site, and put the Swiss-PdbViewer zip file in the appropriate place in your own '.wine' directory, e.g

          mv SPDBV_4.04_PC.zip ~/.wine/drive_c/Program\ Files
      
    2. Unzip the windows archive:

          cd ~/.wine/drive_c/Program\ Files
          unzip SPDBV_4.04_PC.zip
      
  3. Start Swiss-PdbViewer by typing:

        wine c:\\Program\ Files\\SPDBV_4.04_PC\\spdbv.exe
    

    Since this is rather long to type, you might want to create an alias for this command. This can be done either by typing the following line in a terminal window (effective only for the current terminal session) or adding the following line to your '~/.bashrc' file (effective for all future sessions):

        alias spdbv='wine c:\\Program\ Files\\SPDBV_4.04_PC\\spdbv.exe'
    
  4. You can then run Swiss-PdbViewer 4.0.4 by typing:

        spdbv
    

Last Modified: 29 January 2012 by Graham Kemp