DOI: 10.48436/v9698-s0r65
title: Supporting information for Enhanced Cell Wall Mechanics in VirtualLeaf Enable Realistic Simulations of Plant Tissue Dynamics

description: Files

This dataset contains supporting information for the manuscript "Enhanced Cell Wall Mechanics in VirtualLeaf Enable Realistic Simulations of Plant Tissue Dynamics" (10.1101/2024.08.01.605200):



The source code used for the manuscript snapshot from https://github.com/rmerks/VirtualLeaf2021/releases/tag/Enhanced_Cell_Wall_Mechanics_in_VirtualLeaf_2024_v1.0

virtualleaf.zip the complete dataset to create the videos and compatibility data described in the manuscript

the three videos mentions in the Supporting information of the manuscript.


Abstract

Computational modelling has become increasingly important in advancing our understanding of biological systems, necessitating the development of new computational approaches and software. VirtualLeaf, in particular, is a modelling framework for plant tissues that accounts for the biophysical mechanics of plant cell interactions. The plant cell wall plays a pivotal role in plant development and survival, with younger cells generally having thinner, more flexible (primary) walls than older cells. Signalling processes in growth and pathogen infection also affect cell wall stability. This article presents an updated version of VirtualLeaf with improved cell wall mechanics and morphing behaviour. These are crucial for ultimately understanding plant tissue dynamics and essential signalling processes during growth, tissue formation and pathogen defence. The updated version of VirtualLeaf enables detailed modelling of variations in cell wall stability to the level of individual cell wall elements. These improvements lay the groundwork for using VirtualLeaf to address new research questions, including the structural implications of pathogen infection and growth.

Python script instructions

This updated release of VirtualLeaf includes a Python script that allows for a more straightforward translation of plant tissues to simulation templates called leaves in VirtualLeaf. However, these templates are versatile and can be applied to various plant structures beyond leaves. Step-by-step instructions for the generation of the scalable vector graphics (SVG) files for the script are provided in the manuscript.

Prerequisites

For the script to function properly, it is imperative that both Python 3.10 (Van Rossum and Drake Jr, 1995) and Inkscape (Harrington, 2004-2005) are available on the machine. Additionally, the script requires the python packages shapely (1.8.0) and sympy (1.9) to function properly.





Running the script

The script facilitates the customisation of multiple parameters, including the designation and directory of the template file, which outlines the overarching structure and general parameters for the XML file alongside the desired filename for the resulting XML document. Additionally, users can specify a scaling factor to appropriately map x and y coordinates to the cellular scale and a colour map for encoding cell types within the SVG file. Furthermore, specific details for each cell type are provided, delineated by colons and their hex colour code, encompassing elements such as cell type and intracellular chemical concentrations.

python readsvg.py -i “path to the SVG file (without .svg)” -t “path to the XML template file (with file extension)” -s “numerical scaling factor between image and simulation template” -c “color code”

The colour code has the form of “RGB colour code, cell type, intracellular species concentrations: RGB colour code, cell type, intracellular species: … : … :” until all colour codes are described.



Licenses

The data is licensed under CC-BY 4.0.The code (in VirtualLeaf2021-Enhanced_Cell_Wall_Mechanics_in_VirtualLeaf_2024_v1.zip) is licensed under GPLv2 (or later).