Gpm instructions

From TheGPMWiki
Jump to: navigation, search

The GPM is an open source, free interface that uses Tandem to model proteins. In order to install the interface and the necessary executable, you should follow these steps. Having someone around who knows how web sites work is a definite advantage for this install procedure.

  1. The GPM download package comes in two parts: the web interface files and the fasta files. It is split up like this because the GPM interface is updated more regularly than the fasta distribution.
  2. Download either the Win32, OS X or Linux (Red Hat) version from ftp.thegpm.org.
  3. Unzip or de-tar the appropriate version.
  4. If you do not have a web server on the computer, you will need one. We recommend installing Apache, which you can get from the Apache site. This version of the GPM has been tested with version 2.0.
  5. Move the entire "thegpm" folder inside the htdocs folder on Windows, /var/www/ on Linux and /Library/WebServer/Documents/ on OS X.
  6. Move the fasta files into the "/thegpm/fasta" folder.
  7. Make the "thegpm" folder the root directory for the web server.
  8. Make the "thegpm-cgi" folder a folder that can run scripts.
  9. If it is a Win32 install, install ActiveState Perl. Linux usually has a version of Perl already, although you may need to get a more complete version of CGI.pm.
  10. If you are running a version of Linux other than Red Hat, it will be necessary to download the source for Tandem and compile a new executable to run on your Linux edition.
  11. As of version 20040715, the search results are stored in 'thegpm/gpm/archive/'.
  12. As of version 20040715, the file called defines.pl found in thegpm-cgi folder needs to be edited if the installation will be running other than just locally. Simply replace 'localhost' with the name of your server.
  13. As of version 20050504, there is a new folder called conf. The script inside is used to configure the perl scripts (all OS) and permissions (Linux or OS X.) More information in the README file in that directory.

This set of instructions is not a rigid formula: you may have to adjust the way it is installed based on existing web servers on your computer, or just to make it more convenient for you. If you have any questions or problems, please check the FAQ or email us.

Personal tools