Xref#

class biopax-explorer.biopax.xref.Xref(*args, **kwargs)[source]#

Bases: UtilityClass

Class Xref

Definition: A reference from an instance of a class in this ontology to an

object in an external resource. Rationale: Xrefs in the future can be removed in the future in favor of explicit miram links. Usage: For most cases one of the subclasses of xref should be used.

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_type_by_name

get_uri_string

object_attributes

set_comment

set_db

set_dbVersion

set_id

set_idVersion

set_uri_string

to_json

type_attributes

Methods Summary

attribute_type_by_name()

get_db()

Attribute _db getter

get_dbVersion()

Attribute _dbVersion getter

get_id()

Attribute _id getter

get_idVersion()

Attribute _idVersion getter

get_uri_string()

object_attributes()

set_db(value)

set_dbVersion(value)

set_id(value)

set_idVersion(value)

set_uri_string(uristr)

to_json()

type_attributes()

Methods Documentation

attribute_type_by_name()[source]#
get_db()[source]#
Attribute _db getter

The name of the external database to which this xref refers.

get_dbVersion()[source]#
Attribute _dbVersion getter

The version of the external database in which this xref was last known to be

valid. Resources may have recommendations for referencing dataset versions. For instance, the Gene Ontology recommends listing the date the GO terms were downloaded.

get_id()[source]#
Attribute _id getter

The primary identifier in the external database of the object to which this xref

refers.

get_idVersion()[source]#
Attribute _idVersion getter

The version number of the identifier (ID). E.g. The RefSeq accession number

NM_005228.3 should be split into NM_005228 as the ID and 3 as the ID-VERSION.

get_uri_string()[source]#
object_attributes()[source]#
set_db(value)[source]#
set_dbVersion(value)[source]#
set_id(value)[source]#
set_idVersion(value)[source]#
set_uri_string(uristr)[source]#
to_json()[source]#
type_attributes()[source]#