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.

For an overview of the package and its aim, please refer to the paper or the documentation.

Installation

You can install morsaik from PyPI

pip install morsaik

Alternatively, clone the repository from source, 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.1.tar.gz (84.0 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.1-py3-none-any.whl (199.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: morsaik-0.1.1.tar.gz
  • Upload date:
  • Size: 84.0 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.1.tar.gz
Algorithm Hash digest
SHA256 81bf79462149037cd53ad70704f877b56cd139e45eee7a7d91a138e1f064a523
MD5 b9682ed32d48c69a8fa0f64ea53f9aba
BLAKE2b-256 b612b9c0dd830841c85d076bf187c3801b15d347a2eda4f6db5e241765e3a36e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: morsaik-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 199.8 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09653dc11799f7233e3b1756f489c940a4b1427ab50374c20a2dbc0364f3cf7c
MD5 5db1df491d06f92f0d9fc0ad82cffe83
BLAKE2b-256 d88841ddfad32a45faf438c83b6b8dadd29f8fa50c6b6649ae7740ca4dbcf3c5

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