.

Back to: ← Installing the code components

Installing the Ensembl, BioPerl, and BioMart modules

If you review the Site Structure part of this document, you will recall that the site is based around a single server-root directory. The Ensembl, BioPerl and BioMart modules are all installed into this directory. Choose a suitable location, and create your server-root directory. For the purposes of illustration, we will use /usr/local/ensembl. When following these instructions, replace / usr/local/ensembl with your chosen server-root.

  1. Go to the server-root directory:

    cd /usr/local/ensembl

To install the Ensembl modules

  1. Log into the Sanger CVS server (using a password of "CVSUSER"):

    $ cvs -d :pserver:cvsuser@cvs.sanger.ac.uk:/cvsroot/CVSmaster  login
    Logging in to :pserver:cvsuser@cvs.sanger.ac.uk:2401/cvsroot/CVSmaster
    CVS password: CVSUSER 
    
  2. To check out the most recent stable version of the ensembl API and web code from CVS (i.e. to download the code from the Sanger CVS server onto your local machine) you need to use the latest branch of the code. Please note the code on the CVS HEAD is under development and unstable. Use the following command making sure you use the code that matches your databases:

    $ cvs -d :pserver:cvsuser@cvs.sanger.ac.uk:/cvsroot/CVSmaster co -r branch-ensembl-50 ensembl-api ensembl-website 
    

    A listing of your server-root should now look something like:

    conf/
    ensembl/
    ensembl-compara/
    ensembl-draw/
    ensembl-external/
    ensembl-funcgen/
    ensembl-variation/
    htdocs/
    modules/
    perl/
    public-plugins/
    utils/

N.B. You can also view the Ensembl CVS repository in your web browser.

To install the BioMart modules (BioMart 0.6)

  1. If you haven't already done so, log into the Sanger CVS server (using a password of "CVSUSER"):

    $ cvs -d :pserver:cvsuser@cvs.sanger.ac.uk:/cvsroot/biomart  login
    Logging in to :pserver:cvsuser@cvs.sanger.ac.uk:2401/cvsroot/biomart
    CVS password: CVSUSER 
    
  2. Check the BioMart code out of CVS (downloads the code from the Sanger CVS server onto your local machine):

    $ cvs -d :pserver:cvsuser@cvs.sanger.ac.uk:/cvsroot/biomart co -r release-0_6 biomart-perl

More information on tweaking and configuring BioMart to work within the Ensembl website is available, for general instructions on installing biomart (including creating the cached configuration file and templates see the biomart website).

To install the BioPerl modules (BioPerl 1.2.3)

  1. Log into the BioPerl CVS server (using a password of: cvs):

    cvs -d :pserver:cvs@cvs.open-bio.org:/home/repository/bioperl login
  2. Check-out the BioPerl code:

    cvs -d :pserver:cvs@cvs.open-bio.org:/home/repository/bioperl \
      co -r bioperl-release-1-2-3 bioperl-live

    A listing of your server-root should now look something like:

    bioperl-live/
    biomart-plib/
    biomart-web/
    conf/
    ensembl/
    ensembl-compara/
    ensembl-draw/
    ensembl-external/
    ensembl-variation/
    htdocs/
    modules/
    perl/
    public-plugins/
    utils/

You should now have all the Ensembl website code and data installed and ready to configure.

Back to: ← Installing the code components


 

© 2024 Inserm. Hosted by genouest.org. This product includes software developed by Ensembl.

                
GermOnline based on Ensembl release 50 - Jul 2008
HELP