catcolab-regulatory-networks
CatColab Regulatory Networks - signed graphs for molecular biology modeling gene regulatory networks with positive (activating) and negative (inhibiting) edges.
Best use case
catcolab-regulatory-networks is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
CatColab Regulatory Networks - signed graphs for molecular biology modeling gene regulatory networks with positive (activating) and negative (inhibiting) edges.
Teams using catcolab-regulatory-networks should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/catcolab-regulatory-networks/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How catcolab-regulatory-networks Compares
| Feature / Agent | catcolab-regulatory-networks | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
CatColab Regulatory Networks - signed graphs for molecular biology modeling gene regulatory networks with positive (activating) and negative (inhibiting) edges.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# CatColab Regulatory Networks: Molecular Biology Modeling
**Trit**: -1 (MINUS - validator/inhibitor)
**Color**: Red (#DC143C)
## Overview
Regulatory Networks in CatColab model molecular interactions that control gene expression:
- **Nodes**: Genes, proteins, RNA, metabolites
- **Positive edges**: Activation/promotion (+)
- **Negative edges**: Inhibition/repression (-)
These signed graphs capture the control logic of biological systems.
## Mathematical Foundation
A regulatory network is a **signed graph** or **signed category**:
```
┌─────────────────────────────────────────────────────┐
│ REGULATORY NETWORK │
├─────────────────────────────────────────────────────┤
│ Nodes (Genes/Proteins): │
│ GeneA, GeneB, GeneC, ProteinX │
│ │
│ Positive Edges (Activation): │
│ GeneA ──(+)──► GeneB │
│ ProteinX ──(+)──► GeneC │
│ │
│ Negative Edges (Inhibition): │
│ GeneB ──(-)──► GeneC │
│ GeneC ──(-)──► GeneA (negative feedback) │
│ │
│ Motifs: │
│ Feedforward loop: A→B→C, A→C │
│ Negative feedback: A→B→C⊣A │
└─────────────────────────────────────────────────────┘
```
## Double Theory
```rust
// Signed category double theory
pub fn th_signed_category() -> DiscreteDblTheory {
let mut cat = FpCategory::new();
// Object type
cat.add_ob_generator(name("Node"));
// Morphism types (signed edges)
cat.add_mor_generator(name("Positive"), name("Node"), name("Node"));
cat.add_mor_generator(name("Negative"), name("Node"), name("Node"));
// Constraint: n ⊙ n = id (double negative = positive)
cat.add_equation(
compose(name("Negative"), name("Negative")),
identity(name("Node"))
);
cat.into()
}
```
## CatColab Implementation
### Node Declaration
```typescript
{
"type": "ObDecl",
"name": "p53",
"theory_type": "Node",
"description": "tumor suppressor protein"
}
```
### Positive Regulation (Activation)
```typescript
{
"type": "MorDecl",
"name": "activates_apoptosis",
"dom": "p53",
"cod": "Bax",
"theory_type": "Positive",
"description": "p53 promotes apoptosis via Bax"
}
```
### Negative Regulation (Inhibition)
```typescript
{
"type": "MorDecl",
"name": "inhibits_growth",
"dom": "p53",
"cod": "CyclinD",
"theory_type": "Negative",
"description": "p53 blocks cell cycle progression"
}
```
## Network Motifs
### Feedforward Loop (FFL)
```
GeneA
/ \
+ +
↓ ↓
GeneB ──+──► GeneC
Type: Coherent (all positive)
Function: Noise filtering, delay
```
### Negative Feedback Loop
```
GeneA ──+──► GeneB ──+──► GeneC
▲ │
└────────(-)─────────────┘
Function: Homeostasis, oscillation
```
### Toggle Switch (Bistability)
```
GeneA ◄──(-)──► GeneB
⇅
(-)
Function: Binary cell fate decision
```
## Practical Examples
### Example 1: p53 Tumor Suppressor Network
```
Nodes: p53, MDM2, ATM, Bax, p21
Edges:
ATM ──(+)──► p53 (DNA damage activates p53)
p53 ──(+)──► MDM2 (p53 induces its own inhibitor)
MDM2 ──(-)──► p53 (MDM2 degrades p53)
p53 ──(+)──► Bax (p53 promotes apoptosis)
p53 ──(+)──► p21 (p53 arrests cell cycle)
Motif: p53-MDM2 negative feedback loop
```
### Example 2: Lac Operon
```
Nodes: LacI, LacZ, Lactose, Glucose
Edges:
LacI ──(-)──► LacZ (repressor blocks transcription)
Lactose ──(-)──► LacI (lactose inactivates repressor)
Glucose ──(-)──► LacZ (catabolite repression)
Function: Metabolic switch for sugar utilization
```
## Analysis Capabilities
CatColab can analyze regulatory networks for:
- **Steady states**: Fixed points of the dynamics
- **Stability**: Eigenvalue analysis of Jacobian
- **Motif enrichment**: Statistical over-representation
- **Boolean dynamics**: Logical model simulation
## GF(3) Triads
```
catcolab-regulatory-networks (-1) ⊗ topos-catcolab (0) ⊗ catcolab-stock-flow (+1) = 0 ✓
crn-topology (-1) ⊗ catcolab-regulatory-networks (0) ⊗ alife (+1) = 0 ✓
```
## Commands
```bash
# Create regulatory network
just catcolab-new regulatory "p53-network"
# Analyze motifs
just catcolab-analyze p53-network --motifs
# Export to SBML
just catcolab-export p53-network --format=sbml
# Simulate Boolean dynamics
just catcolab-simulate p53-network --boolean
```
## References
- Alon (2007) "Network motifs: theory and experimental approaches"
- Karlebach & Shamir (2008) "Modelling and analysis of gene regulatory networks"
- [CatColab Regulatory Networks Help](https://catcolab.org/help/logics/regulatory)
---
**Skill Name**: catcolab-regulatory-networks
**Type**: Systems Biology / Gene Regulation
**Trit**: -1 (MINUS)
**GF(3)**: Conserved via triadic compositionRelated Skills
topos-catcolab
Topos Institute's CatColab for collaborative category theory - community model building, double theories, stock and flow epidemiology, and real-time collaborative diagramming via Automerge CRDT.
catcolab-stock-flow
CatColab Stock-and-Flow Diagrams - epidemiological and ecological modeling with stocks (accumulations), flows (rates), and mass-action ODE semantics for SIR models and population dynamics.
catcolab-schemas
CatColab Schemas - database schema modeling distinguishing entities (tables) from attributes (columns). Foundation for ACSets (Attributed C-Sets) and AlgebraicJulia data structures.
catcolab-petri-nets
CatColab Petri Nets - concurrent system modeling via places (states), transitions (events), and token flow. Foundation for process algebra, workflow, and chemical reaction networks.
catcolab-ologs
CatColab Ologs (Ontology Logs) - category-theoretic knowledge representation where objects are concepts and morphisms are functional relationships. Foundation for database schemas and conceptual modeling.
catcolab-decapodes
CatColab Decapodes - Discrete Exterior Calculus for PDE modeling on meshes via Decapodes.jl integration. Model physics equations compositionally with automatic code generation.
Oriented Simplicial Networks
**Category:** Phase 3 Core - Geometric Deep Learning
zx-calculus
Coecke's ZX-calculus for quantum circuit reasoning via string diagrams with Z-spiders (green) and X-spiders (red)
zulip-cogen
Zulip Cogen Skill 🐸⚡
zls-integration
zls-integration skill
zig
zig skill
zig-syrup-bci
Multimodal BCI pipeline in Zig: DSI-24 EEG, fNIRS mBLL, eye tracking IVT, LSL sync, EDF read/write, GF(3) conservation