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
c69d3f07
Commit
c69d3f07
authored
15 years ago
by
Andreas Kusalananda Kähäri
Browse files
Options
Downloads
Patches
Plain Diff
Change names of methods in OntologyTermAdaptor.
Mention new fetch_all_by_GOTerm_accession() method.
parent
5e81d29f
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
+18
-11
18 additions, 11 deletions
misc-scripts/ontology/README
with
18 additions
and
11 deletions
misc-scripts/ontology/README
+
18
−
11
View file @
c69d3f07
...
@@ -135,23 +135,23 @@
...
@@ -135,23 +135,23 @@
$adaptor->fetch_by_dbID_list(\@dbIDs)
$adaptor->fetch_by_dbID_list(\@dbIDs)
2.b by their (immediate) parent term
2.b by their (immediate) parent term
$adaptor->fetch_by_parent_term($term)
$adaptor->fetch_
all_
by_parent_term($term)
2.c by their (immediate) child term
2.c by their (immediate) child term
$adaptor->fetch_by_child_term($term)
$adaptor->fetch_
all_
by_child_term($term)
2.d by an ancestor term
2.d by an ancestor term
$adaptor->fetch_all_by_
parent
_term($term)
$adaptor->fetch_all_by_
ancestor
_term($term)
2.e by a descendant term
2.e by a descendant term
$adaptor->fetch_all_by_
child
_term($term)
$adaptor->fetch_all_by_
descendant
_term($term)
3. Fetching a structure that encodes the ancestor relationships of
3. Fetching a structure that encodes the ancestor relationships of
a term.
a term.
$adaptor->_fetch_ancestor_chart($term)
$adaptor->_fetch_ancestor_chart($term)
Given
an
ontology
term,
which
is
a
Bio::EnsEMBL::OntologyTerm
Given an ontology term, which is a Bio::EnsEMBL::OntologyTerm
object, some operations from the
second set of operations above are
object, some operations from the second set of operations above are
also available on the object itself (2.b--2.e):
also available on the object itself (2.b--2.e):
4. Fetching a set of terms from the database
4. Fetching a set of terms from the database
...
@@ -173,11 +173,18 @@
...
@@ -173,11 +173,18 @@
--------------------------------------------------------------------
--------------------------------------------------------------------
To enable to use ontology terms in querying for Ensembl objects,
To enable to use ontology terms in querying for Ensembl objects,
a method called fetch_all_by_GOTerm() was added to GeneAdaptor,
two methods were added to GeneAdaptor, TranscriptAdaptor, and to
TranscriptAdaptor, and to TranslationAdaptor. Given a GO term
TranslationAdaptor:
object, this method uses the DBEntryAdaptor to fetch objects
that are cross-referenced with the GO term or with any of its
- fetch_all_by_GOTerm()
descendants.
- fetch_all_by_GOTerm_accession()
Given a GO term object, the fetch_all_by_GOTerm() method uses
the DBEntryAdaptor to fetch objects that are cross-referenced
with the GO term or with any of its descendants. The
fetch_all_by_GOTerm_accession() method works similarly, but
instead of a GO term object it takes a GO term accession.
COMPLETE EXAMPLE PROGRAMS
COMPLETE EXAMPLE PROGRAMS
...
...
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