Pecan.synconf

From GMOD

Jump to: navigation, search

This is the main configuration file for GBrowse_syn used on WormBase. It contains information about the alignment (joining) database and the individual database for of the species in the browser.

return to GBrowse_syn

[GENERAL]
description = Worm Synteny Browser (PECAN)

# The alignment, or joining database
join        = dbi:mysql:database=pecan;host=localhost;user=nobody

#               Symbolic src   Config file         Description
source_map =      elegans      elegans_synteny    "C. elegans"
                  remanei      remanei_synteny     "C. remanei"
                  briggsae     briggsae_synteny    "C. briggsae"


# relative URL for temporary images -- Note this callback is wormbase specific.
# The tmpimages value can also be plain text.
tmpimages   = sub {
                    my ($server) = $ENV{SERVER_NAME} =~ /(.*?)\..*/;
                    $server ||= 'local';
                    return
                    "/ace_images/gbrowse/$server","/var/tmp/ace_images/gbrowse";
             }
buttons       = /gbrowse/images/buttons
default width = 1024
stylesheet    = /stylesheets/wormbase.css
cache time    = 1

# example searches to display
# format   source      landmark
examples = elegans X:1050000..1150000
           elegans I:10762799..10789727
           briggsae chrX:620000..670000


zoom levels = 5000 10000 25000 50000 100000 200000 400000

# routines to compile in advance for wormbase biolerplate
init_code = use lib '/usr/local/wormbase/cgi-perl/lib';
            use Ace;
            use ElegansSubs;

# wormbase header
header = sub {
        require ElegansSubs;
        require CGI;
        $Ace::Browser::AceSubs::TOP = 0;
        return ElegansSubs::Banner();
        }

# species-specific databases
[elegans_synteny]
tracks    = CG
color     = green

[remanei_synteny]
tracks    = WU_MERGED
color     = red

[briggsae_synteny]
tracks    = WBG
color     = steelblue
Personal tools
Developers