Tyssue
Tyssue: an epithelium simulation library - Published in JOSS (2021)
Science Score: 95.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 32 DOI reference(s) in README and JOSS metadata -
✓Academic publication links
Links to: joss.theoj.org, zenodo.org -
✓Committers with academic emails
2 of 14 committers (14.3%) from academic institutions -
○Institutional organization owner
-
✓JOSS paper metadata
Published in Journal of Open Source Software
Keywords
Scientific Fields
Repository
An epithelium simulation library
Basic Info
Statistics
- Stars: 62
- Watchers: 8
- Forks: 24
- Open Issues: 17
- Releases: 34
Topics
Metadata Files
README.md
tyssue : An epithelium simulation library
[ANN] Working on a 1.0 release
Dear tyssue user or prospective user, I come with good bearings.
This commit to the **new default branch main is the official start of the 1.0 release. It is long overdue and there is a lot of house keeping.
Short term
- [X] fix CI w/ github actions
- [ ] Readthedocs with mkdoc
- [x] Tests
- [x] Notebook tests
- [x] Merge PRs #263 #274
- [x] Tests
- [ ] Check Polarization notebooks

| Name | Downloads | Version | Platforms |
| --- | --- | --- | --- |
| |
|
|
|
| Coverage | Doc | CHAT |
| --- | --- | --- |
| |
|
|
tyssue is now published in the Journal of Open Source Software!
| ZENODO DOI | JOSS DOI |
| --- | --- |
| |
|
The tyssue library seeks to provide a unified interface to implement
biomechanical models of living tissues.
It's main focus is on vertex based epithelium models.
Overview
What kind of Models does it implement?
The first model implemented is the one described in Monier et al.1. It is an example of a vertex model, where the interactions are only evaluated on the apical surface sheet of the epithelium. The second class of models is still at a stage. They implement a description of the tissue's rheology, within a dissipation function formalism.

What kind of geometry does it model ?
tyssue allows to model different geometries in 2D and in 3D. Presentation of the different geometries and how to create them are shown in this notebook.
General Structure of the modeling API
Design principles
Each biological question, be it in morphogenesis or cancer studies is unique, and requires tweeking of the models developed by the physicists. Most of the modelling software follow an architecture based on a core C++ engine with a combinaison of markup or scripting capacities to run specific simulation.
In tyssue, we rather try to expose an API that simplifies the
building of tissue models and running simulations, while keeping the
possibilities as open as possible.
Separate structure, geometry and models
We seek to have a design as modular as possible, to allow the same epithelium mesh to be fed to different physical models.
Accessible, easy to use data structures
The core of the tyssue library rests on two structures: a set of
pandas DataFrame holding the tissue geometry and associated data,
and nested dictionaries holding the model parameters, variables and
default values.

