Code for the models, simulations, and data analysis from my PhD research on the stability and dynamics of Boolean gene regulatory networks, done in the lab of Marcus Feldman (Department of Biology, Stanford University).
This models how genes regulate one another — and themselves — as Boolean networks, and asks what determines whether a network settles into a stable state or cycles indefinitely. The central result: stability depends on the sign of self-regulation (the diagonal of the interaction matrix). Networks dominated by positive autoregulation tend to stabilize, and flipping the sign of a gene's self-loop reshapes the whole system's dynamics.
- Pinho R, Garcia V, Irimia M, Feldman MW (2014). Stability depends on positive autoregulation in Boolean gene regulatory networks. PLoS Computational Biology 10(11): e1003916. https://doi.org/10.1371/journal.pcbi.1003916
- Pinho R, Borenstein E, Feldman MW (2012). Most networks in Wagner's model are cycling. PLoS ONE 7(4): e34285. https://doi.org/10.1371/journal.pone.0034285
- Pinho R, Garcia V, Feldman MW (2015). Phenotype accessibility and noise in random threshold gene regulatory networks. PLoS ONE 10(4): e0119972. https://doi.org/10.1371/journal.pone.0119972
Full profile: Google Scholar
This is the original research code behind the papers above (2012 to 2015), written for Python 2
(iteritems, xrange), and it is kept here as a record. It
does not run on Python 3 as it stands. code_sample.py is a readable, simplified
version of the model and of the cycle-detection algorithm; src/ holds the model
and analysis, and runs/ the cluster submission scripts.