molyso

molyso - Mother Machine Analysis Software

https://github.com/modsim/molyso

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 18 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.8%) to scientific vocabulary

Keywords

bioinformatics image-analysis microfluidics mother-machine python
Last synced: 6 months ago · JSON representation

Repository

molyso - Mother Machine Analysis Software

Basic Info
  • Host: GitHub
  • Owner: modsim
  • License: bsd-2-clause
  • Language: Python
  • Default Branch: main
  • Size: 4.26 MB
Statistics
  • Stars: 10
  • Watchers: 8
  • Forks: 3
  • Open Issues: 3
  • Releases: 0
Topics
bioinformatics image-analysis microfluidics mother-machine python
Created over 11 years ago · Last pushed almost 5 years ago
Metadata Files
Readme License

README.rst

.. image:: docs/_static/molyso-banner.png

molyso Readme
=============

.. image:: https://img.shields.io/pypi/v/molyso.svg
   :target: https://pypi.python.org/pypi/molyso

.. image:: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat
   :target: https://molyso.readthedocs.io/en/latest/

.. image:: https://travis-ci.org/modsim/molyso.svg?branch=master
   :target: https://travis-ci.org/modsim/molyso

.. image:: https://img.shields.io/pypi/l/molyso.svg
   :target: https://opensource.org/licenses/BSD-2-Clause

.. image:: https://img.shields.io/docker/build/modsim/molyso.svg
   :target: https://hub.docker.com/r/modsim/molyso

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.53764.svg
   :target: https://dx.doi.org/10.5281/zenodo.53764

.. image:: https://zenodo.org/badge/doi/10.1371/journal.pone.0163453.svg
   :target: https://dx.doi.org/10.1371/journal.pone.0163453
   

Publication
-----------
When using *molyso* for scientific applications, cite our publication:

    Sachs CC, Grünberger A, Helfrich S, Probst C, Wiechert W, Kohlheyer D, Nöh K (2016)
    Image-Based Single Cell Profiling:
    High-Throughput Processing of Mother Machine Experiments.
    PLoS ONE 11(9): e0163453. doi: 10.1371/journal.pone.0163453

It is available on the PLoS ONE homepage at `DOI: 10.1371/journal.pone.0163453 `_

Example Datasets
----------------
You can find example datasets (as used in the publication) deposited at zenodo `DOI: 10.5281/zenodo.53764 `_.

Documentation
-------------
Documentation can be built using sphinx, but is available online as well at `Read the Docs `_.

License
-------
*molyso* is free/libre open source software under the 2-clause BSD License. See :doc:`license`

Prerequisites
-------------
*molyso* needs Python 3, if you don't have a Python installation or are not familiar with installing packages from source, it is suggested
that you use the `Anaconda `_ Python distribution, available for Windows, Linux and macOS.

Ways to install molyso
----------------------

There are different ways to install molyso,
for ease of use it is suggested to use the Anaconda Python distribution and the conda package manager.
Alternatively, you can use molyso inside a Docker container, see the Docker_ section near the end.

With Anaconda
#############

.. code-block:: bash

    > conda config --add channels conda-forge
    > conda config --add channels modsim

    > conda install -y molyso


Alternatively, manually from github
###################################

.. code-block:: bash

    > git clone https://github.com/modsim/molyso
    > cd molyso
    > python setup.py install --user

First Steps
-----------
*molyso* is packaged as a Python module, to run it, just use:

.. code-block:: bash

    > python -m molyso

And you will be greeted by the help screen of molyso:

.. code-block:: none


         \   /\  /\  /                             -------------------------
          | | |O| | |    molyso                    Developed  2013 - 2021 by
          | | | | |O|                              Christian   C.  Sachs  at
          |O| |O| |O|    MOther    machine         ModSim / Microscale Group
          \_/ \_/ \_/    anaLYsis SOftware         Research  Center  Juelich
        --------------------------------------------------------------------
        If you use this software in a publication, cite our paper:


        Sachs CC, Grünberger A, Helfrich S, Probst C, Wiechert W, Kohlheyer D, Nöh K (2016)
        Image-Based Single Cell Profiling:
        High-Throughput Processing of Mother Machine Experiments.
        PLoS ONE 11(9): e0163453. doi: 10.1371/journal.pone.0163453

        --------------------------------------------------------------------

    usage: __main__.py [-h] [-m MODULES] [-p] [-gt GROUND_TRUTH] [-ct CACHE_TOKEN]
                       [-tp TIMEPOINTS] [-mp MULTIPOINTS] [-o TABLE_OUTPUT]
                       [-ot TRACKING_OUTPUT] [-nb] [-cpu MP] [-debug] [-do] [-nci]
                       [-cfi] [-ccb CHANNEL_BITS] [-cfb CHANNEL_FLUORESCENCE_BITS]
                       [-q] [-nc [IGNORECACHE]] [-nt] [-t TUNABLES]
                       [-s TUNABLE_LIST TUNABLE_LIST] [-pt] [-rt READ_TUNABLES]
                       [-wt WRITE_TUNABLES]
                       input

    molyso: MOther machine anaLYsis SOftware

    positional arguments:
      input                 input file

    optional arguments:
      -h, --help            show this help message and exit
      -m MODULES, --module MODULES
      -p, --process
      -gt GROUND_TRUTH, --ground-truth GROUND_TRUTH
      -ct CACHE_TOKEN, --cache-token CACHE_TOKEN
      -tp TIMEPOINTS, --timepoints TIMEPOINTS
      -mp MULTIPOINTS, --multipoints MULTIPOINTS
      -o TABLE_OUTPUT, --table-output TABLE_OUTPUT
      -ot TRACKING_OUTPUT, --output-tracking TRACKING_OUTPUT
      -nb, --no-banner
      -cpu MP, --cpus MP
      -debug, --debug
      -do, --detect-once
      -nci, --no-channel-images
      -cfi, --channel-fluorescence-images
      -ccb CHANNEL_BITS, --channel-image-channel-bits CHANNEL_BITS
      -cfb CHANNEL_FLUORESCENCE_BITS, --channel-image-fluorescence-bits CHANNEL_FLUORESCENCE_BITS
      -q, --quiet
      -nc [IGNORECACHE], --no-cache [IGNORECACHE]
      -nt, --no-tracking
      -t TUNABLES, --tunables TUNABLES
      -s TUNABLE_LIST TUNABLE_LIST, --set-tunable TUNABLE_LIST TUNABLE_LIST
      -pt, --print-tunables
      -rt READ_TUNABLES, --read-tunables READ_TUNABLES
      -wt WRITE_TUNABLES, --write-tunables WRITE_TUNABLES

    error: the following arguments are required: input


