Provenance#

class biopax-explorer.biopax.provenance.Provenance(*args, **kwargs)[source]#

Bases: UtilityClass

Class Provenance

Definition: The direct source of pathway data or score. Usage: This does not

store the trail of sources from the generation of the data to this point, only the last known source, such as a database, tool or algorithm. The xref property may contain a publicationXref referencing a publication describing the data source (e.g. a database publication). A unificationXref may be used when pointing to an entry in a database of databases describing this database. Examples: A database, scoring method or person name.

code generator : rdfobj (author F.Moreews 2023-2024).

Methods

get_comment()

Attribute _comment getter

get_displayName()

Attribute _displayName getter

get_name()

Attribute _name getter

get_standardName()

Attribute _standardName getter

get_xref()

Attribute _xref getter

attribute_type_by_name

get_uri_string

object_attributes

set_comment

set_displayName

set_name

set_standardName

set_uri_string

set_xref

to_json

type_attributes

Methods Summary

attribute_type_by_name()

get_displayName()

Attribute _displayName getter

get_name()

Attribute _name getter

get_standardName()

Attribute _standardName getter

get_uri_string()

get_xref()

Attribute _xref getter

object_attributes()

set_displayName(value)

set_name(value)

set_standardName(value)

set_uri_string(uristr)

set_xref(value)

to_json()

type_attributes()

Methods Documentation

attribute_type_by_name()[source]#
get_displayName()[source]#
Attribute _displayName getter

An abbreviated name for this entity, preferably a name that is short enough to

be used in a visualization application to label a graphical element that represents this entity. If no short name is available, an xref may be used for this purpose by the visualization application. Warning: Subproperties of name are functional, that is we expect to have only one standardName and shortName for a given entity. If a user decides to assign a different name to standardName or shortName, they have to remove the old triplet from the model too. If the old name should be retained as a synonym a regular “name” property should also be introduced with the old name.

get_name()[source]#
Attribute _name getter

Synonyms for this entity. standardName and shortName are subproperties of this

property and if declared they are automatically considered as names. Warning: Subproperties of name are functional, that is we expect to have only one standardName and shortName for a given entity. If a user decides to assign a different name to standardName or shortName, they have to remove the old triplet from the model too. If the old name should be retained as a synonym a regular “name” property should also be introduced with the old name.

get_standardName()[source]#
Attribute _standardName getter

The preferred full name for this entity, if exists assigned by a standard

nomenclature organization such as HUGO Gene Nomenclature Committee. Warning: Subproperties of name are functional, that is we expect to have only one standardName and shortName for a given entity. If a user decides to assign a different name to standardName or shortName, they have to remove the old triplet from the model too. If the old name should be retained as a synonym a regular “name” property should also be introduced with the old name.

get_uri_string()[source]#
get_xref()[source]#
Attribute _xref getter

Values of this property define external cross-references from this entity to

entities in external databases.

object_attributes()[source]#
set_displayName(value)[source]#
set_name(value)[source]#
set_standardName(value)[source]#
set_uri_string(uristr)[source]#
set_xref(value)[source]#
to_json()[source]#
type_attributes()[source]#