RelationshipXref#
- class biopax-explorer.biopax.relationshipxref.RelationshipXref(*args, **kwargs)[source]#
Bases:
Xref
Class RelationshipXref
Definition: An xref that defines a reference to an entity in an external
resource that does not have the same biological identity as the referring entity. Usage: There is currently no controlled vocabulary of relationship types for BioPAX, although one will be created in the future if a need develops. Examples: A link between a gene G in a BioPAX data collection, and the protein product P of that gene in an external database. This is not a unification xref because G and P are different biological entities (one is a gene and one is a protein). Another example is a relationship xref for a protein that refers to the Gene Ontology biological process, e.g. ‘immune response,’ that the protein is involved in.
code generator : rdfobj (author F.Moreews 2023-2024).
Methods
get_comment
()Attribute _comment getter
get_db
()Attribute _db getter
get_dbVersion
()Attribute _dbVersion getter
get_id
()Attribute _id getter
get_idVersion
()Attribute _idVersion getter
Attribute _relationshipType getter
attribute_type_by_name
get_uri_string
object_attributes
set_comment
set_db
set_dbVersion
set_id
set_idVersion
set_relationshipType
set_uri_string
to_json
type_attributes
Methods Summary
Attribute _relationshipType getter
set_relationshipType
(value)set_uri_string
(uristr)to_json
()Methods Documentation
- get_relationshipType()[source]#
- Attribute _relationshipType getter
Definition:A controlled vocabulary term that defines the type of relationship
that this xref defines. Usage: There is currently no controlled vocabulary of relationship types for BioPAX, although one will be created in the future as the usage of this property increases.