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
96276d34
Commit
96276d34
authored
12 years ago
by
Monika Komorowska
Browse files
Options
Downloads
Patches
Plain Diff
updated instructions on producing the ontology database
parent
97ad74f1
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
+16
-6
16 additions, 6 deletions
misc-scripts/ontology/README
with
16 additions
and
6 deletions
misc-scripts/ontology/README
+
16
−
6
View file @
96276d34
...
...
@@ -258,21 +258,31 @@
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
e.g.: perl load_OBO_file.pl -h ens-staging1 -u ensadmin -p
xxx
-d ensembl_ontology_67 -f GO.obo -o GO
6. Compute the transitive closure (the 'closure' table in the
6. Delete the 'UNKNOWN' ontology row from the ontology table.
Once you're finished loading all the ontology files run the load_OBO_file.pl script
with option -delete_unknown:
e.g.: perl load_OBO_file.pl -h ens-staging1 -u ensadmin -p xxx -d ensembl_ontology_67 -delete_unknown
The script will delete the dummy ontology if none of the loaded terms are still linked to it.
It will report a problem in case it finds any terms linked to the UNKNOWN ontology.
This may indicate that you haven't loaded all the files as definitions for some terms are missing.
7. 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
e.g.: perl compute_closure.pl -h ens-staging1 -u ensadmin -p
xxx
-d ensembl_ontology_67
7
. Add the auxiliary map tables by running 'add_subset_maps.pl'
8
. 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
e.g.: perl add_subset_maps.pl -h ens-staging1 -u ensadmin -p
xxx
-d ensembl_ontology_67
8
. Copy the newly created database to ens-staging2 using ensembl/misc-srcipts/CopyDBOverServer.pl script.
9
. Copy the newly created database to ens-staging2 using ensembl/misc-srcipts/CopyDBOverServer.pl script.
$Id$
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