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.4.tar.gz (85.2 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.4-py3-none-any.whl (201.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: morsaik-0.1.4.tar.gz
  • Upload date:
  • Size: 85.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.18.5-arch1-1

File hashes

Hashes for morsaik-0.1.4.tar.gz
Algorithm Hash digest
SHA256 2c5645b924678f06d2da283ab6d04cc5812d94f1d5d9b36a3cf5523552a2b5a6
MD5 459ce139f57da3981354260c46852a5d
BLAKE2b-256 a5d6935d510b4096ecb0bc00d200204cf11110d47958a80bd3b042056792b3fc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: morsaik-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 201.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.2 Linux/6.18.5-arch1-1

File hashes

Hashes for morsaik-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5bcd5a0ce745ab9bbc750b83626741bdb7f0a881a60de9b37ef21affe2f964d3
MD5 0281ced3bdf024b2695de44adbb7020a
BLAKE2b-256 40071619efb40ff9d93c85a472e37489a4868e0009c9afec8f66ba5e62a917cd

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