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.3.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.3-py3-none-any.whl (201.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: morsaik-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 66555e06b71000b2ccaf9b922f7e3f6235334ab80825b034e608b8024eac5b74
MD5 8ab00c7b02f4c6be7ea023ce84c49b2c
BLAKE2b-256 c9e90535b3c11e609a944ba397eaaf5a85020db72dbe0107d136d19dc1fa0828

See more details on using hashes here.

File details

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

File metadata

  • Download URL: morsaik-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7ee6a6639feda062d475ad40ecd0fa6d28189bb7b9b3d6b4713684d0a941d729
MD5 4a99004fbfc196ebece43fd242956903
BLAKE2b-256 b9e96b93bb3c794e544eb4307f278fcb90b4f81af2a0e4e0cfdaf44b6d7ef5d4

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