Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
ensembl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ensembl-gh-mirror
ensembl
Commits
13db4093
Commit
13db4093
authored
13 years ago
by
Monika Komorowska
Browse files
Options
Downloads
Patches
Plain Diff
added examples of commmands to ontlogy database creation instructions
parent
6771a9c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
misc-scripts/ontology/README
+11
-2
11 additions, 2 deletions
misc-scripts/ontology/README
with
11 additions
and
2 deletions
misc-scripts/ontology/README
+
11
−
2
View file @
13db4093
...
...
@@ -243,23 +243,32 @@
3. Run script 'get_OBO_files.ksh' to download all the currently
handled ontologies.
perl get_OBO_files.ksh
4. As a prerequisite to the next step, you'll need to install
ONTO-PERL modules from:
http://search.cpan.org/CPAN/authors/id/E/EA/EASR/ONTO-PERL/ONTO-PERL-1.31.tar.gz
or use the version installed in: /software/perl-5.8.8/lib/site_perl/5.8.8
and add the path where the module is installed to your perl path
5. Load the data from each downloaded ontology
file into the database
using the script 'load_OBO_file.pl' (run the script without arguments
5. Load the data from each downloaded ontology
(curently we download GO, SO and EFO)
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
ensembl/misc-scripts/ontology/scripts/
e.g.: perl load_OBO_file.pl -h ens-staging1 -u ensadmin -p ensembl -d ensembl_ontology_67 -f GO.obo -o GO
6. Compute the transitive closure (the 'closure' table in the
database) by running the 'compute_closure.pl' in almost the same
way as in step 4. This step may take some time.
e.g.: perl compute_closure.pl -h ens-staging1 -u ensadmin -p ensembl -d ensembl_ontology_67
7. Add the auxiliary map tables by running 'add_subset_maps.pl'
with the same arguments that you used for the script in the
previous step.
e.g.: perl add_subset_maps.pl -h ens-staging1 -u ensadmin -p ensembl -d ensembl_ontology_67
8. Done.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment