loica.geneproduct

Module Contents

Classes

GeneProduct

A class that represents a gene product, protein or RNA.

Regulator

Representation of a regulatory gene product.

Reporter

Representation of a regulatory gene product.

class GeneProduct(name, init_concentration=0, degradation_rate=0, uri=None, sbol_comp=None, type_='PRO', color='silver')

A class that represents a gene product, protein or RNA.

namestr

Name of the gene product

init_concentrationint | float

Initial concentration of the gene product in Molar

degradation_rateint | float

Degradation rate of the gene product

type_str, optional

Molecular type of the gene product, could be ‘PRO’ or ‘RNA’

uristr, optional

SynBioHub URI

sbol_compSBOL Component, optional

SBOL Component

shape = ^
__str__(self)

Return str(self).

express(self, rate)
initialize(self)
step(self, growth_rate, dt)
class Regulator(name, init_concentration=0, degradation_rate=0, sbol_comp=None, color='lightgreen')

Bases: GeneProduct

Representation of a regulatory gene product. Child of GeneProduct.

class Reporter(name, init_concentration=0, degradation_rate=0, signal_id=None, color='w', sbol_comp=None)

Bases: GeneProduct

Representation of a regulatory gene product.

signal_idstr, optional

Flapjack ID of the signal that the reporter is associated with.

colorstr, optional

Color of the reporter