|
|||||||||||||||||||||||||||||
SyMAP v2.0 Installation GuideLast update: 5/16/07The installation instructions for v2.0 are the same as for v1.0. The only change to this guide is that a Troubleshooting Guide was added. Please send bug reports and suggestions to symap@agcol.arizona.edu. Contents:
1 OverviewSyMAP aligns an FPC map either to a pseudomolecule (sequenced chromosome) or to another FPC map.
C. Soderlund, W. Nelson, A. Shoemaker and A. Paterson (2006)
SyMAP: A system for discovering and viewing syntenic regions of FPC maps
Genome Research 16:1159-1168.
This guide provides instructions on creating the demo SyMAP; this should be done first in order to insure that the database connection works. The demo files were created from the maize fpc to rice pseudomolecule synteny alignment (see www.agcol.arizona.edu/symap). 1.1 Server System RequirementsThe SyMAP server software runs under Linux, Unix, and Mac OSX. It should also work on Windows XP, although it is untested.To install and run SyMAP with the demonstration data requires a minimum of 100MB RAM and 500MB disk space. The RAM and disk space requirements for your data sets depend on the size of your data; typically you want to have free disk space at least twice the size of your data set. Installing and running SyMAP are computationally intensive, so a fast machine with at least 1GB of RAM is recommended. For best results, use the following: DBI Cwd Data::Page Storable File::Temp CGI CGI::Carp GD 1.2 Client System RequirementsSyMAP runs in a web browser as a Java Applet on the client system. This requires Firefox or Internet Explorer with the Java Runtime Environment (JRE).1.3 SyMAP ComponentsThe SyMAP system consists of four components:
SyMAP files are located in three directories:
1.4 Package StructureThe tar file contains the directory symap/ with the following contents:cgi/ data/ LICENSE scripts/ html/ params symap_install.html symap_troubleshoot.html java/ release.html symap.pm sytry/The /data directory contains all project data, in subdirectories: fpc/ fpc_pseudo/ fpc_fpc/ pseudo/
Data specific to the FPC or pseudmolecule projects are stored under the
"fpc" or "pseudo" directories, respectively. 2 Installing SyMAP and Creating the DemoIf you encounter installation problems, please see the Troubleshooting Guide.1. First make sure that you have a MySQL database running on a server which can also host the SyMAP HTML and CGI pages.    Important: Java applet security requires that the database and web server be on the same machine.    Create a new database for symap data. MySQL must be installed and running with accessible admin/user accounts -- see your trusty System Administrator :). > mysql -u <db_adminuser> -p <db_adminpasswd>
mysql> create database symap;
2. Decide where you want the Admin directory to go, and untar the package in that location. > tar -xvf symap_2_0.tar.gz   The untar will create a "symap" directory with all the SyMAP files underneath it.
3. Go to the symap directory and edit the file "params".
db_name = symap
db_server = myserver.myschool.edu
db_adminuser = admin
db_adminpasswd =
db_clientuser = client
db_clientpasswd =
html_path = /web/htdocs/symap
cgi_path = /web/cgi-bin/symap
html_url = http://myserver.myschool.edu/symap
cgi_url = http://myserver.myschool.edu/cgi-bin/symap
logfile = symap.log
site_logo = symap_logo.gif
4. Run the installation script: perl scripts/install.pl   and follow the instructions.    It will ask you if you want to create the demo, say Yes.    A project can be removed with the script perl remove_project.pl   or by re-running the install. NOTE: You may have to exit all browser windows and restart the browser to see correct results.
When the install is complete, the web pages will be available at the web
location specified as "html_url" in the params file. The installed pages
should match those seen
here.
Note that the top page redirects immediately to the
CGI script "projects.cgi". 3 Creating or Updating a Project3.1 Creating a New ProjectTo create a FPC-to-FPC or FPC-to-Pseudo project, perform the following steps:
Step 1: Create the FPC project
perl scripts/fpc.pl <fpc_name>Note that "fpc name" is the name of the directory under /fpc. Step 2: For FPC-to-Pseudo project perl scripts/pseudo.pl <pseudo name>Note that "pseudo name" is the name of the directory under /fpc. b. FPC/Pseudo pair
perl scripts/anchors.pl pseudo <fpc_name> <pseudo_name>
perl scripts/synteny.pl pseudo <fpc_name> <pseudo_name>
Step 3: For FPC-to-FPC project
perl scripts/anchors.pl fpc <fpc_name> <fpc_name>
Regardless whether you did the preceding steps or not, compute the synteny using
perl scripts/synteny.pl fpc <fpc_name> <fpc_name>
Notes:
The params files must be present for the individual fpc/pseudo projects, and
should be edited with the appropriate values, particularly the display name and
whether numbered chromosomes or lettered linkage groups are used (for FPC
projects, the second setting only matters if there is contig anchoring).
The param file may be omitted from the pair directories (fpc_pseudo, fpc_fpc),
in which case the defaults will be used.
The commands to add this project are:
perl scripts/fpc.pl xx
perl scripts/pseudo.pl yy
perl scripts/annotation.pl yy (if there is any pseudomolecule annotation)
perl scripts/anchors.pl pseudo xx yy
perl scripts/synteny.pl pseudo xx yy
The web page created calls projects.cgi to read the database and provide a list
of all symap projects, hence, you do not have to change this script to add more
projects.
To remove an fpc or pseudomolecule project, type
perl scripts/remove_project.pl fpc xx
- or -
perl scripts/remove_project.pl pseudo yy
When an fpc or pseudomolecule project is removed, all anchor and
synteny data which depend on that project are automatically removed.
3.2 Updating a projectPut the new data into the appropriate directory and run the perl scripts as was done for creating the project. If only data under fpc_pseudo or fpc_fpc was modified, then only anchors.pl and synteny.pl need to be re-run, while if fpc or pseudo data was modified, then fpc.pl or pseudo.pl must be re-run, followed by anchors.pl and synteny.pl4 Data organizationTo add a new project, the project data must be arranged in the data/ directory using the structure below that corresponds to the project type. The demo data serves as an example for FPC-to-FPC and FPC-to-Pseudo project types.4.1 FPC Data
|
|||||||||||||||||||||||||||||