ensembl-hive
2.6
|
Public Member Functions | |
public Bio::EnsEMBL::OntologyTerm | get_OntologyTerm () |
public Int | add_linkage_type () |
public Listref | get_all_linkage_info () |
public void | get_all_linkage_types () |
public void | flush_linkage_types () |
public void | add_associated_xref () |
public void | add_linked_associated_xref () |
public Listref | get_all_associated_xrefs () |
public | get_extensions () |
Public Member Functions inherited from Bio::EnsEMBL::DBEntry | |
public Bio::EnsEMBL::DBEntry | new () |
public String | primary_id () |
public String | display_id () |
public String | optional_id () |
public String | dbname () |
public String | database () |
public String | release () |
public String | version () |
public String | db_version () |
public String | description () |
public Bio::EnsEMBL::Analysis | analysis () |
public String | comment () |
public String | priority () |
public String | db_display_name () |
public String | info_type () |
public String | info_text () |
public String | linkage_annotation () |
public String | type () |
public String | secondary_db_name () |
public String | secondary_db_table () |
public void | add_synonym () |
public Listref | get_all_synonyms () |
public Listref | get_all_dependents () |
public Listref | get_all_masters () |
public void | flush_synonyms () |
public String | status () |
Public Member Functions inherited from Bio::EnsEMBL::Storable | |
public Bio::EnsEMBL::Storable | new () |
public Instance | new_fast () |
public Int | dbID () |
public Bio::EnsEMBL::DBSQL::BaseAdaptor | adaptor () |
public Boolean | is_stored () |
public | get_all_DAS_Features () |
This class extends the DBEntry in order to associate Evidence Tags to the relationship between EnsEMBL objects and ontology accessions (primarily GO accessions). The relationship to GO that is stored in the database is actually derived through the relationship of EnsEMBL peptides to SwissProt peptides, i.e. the relationship is derived like this: ENSP -> SWISSPROT -> GO And the evidence tag describes the relationship between the SwissProt Peptide and the GO entry. In reality, however, we store this in the database like this: ENSP -> SWISSPROT ENSP -> GO and the evidence tag hangs off of the relationship between the ENSP and the GO identifier. Some ENSPs are associated with multiple closely related Swissprot entries which may both be associated with the same GO identifier but with different evidence tags. For this reason a single 'OntologyXref' can have multiple evidence tags.
Definition at line 41 of file OntologyXref.pm.
public void Bio::EnsEMBL::OntologyXref::add_associated_xref | ( | ) |
Arg [1] : Bio::EnsEMBL::DBEntry $associated_xref or an Array of Bio::EnsEMBL::DBEntry for compound annotations Arg [2] : Bio::EnsEMBL::DBEntry $source_dbentry Arg [3] : string $condition_type or an Array of string $condition_types matching the order of Arg[1] for compound queries. Arg [4] : (optional) Integer $group id for compound annotations. Arg [5] : (optional) Integer $rank order for a term within a compound annotation. Example :
Description: Associates a linkage type and source DBEntry with this ontology_xref Returntype : none Exceptions : thrown if $linkage_type argument not supplied or the optional DBEntry is not a DBEntry object. Caller : DBEntryAdaptor Status : Experimantal
public Int Bio::EnsEMBL::OntologyXref::add_linkage_type | ( | ) |
Arg [1] : string $value allowed values: 'IC', 'IDA', 'IEA', 'IEP', 'IGI', 'IMP', 'IPI', 'ISS', NAS', 'ND', 'TAS', 'NR', 'RCA' Arg [2] : (optional) Bio::EnsEMBL::DBEntry $source Example :
Description: Associates a linkage type and source DBEntry with this ontology_xref Returntype : integer; number of linkages Exceptions : thrown if $linkage_type argument not supplied or the optional DBEntry is not a DBEntry object. Caller : DBEntryAdaptor Status : Experimantal
public void Bio::EnsEMBL::OntologyXref::add_linked_associated_xref | ( | ) |
Arg [1] : Bio::EnsEMBL::DBEntry $associated_xref or an Array of Bio::EnsEMBL::DBEntry for compound annotations Arg [2] : Bio::EnsEMBL::DBEntry $source_dbentry Arg [3] : string $condition_type or an Array of string $condition_types matching the order of Arg[1] for compound queries. Arg [4] : Integer $group id. Arg [5] : Integer $rank id. Example :
Description: Associates a linkage type and source DBEntry with this ontology_xref that have come from the same annotation source Returntype : none Exceptions : thrown if $linkage_type argument not supplied or the optional DBEntry is not a DBEntry object. Caller : DBEntryAdaptor Status : Experimantal
public void Bio::EnsEMBL::OntologyXref::flush_linkage_types | ( | ) |
Arg [1] : none Example :
Description: Removes any associated evidence tags Returntype : none Exceptions : none Caller : general Status : Stable
public Listref Bio::EnsEMBL::OntologyXref::get_all_associated_xrefs | ( | ) |
Arg [1] : none Example :
print "evidence: $_->[0] via $_->[1]->display_id"; }
Description: Retrieves a list of associated-DBEntry/source-DBEntry/condition sets associated with this ontology_xref Returntype : listref of listrefs Exceptions : none Caller : geneview? general. Status : Experimental
public Listref Bio::EnsEMBL::OntologyXref::get_all_linkage_info | ( | ) |
Arg [1] : none Example :
print "evidence: $_->[0] via $_->[1]->display_id"; }
Description: Retrieves a list of evidence-tag/source-DBEntry pairs associated with this ontology_xref Returntype : listref of listrefs Exceptions : none Caller : geneview? general. Status : Experimental
public void Bio::EnsEMBL::OntologyXref::get_all_linkage_types | ( | ) |
Arg [1] : none Example :
Description: Retrieves a unique list of evidence tags associated with this ontology_xref Returntype : none Exceptions : none Caller : geneview? general Status : Stable
public Bio::EnsEMBL::OntologyXref::get_extensions | ( | ) |
Arg [1] : none Example :
Returns : $VAR1 = { 'source' => '11937031', 'evidence' => 'IDA', 'description' => 'has_direct_input SPBC32F12.09 ' };
Description: Retrieves a list of associated-DBEntry/source-DBEntry/condition sets associated with this ontology_xref and formats them ready for web display in a group per row fashion. The accessions for ontologies are linkable. Extra links need to be added for each distinct database that is reference. Returntype : listref of hashrefs Exceptions : none Caller : Status : Experimental
public Bio::EnsEMBL::OntologyTerm Bio::EnsEMBL::OntologyXref::get_OntologyTerm | ( | ) |
Example :
Description: Queries the OntologyTermAdaptor for a term which is the same as the primary id of this object. This method requires a OntologyDBAdaptor to be available in the Bio::EnsEMBL::Registry. If you have loaded data from an Ensembl release using Bio::EnsEMBL::Registry->load_registry_from_db() then this should work. Returntype : Bio::EnsEMBL::OntologyTerm Exceptions : None Caller : general Status : Experimantal