The API thus defines an Epithelium class. An instance of this class
is a container for the datasets and the specifications, and implements
methods to manipulate indexing of the dataframes to ease calculations.
The mesh structure is heavily inspired by CGAL Linear Cell Complexes, most importantly, in the case of a 2D vertex sheet for example, each junction edge between the cells is "splited" between two oriented half edges.
Creating an Epithelium
```python
Core object
from tyssue import Sheet
Simple 2D geometry
from tyssue import PlanarGeometry
Visualisation (matplotlib based)
from tyssue.draw import sheet_view
sheet = Sheet.planarsheet2d('basic2D', nx=6, ny=7, distx=1, disty=1) PlanarGeometry.updateall(sheet) sheet.sanitize() fig, ax = sheetview(sheet) ```
Documentation
- The documentation is now browsable on tyssue.io
- The old documentation is still browsable online here
- Introduction notebooks are available here.
Quick view with Colab
To quickly try out and get an intution on how tyssue works, a jupyter notebook has been developed in Google Colab. Google Colab is an on-line jupyter notebook that requires no setup and is free to use. To use it, simply sign in with your Google account and run all of the cells. Feel free to try different geometries, topologies, and mechanical properties that you can set within the Google Colab environment.
Visualisation
Thanks to @kephale, there is a napari plugin to visualise tyssue simulation output. You can find it here.
What's new in 1.0 ?
- No collision in 2D (use effector
Repulsion) - Add new geometry : 2D lateral geometry
- Add mean calculation in
Epithelium - Add
sheetconversion tomeshfromMeshio - Allow hole in 2D sheet
- Fix some visualisation
Roadmap
You are welcome to participate in the development of Tyssue.
What is planned for the future of Tyssue?
* Solve collision in 2.5D & 3D
* Use ZARR instead of HDF5 as base file format
* Upgrade geometry creation
* Compound geometry to form complex shape
* Use biological image as blueprint
* Add rheology model
* Switch to github-action for continuous integration
Mailing list:
tyssue@framaliste.org - https://framalistes.org/sympa/info/tyssue
Subscribe ➙ https://framalistes.org/sympa/subscribe/tyssue Unsubscribe ➙ https://framalistes.org/sympa/sigrequest/tyssue
Authors
- Bertrand Caré - @bcare
- Cyprien Gay - @cypriengay
- Guillaume Gay (maintainer) - @glyg
- Hadrien Mary - @hadim
- François Molino
- Magali Suzanne
- Sophie Theis - @sophietheis
Dependencies
As all the dependencies are already completely supported in
python 3.x, we won't be maintaining a python 2.x version, because
it's time to move on...
Show dependencies
Core
- CGAL > 4.7
- Python >= 3.6
- numpy
- scipy
- matplotlib
- pandas
- pytables
- jupyter
- notebook
- quantities
- ipywidgets
- pythreejs
- ipyvolume
- vispy
Tests
- pytest
- coverage
- pytest-cov
Install
You can install the library with the conda package manager
bash
conda install -c conda-forge tyssue
Through PyPi
You can also install tyssue from PyPi, this is a CGAL-less version (pure python), lacking some features:
python -m pip install --user --upgrade tyssue
From source
See INSTALL.md for a step by step install, including the necessary python environment.
How to cite
If you find tyssue useful please cite this repository using its DOI as follows:
Theis, Suzanne, Gay, (2021). Tyssue: an epithelium simulation library. Journal of Open Source Software, 6(62), 2973 doi:https://doi.org/10.21105/joss.02973
Zenodo doi:10.5281/zenodo.4817609
Publications
If tyssue has made a substantial contribution to your work, please edit this file and open a PR.
Lou Y, Rupprecht JF, Theis S, Hiraiwa T, and Saunders TE. Curvature-induced cell rearrangements in biological tissues. Phys. Rev. Lett. 2023. doi: 10.1103/PhysRevLett.130.108401
Rahman T, Peters F and Wan LQ. Cell Jamming Regulates Epithelial Chiral Morphogenesis. J Biomech. 2023. doi: 10.1016/j.jbiomech.2023.111435
Fiorentino J and Scialdone A. The role of cell geometry and cell-cell communication in gradient sensing. PLoS Comput Biol. 2022 doi: 10.1371/journal.pcbi.1009552 Related repository: https://github.com/ScialdoneLab/2DLEGI
Courcoubetis G, Xu C, Nuzhdin SV, Haas S. Avalanches during epithelial tissue growth; Uniform Growth and a drosophila eye disc model, PLoS Comput Biol 2022 doi: 10.1371/journal.pcbi.1009952
Martin E, Theis S, Gay G, Monier B, Rouvière C, Suzanne M. Arp2/3-dependent mechanical control of morphogenetic robustness in an inherently challenging environment. Dev Cell. 2021 doi: 10.1016/j.devcel.2021.01.005 Related repository: https://github.com/suzannelab/polarity
Gracia M, Theis S, Proag A, Gay G, Benassayag C, Suzanne M. Mechanical impact of epithelial-mesenchymal transition on epithelial morphogenesis in Drosophila. Nat Commun. 2019 doi: 10.1038/s41467-019-10720-0 Related repository: https://github.com/suzannelab/invagination
Monier B, Gettings M, Gay G, Mangeat T, Schott S, Guarner A, Suzanne M. Apico-basal forces exerted by apoptotic cells drive epithelium folding. Nature. 2015 doi: 10.1038/nature14152 Related repository: https://github.com/glyg/leg-joint
Licence
Since version 0.3, this project is distributed under the terms of the General Public Licence.
Versions 2.4 and earlier were distributed under the Mozilla Public Licence.
If GPL licencing is too restrictive for your intended usage, please contact the maintainer.
Research notice
Please note that this repository is participating in a study into sustainability of open source projects. Data will be gathered about this repository for approximately the next 12 months, starting from June 2021.
Data collected will include number of contributors, number of PRs, time taken to close/merge these PRs, and issues closed.
For more information, please visit our informational page or download our participant information sheet.
1 : Monier B, Gettings M, Gay G, Mangeat T, Schott S, Guarner A, Suzanne M. Apico-basal forces exerted by apoptotic cells drive epithelium folding. Nature. 2015 doi: 10.1038/nature14152 ↩
Owner
- Name: Data Analysis and Modelling in Computational Biology
- Login: DamCB
- Kind: organization
- Email: contact@morphogenie.fr
- Location: Marseille, France
- Website: http://morphogenie.fr
- Repositories: 3
- Profile: https://github.com/DamCB
Morphogenie Logiciels is a free software edition company working on biology
JOSS Publication
Tyssue: an epithelium simulation library
Authors
Morphogénie Logiciels, 32110 St Martin d’Armagnac, France., LBCMCP, Centre de Biologie Intégrative (CBI), Université de Toulouse, CNRS, UPS, Toulouse 31062, France.
Tags
Developmental biology EpitheliumGitHub Events
Total
- Issues event: 3
- Watch event: 6
- Issue comment event: 7
- Pull request event: 9
- Fork event: 5
Last Year
- Issues event: 3
- Watch event: 6
- Issue comment event: 7
- Pull request event: 9
- Fork event: 5
Committers
Last synced: 5 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Guillaume Gay | g****e@d****m | 641 |
| Sophie THEIS | s****3@g****m | 119 |
| Guillaume Gay | g****e@m****g | 34 |
| Bertrand Caré | b****e@g****m | 19 |
| Hadrien Mary | h****y@g****m | 13 |
| Pablo Vicente Munuera | p****a@u****k | 4 |
| btbest | 6****t | 3 |
| George C | 5****u | 3 |
| sniffo | t****n@g****m | 1 |
| kc lee | e****7@g****m | 1 |
| felixquinton | f****n@u****r | 1 |
| Yo Yehudi | y****h@g****m | 1 |
| The Gitter Badger | b****r@g****m | 1 |
| Pierre de Buyl | p****l@p****e | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 4 months ago
All Time
- Total issues: 71
- Total pull requests: 67
- Average time to close issues: 11 months
- Average time to close pull requests: 22 days
- Total issue authors: 12
- Total pull request authors: 9
- Average comments per issue: 3.49
- Average comments per pull request: 1.63
- Merged pull requests: 53
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 1
- Pull requests: 8
- Average time to close issues: N/A
- Average time to close pull requests: 3 days
- Issue authors: 1
- Pull request authors: 4
- Average comments per issue: 3.0
- Average comments per pull request: 0.63
- Merged pull requests: 2
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- glyg (22)
- sniffo (18)
- sophietheis (13)
- Lepinja666 (6)
- btbest (4)
- kephale (2)
- jonathan-f (1)
- vlachina (1)
- gcourcou (1)
- EptmSIM (1)
- BenitoJG (1)
- Pablo1990 (1)
Pull Request Authors
- glyg (33)
- sophietheis (15)
- sniffo (7)
- btbest (3)
- gcourcou (3)
- Pablo1990 (2)
- yochannah (1)
- pdebuyl (1)
- PinkGenji (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
- Total downloads: unknown
- Total dependent packages: 0
- Total dependent repositories: 1
- Total versions: 24
conda-forge.org: tyssue
tyssue provides data structures and algorithms to model epithelium in 2D and 3D for python 3.6+
- Homepage: https://github.com/DamCB/tyssue
- License: GPL-3.0-or-later
-
Latest release: 0.9.0
published over 4 years ago
Rankings
Dependencies
- ipykernel *
- ipyvolume *
- matplotlib *
- nbsphinx *
- numpy *
- pandas *
- quantities *
- scipy *
- sphinx >=1.4
- tables *
- ipyvolume *
- ipywidgets *
- jupyter *
- matplotlib *
- meshio *
- notebook *
- numpy *
- pandas >=0.24
- pytables *
- pythreejs *
- quantities *
- scipy *
- actions/checkout v3 composite
- conda-incubator/setup-miniconda v2 composite
- boost-cpp
- cgal
- cmake
- gmp
- ipython
- ipython_genutils
- ipyvolume
- ipywidgets
- jupyter
- matplotlib
- meshio
- mpfr
- notebook
- numpy
- pandas
- pip
- pybind11
- pytables
- python >=3.6
- pythreejs
- quantities
- scipy
- vispy
- xarray
- zarr