Skip to content

Biobridge is a Python library for simulating biological processes and systems also analyzing them, visualising them, and interacting with them.

License

Notifications You must be signed in to change notification settings

Okerew/biobridge

Repository files navigation

Biobridge Logo biobridge

Watch the demo

Biobridge is a Python library for simulating biological processes and systems also analyzing them, visualising them, and interacting with them.

Installation

Firstly you need to install pyrosetta

Then install biobridge

pip install biobridge

Usage

To use Biobridge in your project, import it for example:

from biobridge import *
# Create two proteins
protein1 = Protein("Protein A", "ACDEFGHIKLMNPQRSTVWY")
protein2 = Protein("Protein B", "YVWTSRQPNMLKIHGFEDCA")

# Define bindings for the proteins
protein1.add_binding("Site 1", "High")
protein2.add_binding("Site 3", "Medium")

# Create a cell with specific properties
cell1 = Cell(
    name="Cell X",
    cell_type="Epithelial Cell",
)

organelle = Mitochondrion(0.5, 100)

# Add organelles to the cell
cell1.add_organelle(organelle, quantity=10)
cell1.add_organelle(Organelle("Nucleus", 1), quantity=1)
cell1.add_organelle(Organelle("Ribosome", 100), quantity=100)
cell1.add_chromosome(Chromosome(DNA("ATCG" * 1000), "Chromosome 1"))

# Print cell details
print("Cell X Description:")
print(cell1)

The notable functions are:

from biobridge import *

Cell()
DNA()
RNA()
Protein()
Chromosome()
Environment()
Tissue()
System()
ImageAnalyzer()
Orchestrator()
Virus()
Infection()
SQLDNAEncoder()
SurgicalSimulator()

To see more examples how to use biobridge see the test files, biobridge works well with jupyter notebooks.

DO NOT USE THIS SOFTWARE FOR MEDICAL ANALYSIS OR ANY DIAGNOSIS, FOR THAT CONTACT A LICENSED MEDICAL EXPERT.

About

Biobridge is a Python library for simulating biological processes and systems also analyzing them, visualising them, and interacting with them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published