cellsium

CellSium – Cell Simulator for microfluidic microcolonies

https://github.com/modsim/cellsium

Science Score: 75.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
    Organization modsim has institutional domain (www.fz-juelich.de)
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.5%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

CellSium – Cell Simulator for microfluidic microcolonies

Basic Info
  • Host: GitHub
  • Owner: modsim
  • License: bsd-2-clause
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 6.14 MB
Statistics
  • Stars: 3
  • Watchers: 8
  • Forks: 3
  • Open Issues: 0
  • Releases: 2
Created over 7 years ago · Last pushed almost 3 years ago
Metadata Files
Readme License Citation

README.rst

.. If you read this on hub.docker.com, maybe visit the github page https://github.com/modsim/cellsium

CellSium Readme
===============

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

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

.. image:: https://github.com/modsim/CellSium/actions/workflows/python-test.yml/badge.svg
   :target: https://github.com/modsim/CellSium/actions/workflows/python-test.yml

.. image:: https://codecov.io/gh/modsim/CellSium/branch/main/graph/badge.svg?token=L36RQXYBW7
    :target: https://codecov.io/gh/modsim/CellSium

.. image:: https://img.shields.io/badge/Docker-image-green?logo=docker
   :target: https://github.com/modsim/CellSium/pkgs/container/cellsium

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

CellSium - *Cell* *Si*\ mulator for *micro*\ fluidic *m*\ icrocolonies

.. figure:: https://raw.githubusercontent.com/modsim/CellSium/animation/output.gif
    :align: center

    CellSium example simulation result


Front Matter
------------

CellSium is a cell simulator developed for the primary application of generating realistically looking images of bacterial microcolonies, which may serve as ground truth for machine learning training processes.

Publication
###########

If you use CellSium within scientific research, we ask you to cite our publication:

    Sachs CC, Ruzaeva K, Seiffarth J, Wiechert W, Berkels B, Nöh K (2022)
    CellSium: versatile cell simulator for microcolony ground truth generation
    Bioinformatics Advances, Volume 2, Issue 1, 2022, vbac053, doi: 10.1093/bioadv/vbac053

It is available on the *Bioinformatics Advances* homepage at `DOI: 10.1093/bioadv/vbac053 `.

Documentation
#############

The documentation to CellSium can be built using `Sphinx `_, or be found readily built at `Read the Docs `_.

License
#######

CellSium is available under the BSD license (see LICENSE.rst / license section).

Installation
------------

Installation using pip
######################

CellSium can be installed via pip, ideally create and activate an environment beforehand to install CellSium in.

.. code-block:: bash

    > python -m pip install cellsium

Installation using conda
########################

CellSium is available in the modsim Anaconda channel as well, using packages from the conda-forge channel. It can be
installed with the following commands:

.. code-block:: bash

    > conda install -c modsim -c conda-forge -y cellsium

Usage
-----

Once installed, run CellSium via :code:`python -m cellsium`, specifying the desired entrypoint and options, such as outputs.
CellSium is built modular, various output modules can be activated simultaneously. To get an overview of the available options,
use the :code:`--help` switch. Furthermore, the main mode of setting tunable parameters are so called *tunables*, which can
be set from the command line using the :code:`-t` switches. A list of tunables can be shown using the :code:`--tunables-show` argument.

.. code-block:: bash

    > python -m cellsium --help
    usage: __main__.py [-v] [-q] [-c CELL] [-p] [-w] [-o OUTPUT] [-h] [-m MODULE]
                   [--Output {COCOOutput,CsvOutput,FluorescenceRenderer,GenericMaskOutput,JsonPickleSerializer,MeshOutput,NoisyUnevenIlluminationPhaseContrast,PhaseContrastRenderer,PlainRenderer,PlotRenderer,QuickAndDirtyTableDumper,SvgRenderer,TiffOutput,TrackMateXML,UnevenIlluminationPhaseContrast,YOLOOutput}]
                   [--PlacementSimulation {Box2D,Chipmunk,NoPlacement}] [-t TUNABLE] [--tunables-show] [--tunables-load TUNABLES_LOAD] [--tunables-save TUNABLES_SAVE]

    optional arguments:
      -h, --help            show this help message and exit
      -o OUTPUT, --output-file OUTPUT
      -w, --overwrite
      -p, --prefix
      -c CELL, --cell CELL
      -q, --quiet
      -v, --verbose
      -m MODULE, --module MODULE
      --Output {COCOOutput,CsvOutput,FluorescenceRenderer,GenericMaskOutput,JsonPickleSerializer,MeshOutput,NoisyUnevenIlluminationPhaseContrast,PhaseContrastRenderer,PlainRenderer,PlotRenderer,QuickAndDirtyTableDumper,SvgRenderer,TiffOutput,TrackMateXML,UnevenIlluminationPhaseContrast,YOLOOutput}
      --PlacementSimulation {Box2D,Chipmunk,NoPlacement}
      -t TUNABLE, --tunable TUNABLE
      --tunables-show
      --tunables-load TUNABLES_LOAD
      --tunables-save TUNABLES_SAVE


You can for example run a default simulation by just starting CellSium, the results will be shown interactively using matplotlib:

.. code-block:: bash

    > python -m cellsium

For more in-depth usage examples, please see the examples section of the documentation.

Docker
------

An alternative to installing CellSium locally is running it via Docker. To run CellSium without interactive (GUI) elements, the following Docker command can be used, with parameters to CellSium being appended.

.. code-block:: bash

    > docker run --tty --interactive --rm --volume `pwd`:/data --user `id -u` ghcr.io/modsim/cellsium

To use interactive (GUI) elements such as the :code:`PlotRenderer`, an X server must be reachable; under Linux the following command can be used:

.. code-block:: bash

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

Owner

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

Modeling & Simulation group at IBG-1

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Sachs
    given-names: Christian Carsten
    orcid: https://orcid.org/0000-0001-8848-5775

  - family-names: Ruzaeva
    given-names: Karina
    orcid: https://orcid.org/0000-0003-3610-0989

  - family-names: Seiffarth
    given-names: Johannes
    orcid: https://orcid.org/0000-0002-2087-9847

  - family-names: Wiechert
    given-names: Wolfgang
    orcid: https://orcid.org/0000-0001-8501-0694

  - family-names: Berkels
    given-names: Benjamin
    orcid: https://orcid.org/0000-0002-6969-187X

  - family-names: Nöh
    given-names: Katharina
    orcid: https://orcid.org/0000-0002-5407-2275
version: 1.0.0
title: "CellSium"
doi: 10.5281/zenodo.6193033

preferred-citation:
  title: "CellSium: versatile cell simulator for microcolony ground truth generation"
  type: article
  journal: Bioinformatics Advances
  month: 8
  year: 2022
  doi: 10.1093/bioadv/vbac053
  volume: 2
  issue: 1
  authors:
    - family-names: Sachs
      given-names: Christian Carsten
      orcid: https://orcid.org/0000-0001-8848-5775
  
    - family-names: Ruzaeva
      given-names: Karina
      orcid: https://orcid.org/0000-0003-3610-0989
  
    - family-names: Seiffarth
      given-names: Johannes
      orcid: https://orcid.org/0000-0002-2087-9847
  
    - family-names: Wiechert
      given-names: Wolfgang
      orcid: https://orcid.org/0000-0001-8501-0694
  
    - family-names: Berkels
      given-names: Benjamin
      orcid: https://orcid.org/0000-0002-6969-187X
  
    - family-names: Nöh
      given-names: Katharina
      orcid: https://orcid.org/0000-0002-5407-2275

GitHub Events

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

Committers

Last synced: almost 3 years ago

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

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 1
  • Total pull requests: 2
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 20 minutes
  • Total issue authors: 1
  • Total pull request authors: 2
  • Average comments per issue: 2.0
  • 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
  • StephanAllgeier (1)
Pull Request Authors
  • csachs (1)
  • JojoDevel (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 20 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
  • Total maintainers: 1
pypi.org: cellsium

CellSium – Cell Simulator for microfluidic microcolonies

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 20 Last month
Rankings
Dependent packages count: 10.1%
Forks count: 19.1%
Average: 38.4%
Stargazers count: 38.8%
Downloads: 56.9%
Dependent repos count: 67.1%
Maintainers (1)
Last synced: 6 months ago

Dependencies

.github/workflows/docker.yml actions
  • actions/checkout v2 composite
.github/workflows/python-package.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • actions/upload-artifact v2 composite
  • pypa/gh-action-pypi-publish v1.5.1 composite
.github/workflows/python-test.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
  • codecov/codecov-action v2 composite
Dockerfile docker
  • ubuntu 20.04 build
docs/requirements.txt pypi
  • box2d *
  • ezdxf *
  • ipython *
  • jsonpickle *
  • matplotlib *
  • numpy >=1.17
  • numpy-stl *
  • opencv-python *
  • pymunk *
  • roifile *
  • scipy *
  • tifffile *
  • tqdm *
  • tunable *
pyproject.toml pypi
  • box2d *
  • ezdxf *
  • jsonpickle *
  • matplotlib *
  • numpy >=1.17
  • numpy-stl *
  • opencv-python *
  • pymunk *
  • roifile *
  • scipy *
  • tifffile *
  • tqdm *
  • tunable *