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

Uploaded Python 3

File details

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

File metadata

  • Download URL: morsaik-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 20e0544c194ed3bdcdc306b55a4b9393122d3aaf94df8c84f51dcf4bcf05f948
MD5 53bc41406ed8408e709f2cec6ba24ab1
BLAKE2b-256 7e7fd5eae251af4e21b4ad8036f1f9e664820e30373689128733e5bfb02e9d7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: morsaik-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6586e087042249bfd5f26fd9ecf3bdeaed4734a653ce0da4992d9023a0c37c92
MD5 49cc2e87ec35f9a51eab82f31e0791e9
BLAKE2b-256 3ad27575bdc255cd28d1ea9cb05199e88da2a8abf955587650d948f4f867002b

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