Skip to main content

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.

Metadata

Release files for morsaik 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for morsaik 0.1.4
File Size Uploaded Provenance Actions
morsaik-0.1.4.tar.gz 85.2 kB Without provenance Details for morsaik-0.1.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for morsaik 0.1.4
File Interpreter ABI Platform Actions
morsaik-0.1.4-py3-none-any.whl Python 3 none any Details for morsaik-0.1.4-py3-none-any.whl

Total release size: 286.3 kB

Release files / morsaik-0.1.4.tar.gz

Download URL morsaik-0.1.4.tar.gz
Size 85.2 kB
Tags Source
SHA-256 checksum
How to use checksums
2c5645b924678f06d2da283ab6d04cc5812d94f1d5d9b36a3cf5523552a2b5a6
BLAKE2b-256 checksum
How to use checksums
a5d6935d510b4096ecb0bc00d200204cf11110d47958a80bd3b042056792b3fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.14.2 Linux/6.18.5-arch1-1

Release files / morsaik-0.1.4-py3-none-any.whl

Download URL morsaik-0.1.4-py3-none-any.whl
Size 201.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5bcd5a0ce745ab9bbc750b83626741bdb7f0a881a60de9b37ef21affe2f964d3
BLAKE2b-256 checksum
How to use checksums
40071619efb40ff9d93c85a472e37489a4868e0009c9afec8f66ba5e62a917cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.14.2 Linux/6.18.5-arch1-1

Security for morsaik 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page