A library for simulating all biology related things, analyzing them and visualizing them.
Project description
Biobridge
Showcase:
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file biobridge-0.2.2.tar.gz.
File metadata
- Download URL: biobridge-0.2.2.tar.gz
- Upload date:
- Size: 5.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44137c83cf01bd71f3907a96fd99980313d5af33001641dd3ad852183cb253bd
|
|
| MD5 |
0c90ce65448f4671191b140c94d4db91
|
|
| BLAKE2b-256 |
1fdef549dc4ec1b1a1ba1aca845c2e5fa43020b3acfef4c0bc7a4648425ff808
|
File details
Details for the file biobridge-0.2.2-py3-none-any.whl.
File metadata
- Download URL: biobridge-0.2.2-py3-none-any.whl
- Upload date:
- Size: 317.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91c47a41b854d805e68cd52467d575e92035222f14a04616591e3910188df9c0
|
|
| MD5 |
0c12729aee3ce73ccd325d9cb100c550
|
|
| BLAKE2b-256 |
440f6019bd5410dead902a70c988aa63c143f032ef9f0437ce69905440d718ed
|