Metadata-Version: 2.4
Name: biobridge
Version: 0.2.6
Summary: A library for simulating all biology related things, analyzing them and visualizing them.
Project-URL: Documentation, https://github.com/Okerew/biobridge#readme
Project-URL: Issues, https://github.com/Okerew/biobridge/issues
Project-URL: Source, https://github.com/Okerew/biobridge
Author-email: Okerew <okerewgroup@proton.me>
License-Expression: MIT
Requires-Python: >=3.8
Requires-Dist: biopython~=1.84
Requires-Dist: flask~=3.0.3
Requires-Dist: imageio~=2.35.1
Requires-Dist: matplotlib~=3.9.2
Requires-Dist: mediapipe~=0.10.15
Requires-Dist: networkx~=3.3
Requires-Dist: numpy~=1.26.4
Requires-Dist: opencv-python~=4.10.0.84
Requires-Dist: pandas~=2.2.2
Requires-Dist: pillow~=10.4.0
Requires-Dist: py3dmol~=2.3.0
Requires-Dist: pytesseract~=0.3.13
Requires-Dist: requests~=2.32.3
Requires-Dist: scikit-image~=0.24.0
Requires-Dist: scikit-learn~=1.5.1
Requires-Dist: scipy~=1.14.1
Requires-Dist: torch~=2.8.0
Description-Content-Type: text/markdown

# biobridge

<a href="https://youtu.be/v-sujCAOxCQ">
<img src="biobridge.png" alt="Biobridge Logo">
</a>

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

```sh
pip install biobridge
```

## Usage

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

``` python
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:

```python
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.
