Database Models¶
PathMe-Viewer database models.
PathMe models.
-
class
pathme_viewer.models.
Pathway
(**kwargs)[source]¶ Represents a pathway network in BEL format harmonized by ComPath
A simple constructor that allows initialization from kwargs.
Sets attributes on the constructed instance using the names and values in
kwargs
.Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.
-
name
¶ Pathway name
-
resource_name
¶ Database of origin
-
pathway_id
¶ Pathway identifier in database of origin
-
number_of_nodes
¶ Number of nodes
-
number_of_edges
¶ Number of edges
-
version
¶ Version of the BEL file
Authors of the underlying BEL file
-
contact
¶ Contact email from the underlying pathway
-
description
¶ Descriptive text from the pathway
-
pybel_version
¶ Version of PyBEL
-
blob
¶ A pickled version of this pathway
-
property
display_name
¶ Return pathway name.
-
property
pathway_tuple
¶ Return pathway name.
-