Skip to content
Snippets Groups Projects
Commit c0a40817 authored by Monika Komorowska's avatar Monika Komorowska
Browse files

*** empty log message ***

parent 5a7ef7cd
No related branches found
No related tags found
No related merge requests found
...@@ -238,21 +238,28 @@ ...@@ -238,21 +238,28 @@
2. Load the schema from 'tables.sql' located in 2. Load the schema from 'tables.sql' located in
ensembl/misc-scripts/ontology/sql/ ensembl/misc-scripts/ontology/sql/
3. Download the latest file GO OBO file from 3. Run script 'get_OBO_files.ksh' to download all the currently
http://www.geneontology.org/ontology/obo_format_1_2/gene_ontology.1_2.obo handled ontologies.
(There is a helper script called 'get_OBO_files.ksh' that will 4. As a prerequisite to the next step, you'll need to download
download all the currently handled ontologies.) ONTO-PERL modules from:
http://search.cpan.org/CPAN/authors/id/E/EA/EASR/ONTO-PERL/ONTO-PERL-1.31.tar.gz
4. Load the data into the database using the script Save the modules in your local directory:
'load_OBO_file.pl' (run the script without arguments e.g. gunzip < ONTO-PERL-1.31.tar.gz | tar xvf -
Go to the ONTO-PERL-1.31 directory and test if you have all required modules
by running the following commands:
perl Makefile.PL
make
make test
Update the library in load_OBO_file.pl script to the location of ONTO-PERL modules in
your home directory:
e.g. use lib "/nfs/users/nfs_m/mk8/ONTO-PERL-1.31/lib";
5. Load the data from each downloaded ontology file into the database
using the script 'load_OBO_file.pl' (run the script without arguments
for help on usage, it is simple). The script lives in for help on usage, it is simple). The script lives in
ensembl/misc-scripts/ontology/scripts/ ensembl/misc-scripts/ontology/scripts/
5. Repeat steps 3 and 4 for the SO ontology. The latest version of
the ontology may be found at
http://song.cvs.sourceforge.net/viewvc/*checkout*/song/ontology/so.obo
6. Compute the transitive closure (the 'closure' table in the 6. Compute the transitive closure (the 'closure' table in the
database) by running the 'compute_closure.pl' in almost the same database) by running the 'compute_closure.pl' in almost the same
way as in step 4. This step may take some time. way as in step 4. This step may take some time.
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment