biobridge
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.
Metadata
Release files for biobridge 0.2.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| biobridge-0.2.7.tar.gz | 25.6 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| biobridge-0.2.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.9 MB
Release files / biobridge-0.2.7.tar.gz
| Download URL | biobridge-0.2.7.tar.gz |
|---|---|
| Size | 25.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07c6fa96cc0747f2394b9666ede43ccda3650d3d57010dc6f7748b36aa24cd38
|
|
BLAKE2b-256 checksum How to use checksums |
023cbda3f2b30605f39f46fbea5fac48d4bff91906a275909ebdf1fbb5b3c0be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|
Release files / biobridge-0.2.7-py3-none-any.whl
| Download URL | biobridge-0.2.7-py3-none-any.whl |
|---|---|
| Size | 283.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48bdbfcd779bb8b56ac7f428fd7f80567f527281b68564558f5b0d0a1a349b51
|
|
BLAKE2b-256 checksum How to use checksums |
90c6e16a64eb24d5250a873ae9264117e7e9d3ea4509d34e51f70a6990fe92ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.13
|