Git Product home page Git Product logo

proteinsynthesis's Introduction

Protein Synthesis in Eukaryotic Cells ๐Ÿงฌ๐Ÿงซ

This repository contains the code for a project aimed at modeling protein synthesis in eukaryotic cells as a discrete-time process.

Modeling

The process is simulated using SimPy framework, with customized classes tailored to the specific requirements.

The process is modeled by the EukaryoticCell class, which coordinates transcription and translation through its components: the Nucleus class handles transcription, while the Ribosome class manages translation.

The throughput of DNA sequences processed concurrently during protein synthesis is regulated by the Resource object. Transcription relies on the availability of RNA_polymerase as a critical resource, while translation demands ribosomes and RNA_transfer molecules with the appropriate anticodons. Additionally, Nucleotides are crucial resources present throughout the process.

All resources have been integrated into the simulation framework through extensions of SimPy's resource or container classes.

For a visual representation of the Protein Synthesis Process modeling, refer to the diagram provided in the sources folder.

Experiments

To test the model, experiments were conducted and are detailed in the following notebooks:

  1. 12h_simulation.ipynb: This notebook presents a 12-hour simulation of protein synthesis aimed at testing the model and examining the resulting outcomes. Available here.
  2. comparative_analysis.ipynb: This notebook contains a comparative analysis of models utilizing different resources. The objective of these experiments is to evaluate how the model's performance, in terms of the number of synthesized proteins and execution times, varies with the number of available resources. Available here.

Dataset

To conduct the experiments, a dataset containing sequences from the human genome was utilized. The dataset was obtained from the RefSeqGene section of the Reference Sequence Database for the Homo sapiens gene from the RefSeq Database.

For more detailed information and access to the dataset, please refer to the repository where it is stored.

Repository structure (main elements)

ProteinSynthesis/
โ”‚
โ”œโ”€โ”€โ”€ HumanGenomeDataset/                 # Repository contains a dataset loaded from the RefSeq Database
โ”‚
โ”œโ”€โ”€โ”€ data/                               # Data files used in simulations and experiments' parameters
โ”‚    โ”œโ”€โ”€โ”€ codons.json
โ”‚    โ”œโ”€โ”€โ”€ parameters_ribosome.json
โ”‚    โ”œโ”€โ”€โ”€ parameters_rna_polymerases.json
โ”‚    โ””โ”€โ”€โ”€ peptides.json
โ”‚
โ”œโ”€โ”€โ”€ experiments/
โ”‚    โ”œโ”€โ”€โ”€ 12h_simulation.ipynb           # 12-hour simulation of protein synthesis
โ”‚    โ””โ”€โ”€โ”€ comparative_analysis.ipynb     # Comparative analysis of models utilizing different resources
โ”‚
โ”œโ”€โ”€โ”€ src/                                # Source code files
โ”‚    โ”œโ”€โ”€โ”€ process/
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ protein_synthesis.py      # EukarioticCell class, simulates the protein synthesis
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ transcription.py          # Nucleus class, simulates the transcription process
โ”‚    โ”‚    โ””โ”€โ”€โ”€ translation.py            # Ribosome class, simulates the translation process
โ”‚    โ”‚
โ”‚    โ”œโ”€โ”€โ”€ resources/
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ container.py              # EukaryoticCellContainer class
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ nucleotides.py            # Nucleotides class
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ resource.py               # EukaryoticCellResource class
โ”‚    โ”‚    โ””โ”€โ”€โ”€ transfer_mrna.py          # TransferRNA class
โ”‚    โ”‚
โ”‚    โ”œโ”€โ”€โ”€ utils/
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ plot_utils.py             # Function to visualize simulations' results
โ”‚    โ”‚    โ””โ”€โ”€โ”€ utils.py                  # Utility function
โ”‚    โ”‚
โ”‚    โ”œโ”€โ”€โ”€ variables/
โ”‚    โ”‚    โ”œโ”€โ”€โ”€ nucleotide_allocations.py
โ”‚    โ”‚    โ””โ”€โ”€โ”€ variables.py              # Class to store the variables of the simulation
โ”‚    โ”‚
โ”‚    โ””โ”€โ”€โ”€ simulation.py                  # Class to simulate the protein synthesis process
โ”‚
โ””โ”€โ”€โ”€ main.py                             # Main script to run experiments

proteinsynthesis's People

Contributors

giuliaghisolfi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.