GenDBWiki/AdministratorDocumentation: Difference between revisions

From BRF-Software
Jump to navigation Jump to search
imported>HeikoNeuweger
No edit summary
No edit summary
 
(13 intermediate revisions by 5 users not shown)
Line 4: Line 4:
As an alternative to using GenDB via the Internet at Bielefeld University, you can also download it and install it at your location. Please read the installation requirements, installing GenDB requires extensive resources and bioinformatics skills. GenDB 2.x has a web user interface (WebUI) for most user interactions. We recommend that annotation teams use that web interface. In addition to this interface GenDB also has a Gtk-1/Gnome-1 based graphical user interface (GUI) that has some added value, but is difficult to install.
As an alternative to using GenDB via the Internet at Bielefeld University, you can also download it and install it at your location. Please read the installation requirements, installing GenDB requires extensive resources and bioinformatics skills. GenDB 2.x has a web user interface (WebUI) for most user interactions. We recommend that annotation teams use that web interface. In addition to this interface GenDB also has a Gtk-1/Gnome-1 based graphical user interface (GUI) that has some added value, but is difficult to install.


* /DependenciesAndRequirements
* [[GenDBWiki/AdministratorDocumentation/DependenciesAndRequirements|Dependencies and Requirements]]
* /UpdatingFromOlderVersions
* [[GenDBWiki/AdministratorDocumentation/GenDBInstallation|GenDB Installation]]
* /Installation
* [[GenDBWiki/AdministratorDocumentation/GenDBInstallationFAQ|GenDB Installation FAQ]]
* [[GenDBWiki/AdministratorDocumentation/UpdatingFromOlderVersions|Updating from older Versions]]
 
-----
-----


Line 12: Line 14:


- GenDB setup via Common Execution Environment (CEE)
- GenDB setup via Common Execution Environment (CEE)
- installation and configuration
  - Core
  - Apache
  - Gtk


- installing a GenDB patch/bugfix
- installing a GenDB patch/bugfix
Line 31: Line 25:
- DRMAA and scheduler issues
- DRMAA and scheduler issues


- Installation
----------------------
 
Installing GenDB-2.2 from CVS
 
If you are installing from an external destination and have an account for the Center for Biotechnology (CeBiTec), you first have to set your '''CVSROOT''' variable properly:
 
 
<pre><nowiki>
export CVSROOT=:ext:juser@porta.Genetik.Uni-Bielefeld.DE:/vol/cvs/intern/cvsroot
</nowiki></pre>
 
 
Go to a directory of your choice where you would like to install all software modules (you should have approximately 10 MB free disk space), e.g.:
 
 
<pre><nowiki>
cd /vol
</nowiki></pre>
 
 
Create a directory to install your local GenDB-2.2 version:
 
 
<pre><nowiki>
mkdir gendb-2.2
cd gendb-2.2
</nowiki></pre>


Install GenDB 2.2


go to your CVS bioinfo directory
Checkout the HEAD version of the '''bridge_install''' module:




<pre><nowiki>
<pre><nowiki>
cd ~/CVS_HEAD
cvs checkout -r HEAD bioinfo/bridge_install
</nowiki></pre>
</nowiki></pre>




Checkout the HEAD version of the bridge_install module
Or update your files if you have already checked out a CVS version:




Line 51: Line 70:




call the install.sh script to set up the installation system in the target directory (/vol/gendb-2.2 in this case)  
Call the install.sh script which is located in bioinfo/bridge_install to set up the installation system. Define the target directory for the installation (/vol/gendb-2.2 in this case):




<pre><nowiki>
<pre><nowiki>
. bioinfo/bridge_install/install.sh /vol/gendb-2.2/
cd bioinfo/bridge_install
./install.sh /vol/gendb-2.2/
</nowiki></pre>
</nowiki></pre>




call the script generate_cebitec_config to generate an initial configfile
The next step is optional:
Call the script generate_cebitec_config to generate an initial configuration file. This will produce the typical settings for SUN Grid Enginge (SGE), SQL databases and sequence databases used at CeBiTec.
 
Please checkout the bioinfo/seed_stuff module as well:




Line 67: Line 90:




go to bin directory of your installation
If you cannot or don't want to use the CeBiTec configuration, create an empty configuration file, e.g.:
 
 
<pre><nowiki>
/vol/gendb-2.2/> touch config
</nowiki></pre>
 
 
Go to the '''bin''' directory of your installation directory:




Line 75: Line 106:




install the modules from CVS in the following order and activate each of them
Install the modules from CVS in the following order and activate each of them
If you want to set the configuration settings interactively via gui ommit the -c param
 
