Models¶
SQLAlchemy models for Bio2BEL miRTarBase.
-
class
bio2bel_mirtarbase.models.
Species
(**kwargs)[source]¶ Represents a species.
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.
-
taxonomy_id
¶ The NCBI taxonomy identifier
-
name
¶ The scientific name for the species
-
-
class
bio2bel_mirtarbase.models.
Mirna
(**kwargs)[source]¶ Create mirna table that stores information about the miRNA.
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
¶ miRTarBase name
-
mirbase_id
¶ miRBase identifier
-
entrez_id
¶ Entrez Gene identifier
-
species_id
¶ The host species
-
-
class
bio2bel_mirtarbase.models.
Target
(**kwargs)[source]¶ Represents a target RNA.
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
¶ Target gene name
-
entrez_id
¶ Entrez gene identifier
-
hgnc_symbol
¶ HGNC gene symbol
-
hgnc_id
¶ HGNC gene identifier
-
species_id
¶ The host species
-
serialize_to_entrez_node
() → pybel.dsl.node_classes.Rna[source]¶ Serialize to PyBEL node data dictionary.
-
-
class
bio2bel_mirtarbase.models.
Interaction
(**kwargs)[source]¶ Build Interaction table used to store miRNA and target relations.
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.
-
mirtarbase_id
¶ miRTarBase interaction identifier which is unique for a pair of miRNA and RNA targets
-
mirna_id
¶ The miRTarBase identifier of the interacting miRNA
-
target_id
¶ The Entrez gene identifier of the interacting RNA
-
-
class
bio2bel_mirtarbase.models.
Evidence
(**kwargs)[source]¶ Build Evidence table used to store MTI’s and their evidence.
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.
-
experiment
¶ Experiments made to find miRNA - target interaction. E.g. ‘Luciferase reporter assay//qRT-PCR//Western blot’
-
support
¶ Type and strength of the miRNA - target interaction. E.g. ‘Functional MTI (Weak)’
-
reference
¶ Reference PubMed Identifier
-
interaction_id
¶ The interaction for which this evidence was captured
-