There are three modes of operation, batch processing, interactive viewer, and ground truth generation.
The most important part for routine use is batch processing, which will process a whole file or selected time/multi points and produce tabular output and/or tracking visualizations.
The interactive viewer can be used to show channel and cell detection on the given dataset, as a first step to check if the settings are applicable.
The ground truth viewer is more of a tool for verification of results, the kymograph of a preanalyzed dataset can be visualized *without* tracking, and individual cell generations can be marked manually, yielding a growth rate which can be compared to the automatic analysis.

To start the interactive viewer, just call molyso without any other parameters:

.. code-block:: bash

    > python -m molyso dataset.ome.tiff

To start batch processing, run molyso with the :code:`-p` option. Give an output file for tabular output with :code:`-o` and/or an output directory for individual tracked kymographs with :code:`-ot`.

Note: While OME-TIFF file contain calibration of time and voxel size, simple :code:`.tif` files may not,
you can tell molyso manually about the calibration by adding comma-delimited parameters after the file name (followed by a question mark):
Example:

.. code-block:: bash

    > python -m molyso "filename.tif?interval=300,calibration=0.08"


Supported are among others: the acquisition :code:`interval` (seconds), and the pixel size :code:`calibration` in um per pixel.
Some older files may have incorrectly labeled axes, since molyso expects the time axis to be correctly labeled, it might be necessary to reorder the axes, this can be done on the fly, by passing e.g. :code:`?swap_axes=Z..T`.
Don't forget to escape/quote the ? in the command line.


.. code-block:: bash

    > python -m molyso dataset.ome.tiff -p -o results.txt -ot dataset_tracking

*molyso* writes cache files in the current directory which contain temporary analysis results. If you want to re-generate tabular output *e.g.*, those files will be read in and already performed analysis steps will be skipped. They are used as well, to show the kymograph for ground truth data mode. They can be kept if you plan any of the mentioned steps, if you are finished with an analysis, they can be deleted as well.

Once *molyso* has run, you will need to post-process the data to extract the information you're interested in.
Take a look at the Jupyter/IPython Notebooks.

Docker
------

`Docker `_ is a containerization platform allowing for applications to be run with bundled dependencies without explicit
installation steps.

You can use the following commands to run molyso in lieu of the aforementioned calls, e.g. for analysis:

.. code-block:: bash

   > docker run --tty --interactive --rm --volume "`pwd`:/data" --user `id -u` modsim/molyso -p 

And to run interactive mode (display on local X11, under Linux):

.. code-block:: bash

   > docker run --tty --interactive --rm --volume "`pwd`:/data" --user `id -u` --env DISPLAY=$DISPLAY --volume /tmp/.X11-unix:/tmp/.X11-unix modsim/molyso 

Docker usage has just been tested with Linux host systems.

Third Party Licenses
--------------------
Note that this software contains the following portions from other authors, under the following licenses (all BSD-flavoured):

molyso/generic/otsu.py:
    functions threshold_otsu and histogram by the scikit-image team, licensed BSD (see file head).
        Copyright (C) 2011, the scikit-image team

Owner

  • Name: Modeling & Simulation (IBG-1)
  • Login: modsim
  • Kind: organization
  • Location: Jülich, Germany

Modeling & Simulation group at IBG-1

GitHub Events

Total
  • Watch event: 1
  • Member event: 2
Last Year
  • Watch event: 1
  • Member event: 2

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 228
  • Total Committers: 1
  • Avg Commits per committer: 228.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Christian Sachs c****s@f****e 228
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 4
  • Total pull requests: 2
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 5 minutes
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 0.75
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • csachs (4)
Pull Request Authors
  • csachs (2)
Top Labels
Issue Labels
enhancement (3) bug (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 80 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 5
  • Total versions: 7
  • Total maintainers: 1
pypi.org: molyso

MOther machine anaLYsis SOftware

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 5
  • Downloads: 80 Last month
Rankings
Dependent repos count: 6.6%
Dependent packages count: 10.1%
Average: 15.6%
Forks count: 16.8%
Stargazers count: 17.7%
Downloads: 26.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • jsonpickle *
  • matplotlib *
  • numpy *
  • pilyso-io *
  • scipy *
  • tqdm *