The webchrom.pl script reads the FPC file, the chromosome file and references (see
File Format). It writes the necessary files in
<HTML_DIR_PATH>/WebAGCoL/<MAP_NAME>/WebChrom.
The following config variables are used: FPC_FILE, CHROMOSOME_FILE, REFERENCE_DIR.
All files in this section are put into the
<HTML_DIR_PATH>/WebAGCoL/<MAP_NAME> directory
by the setup.pl script, and can later be changed by the user (Note: the update.sh needs
to be rerun after a change). This directory will be referred to as the MAP directory
in the following discussion.
Chromosome File
The chromosome file is specified by the CHROMOSOME_FILE variable, and is
copied to the config sub-directory of the MAP directory.
This file contains the locations of the centromere for chromosomes
and the sizes (in Mb) of the chromosomes. The file has two parts divided with
the following specification:
<Chr or Lg> CENTROMERE_POS <3 digits.1 digit>
[<3 digits.1 digit>]
and
<Chr or Lg> LENGTH <3 digits.1 digit>
For example:
1 CENTROMERE_POS 73.5 73.5
2 CENTROMERE_POS 50 54.6
1 LENGTH 43.3
2 LENGTH 39.9
defines two chromosomes, both with centromeres. The centromere section is
optional. The start and end coordinates of the centromere can be the same.
The length is also optional; if absent, webchrom.pl will calculate a length based on
the length of the contigs located on the chromosome.
Reference Files
The reference files are shared by both WebFPC and WebChrom, though WebChrom only
uses the markers. See references for
more information.