Skip to main content

Sequence Motif Reactor Simulation, Analysis and Inference Kit.

Project description

Welcome to the Motif Reactor Simulation, Analysis and Inference Kit (morsaik) repository.

Introduction

In order to investigate RNA reactors as candidates for the origins of life, efficient simulations are needed because the space of possible RNA sequences increases exponentially with the length of the strands, as well as the number of reactions between two strands. In addition, simulations have to be compared to experimental data for validation and parameter calibration. Here, we present the MoRSAIK python package for sqeuence motif (or k-mer) reactor simulation, analysis and inference. It enables users to simulate RNA sequence motif dynamics in the mean field approximation as well as to infer the reaction parameters from data with Bayesian methods and to analyze results by computing observables and plotting. MoRSAIK simulates an RNA reactor by following the reactions and the concentrations of all strands inside up to a certain length (of four nucleotides by default). Longer strands are followed indirectly, by tracking the concentrations of their containing sequence motifs of that maximum length.

For a more detailed introduction, please go to the demos in the ./demos directory. For an overview of the package and its aim, please refer to the paper.

Installation

For installation of morsaik, poetry is reommended. Clone this repository and install it with

git clone https://github.com/joharkit/morsaik.git
cd morsaik
poetry init
poetry install

Alternatively, clone this repository, go into the directory and install it via pip:

git clone https://github.com/joharkit/morsaik.git
cd morsaik
pip install .

Contribution

You are very welcome to contribute to this package. Please open an issue and send a PR with your changes. Please remember to upgrade the docs and the manual if needed and adjust the test pipeline, adding new tests eventually. In case of any questions, please contact me.

Tests

All important functions are tested with tests in the test directory. The .gitlab-ci.yml performs all tests automatically.

If you want to run the tests locally, please make sure, everything is installed and just run

pytest

or, if you use poetry run

poetry run pytest

This will start all tests. Since those are quite a lot, please ensure, you have enough computational resources. Else, just specify the test you want to run as an argument directly after the pytest command.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

morsaik-0.1.0.tar.gz (83.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

morsaik-0.1.0-py3-none-any.whl (108.3 kB view details)

Uploaded Python 3

File details

Details for the file morsaik-0.1.0.tar.gz.

File metadata

  • Download URL: morsaik-0.1.0.tar.gz
  • Upload date:
  • Size: 83.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.7 Linux/6.16.7-arch1-1

File hashes

Hashes for morsaik-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f7543c2ddb37dba411a51ad7106d15d86979dfe24929e182aba0d3675c9debb9
MD5 0934c606d9f42465cd394fe0c2f5768e
BLAKE2b-256 5c331d9494e899a764ff81edf5d25f143b1b4092abfd906d8bfbd8d7b5514ea8

See more details on using hashes here.

File details

Details for the file morsaik-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: morsaik-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 108.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.13.7 Linux/6.16.7-arch1-1

File hashes

Hashes for morsaik-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e4e4869474a1418dae94f85e868508370915da19cd31da293b28ecdb4ac5372
MD5 72bbbdab6a9014264c65d48bf6207489
BLAKE2b-256 44d55c16903d0da33fe83fe41d41e53aa4b625b57d5beb217e03689f3e1fd1cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page