If the '''-r''' param is ommited the HEAD version of the CVS will be used!




Line 95: Line 129:




ATTENTION:  
'''ATTENTION:'''
Check the file /vol/gendb-2.2/share/modules.xml for invalid characters!  
Check the file /vol/gendb-2.2/share/modules.xml for invalid characters!  
otherwise installation of GOPARC will fail. The xml parser fails to quote '&'
otherwise installation of GOPARC will fail. The xml parser fails to quote '&'
Line 112: Line 146:




[[GlobalConfig]].pm.template was completely outdated
Comment: GlobalConfig.pm.template was outdated


reconfigure_module does not work. Templates were not
reconfigure_module does not work. Templates were not
recomputed, reconfigure_module does not feature configuartion files  
recomputed, reconfigure_module does not feature configuartion files  
* fixed*
* fixed*


Line 124: Line 159:




no bridge_install.xml file for gendb_web head  
Comment:  no bridge_install.xml file for gendb_web head  
* fixed*
* fixed*



Latest revision as of 16:27, 28 October 2011

GenDB Administrator Documentation

As an alternative to using GenDB via the Internet at Bielefeld University, you can also download it and install it at your location. Please read the installation requirements, installing GenDB requires extensive resources and bioinformatics skills. GenDB 2.x has a web user interface (WebUI) for most user interactions. We recommend that annotation teams use that web interface. In addition to this interface GenDB also has a Gtk-1/Gnome-1 based graphical user interface (GUI) that has some added value, but is difficult to install.


There is more stuff to be written! Here is just a list of topics:

- GenDB setup via Common Execution Environment (CEE)

- installing a GenDB patch/bugfix

- upgrading and update

- backup

- sequence db update

- DRMAA and scheduler issues


Installing GenDB-2.2 from CVS

If you are installing from an external destination and have an account for the Center for Biotechnology (CeBiTec), you first have to set your CVSROOT variable properly:


export CVSROOT=:ext:juser@porta.Genetik.Uni-Bielefeld.DE:/vol/cvs/intern/cvsroot 


Go to a directory of your choice where you would like to install all software modules (you should have approximately 10 MB free disk space), e.g.:


cd /vol


Create a directory to install your local GenDB-2.2 version:


mkdir gendb-2.2
cd gendb-2.2


Checkout the HEAD version of the bridge_install module:


cvs checkout -r HEAD bioinfo/bridge_install


Or update your files if you have already checked out a CVS version:


cvs update -dPA bioinfo/bridge_install


Call the install.sh script which is located in bioinfo/bridge_install to set up the installation system. Define the target directory for the installation (/vol/gendb-2.2 in this case):


cd bioinfo/bridge_install
./install.sh /vol/gendb-2.2/


The next step is optional: Call the script generate_cebitec_config to generate an initial configuration file. This will produce the typical settings for SUN Grid Enginge (SGE), SQL databases and sequence databases used at CeBiTec.

Please checkout the bioinfo/seed_stuff module as well:


. bioinfo/seed_stuff/generate_cebitec_config > /vol/gendb-2.2/config


If you cannot or don't want to use the CeBiTec configuration, create an empty configuration file, e.g.:


/vol/gendb-2.2/> touch config


Go to the bin directory of your installation directory:


cd /vol/gendb-2.2/bin


Install the modules from CVS in the following order and activate each of them If you want to set the configuration settings interactively via gui ommit the -c param

If the -r param is ommited the HEAD version of the CVS will be used!


./add_cvs_repository -n common -c ../config 

./activate_module -n common


./add_cvs_repository -n wrapper -c ../config 

./activate_module -n wrapper


./add_cvs_repository -n projectmanagement -c ../config 

./activate_module -n projectmanagement


ATTENTION: Check the file /vol/gendb-2.2/share/modules.xml for invalid characters! otherwise installation of GOPARC will fail. The xml parser fails to quote '&'

characters in perl code sections 


./add_cvs_repository -n GOPArc -c ../config 

./activate_module -n GOPArc 


./add_cvs_repository -n gendb -c ../config 

./activate_module -n gendb


Comment: GlobalConfig.pm.template was outdated

reconfigure_module does not work. Templates were not recomputed, reconfigure_module does not feature configuartion files

  • fixed*


./add_cvs_repository -n gendb_web -c ../config 

./activate_module -n gendb_web


Comment: no bridge_install.xml file for gendb_web head

  • fixed*


./add_cvs_repository -n GooBS -c ../config 

./activate_module -n GooBS


./add_cvs_repository -n SEED -c ../config 

./activate_module -n SEED