Abstract
To better understand how a nervous system controls the movements of an organism, we have created a three-dimensional computational biomechanical model of the Caenorhabditis elegans body based on real anatomical structure. The body model is created with a particle system–based simulation engine known as Sibernetic, which implements the smoothed particle–hydrodynamics algorithm. The model includes an elastic body-wall cuticle subject to hydrostatic pressure. This cuticle is then driven by body-wall muscle cells that contract and relax, whose positions and shape are mapped from C. elegans anatomy, and determined from light microscopy and electron micrograph data. We show that by using different muscle activation patterns, this model is capable of producing C. elegans-like behaviours, including crawling and swimming locomotion in environments with different viscosities, while fitting multiple additional known biomechanical properties of the animal.
This article is part of a discussion meeting issue ‘Connectome to behaviour: modelling C. elegans at cellular resolution’.
Keywords: Caenorhabditis elegans, simulation, swimming, crawling, Sibernetic, OpenWorm
1. Introduction
During the last three decades, extensive studies of Caenorhabditis elegans have provided wide-ranging data about the organism, including the most detailed connectome of any adult organism available to science. While the nervous system of C. elegans is the best mapped [1], nervous systems are intrinsically coupled to a body. Sensory neurons transform energy impinging on a body into neurochemical signals that yield information about the outside world. Similarly, motor neurons transform signals from the nervous system into activation patterns of muscles, which in turn create physical forces on a body and cause it to move through an environment. Therefore, our understanding of the way a nervous system coordinates behaviour is deeply tied to the ability to accurately account for the inputs and outputs to that nervous system [2]. One of the difficulties of modelling biological neural networks is verifying the output of a neuronal simulation without the corresponding constraints provided by the rest of the organism's body.
However, in recent years, a growing number of researchers see new hope in gaining a deeper understanding of the complete organism with the help of detailed computer simulations, including its body with sensory, nervous and muscular systems, and a subset of its environment [3]. Integrating a model of an organism's body, and in particular its muscular system, could enable a simulation to close the loop between sensory input, neural processing and the resultant action of the organism upon the environment around it.
A robotic system operating in the real world can be used in concert with a software simulation of a nervous system to show its behaviour (e.g. [4]). However, in the case of C. elegans, a tiny approximately 1 mm long nematode, creating physical robots is challenging. First of all, the expense of making a robotic system to the same scale would be significant. For this organism, scale is important because in order to reproduce the worm's natural habitat (soil in nature, agar in a Petri dish), one needs to take into account such physical effects as capillary force, surface tension, viscosity etc. Despite some recent progress in soft robotics [5,6], creating soft robots only a millimetre long with a sophisticated control system, would be very challenging. Larger physical scales (decimetre and more) that are already attainable by robotics systems [7] create significantly different relationships between capillary/surface tension/viscosity/gravity and other forces.
Biophysical measurements of the C. elegans worm body are some of the most comprehensive for any animal in the field of biology. Detailed measurements exist of swimming and crawling behaviour [8–10], elasticity [11,12], muscle force [13], frictional forces [14] and more. Data of this kind have been used as important validations for comparisons of biophysical computer simulation models built in the past (electronic supplementary material, table S1).
Software packages dealing with physical simulations of liquids, gels and their relationships with flexible elastic materials have been present for engineering applications for some time [15]. As a result, a fully software-based approach that enables the simulation of some well-characterized tissues and their relationship to liquid and gel environments present an attractive alternative to exploring the relationship between the body of an elastic organism in an environment and its control system when compared with physical robots.
The type of question that one wishes to ask of a model is crucial to determine the level of complexity to which the model should be built. Because C. elegans offers such a rich literature on the details of its biophysics and cellular anatomy [16], it is possible to ask detailed questions about the relationship of the motor system to the muscle system that can hinge on the activity of individual neurons or muscle cells. Given the goal of cells-to-behaviour-level understanding, representing the tissue surrounding muscle cells is an important consideration.
Here we present an application of the Sibernetic engine [17] that serves as a basis for key features of the simulated body of the C. elegans nematode. Three-dimensional (3D) models of both individual muscle cells and a whole C. elegans body are converted into a 3D particle system. Simulations are run to compare the mechanics of both the muscle cells and the body model to the real organism.
2. Methods
(a). Building blocks for a worm body
In a previous publication, we have described Sibernetic [17], an open-source finite particle simulation engine based on the Predictive Corrective Incompressible Smoothed Particle Hydrodynamics (PCISPH) algorithm [18] and extended to support novel matter relevant to biophysical simulation, such as the creation of elastic matter, contractile matter and membranes. Sibernetic enables complex geometries to be assembled from groups of particles. Figure 1 shows an example of assembling a simplified body segment from a worm-like body. The cross-section here shows the case where membranes are used on its outer surface. This enables the creation of a chamber within the cross section where liquid particles can be contained, while still keeping other liquid particles and gel-like elastic cube particles outside the cross section. The interactions between the liquid particles and the particles composing the membrane create pressure that causes the cross section to maintain its shape, much like the air inside a basketball.
Another feature of the cross section in figure 1 are the embedded muscles within it. The cross section is composed of an outer ring and an inner ring. Between these two rings, there are four quadrants that contain contractile matter, much like what is shown in figure 1b. These four quadrants contain contractile matter that can squeeze the cross section in the Z-axis, and do so independently of one another. Along the X- and Y-axes are passive elastic matter connections, which demonstrates that the contractile matter can be constrained to pull along a specific axis if desired. Falling outside of the boundaries of the quadrants are also passive elastic matter connections.
With these building blocks, contractile matter was formed into approximations of muscle cells. A series of cross sections with internal liquid pressure and muscle cells embedded within them were unified into a body prototype of the invertebrate C. elegans (electronic supplementary material, Methods 2.5, 2.6). A computational interface enables the stimulation of arbitrary patterns of muscles (electronic supplementary material, Methods 2.7). A visualization system can be used to observe the model evolve in time (electronic supplementary material, Methods 2.8).
(b). Muscle cells
In C. elegans, 95 body-wall muscles are arranged in four quadrants as one observes the worm's body in cross section. Each muscle is rhomboid-shaped, and appears as staggered pairs. Looking within the muscles, they are striated by muscle filaments. These filaments lie inside the muscle membrane, and are attached to the exoskeleton/cuticle along the length of the cell.1
We mapped the anatomical features from C. elegans into our model within Sibernetic. The elastic shell is mapped into areas corresponding to four longitudinal muscle bundles, each located in its quadrant (VR, ventral right; VL, ventral left; DR, dorsal right; DL, dorsal left) (figure 1a; Q1–Q4), and every bundle is also mapped into 24 areas representing individual muscle cells with a geometry based on the microphotograph (figure 2).
Muscle naming and enumeration from the DL side of the worm (figure 2) was used to create the geometries of the muscles. This pattern was copied and mirrored when necessary for the DR, VR and VL quadrants. While C. elegans lacks a muscle in one quadrant, we have left it in for symmetry purposes, but could remove it with minimal impact on the model.
Each ‘muscle cell’ includes 4–5 or more ‘muscle fibres’ (figure 1a). Every muscle ‘cell’ is composed of contractile matter with contractile fibres oriented in the anterior–posterior direction with some slope corresponding to body curvature at the head and tail ends.
Muscle fibres in the worm model are created by making some of the connections between the elastic matter particles in the shell into contractile connections (figure 1). The connections chosen are oriented along the length of the worm and are additionally located in one of four quadrants containing muscles in the real worm.
The frequencies of Ca2+-driven action potentials in C. elegans muscle determine its contraction. Action potentials are driven by graded motor neuron inputs, which typically consist of both excitatory cholinergic synapses and inhibitory GABA synapses. Muscle contraction is not all-or-nothing, and will create more force depending on the number and frequency of action potentials elicited in its membrane [19].
In the simulated system, we do not explicitly represent action potentials. Instead, the elastic force that acts on an ordinary elastic particle is
where k is a coefficient of elasticity, j is an index running through all particles forming elastic connections with elastic particle i, rij = ri−rj is a vector, connecting the i-th and j-th particles, and ‖rij‖ and are the current and relaxed-state lengths of elastic connections, respectively. If some particular pair of particles, i and j, is connected with a contractile matter (muscle) fibre, an additional force is applied to them:
where fmax is the maximal contraction force. Ccorr is the muscle force correction coefficient (electronic supplementary material, Methods 2.7), which has a different function dependent upon the type of movement being simulated (swimming or crawling). u(i,j) is the position along the worm body of the cell that a given muscle fibre is contained within and takes values between 0 (head) and 1 (tail). aijmuscle is the total current activity of the muscle fibre, taking values between 0 and 1, caused by one or more activation signals from neurons or any other external source. All muscle fibres within the same cell share the same level of activity in the current model.
Maximal muscle contraction force was empirically found as a value which provides reasonable realistic bending. The maximal muscle contraction value as well as the functions for the muscle force correction coefficient were determined by testing. When the value of maximal muscle contraction is too weak, the worm does not bend very much. If the value is too large, the worm's shape becomes unrealistically curved. The chosen value of 2.7 × 10−9 N (electronic supplementary material, table S3) best reproduced typical worm geometries based on visual inspection, and, in addition, is in good agreement with the estimate of C. elegans muscular cell force, (1.4–9.6) × 10−9 N (electronic supplementary material, Methods 2.1).
(c). Reproducing a high-viscosity gel-like environment
The natural habitat of the worm is soil, and in a laboratory it usually lives in agar plates. ‘Agar’ is a gel-like elastic matter (a polymerized state of 2–5% agar solution), which is quite deformable as evidenced by the way a worm crawling over its plane surface leaves a groove in it. This should significantly influence the crawling process, as it allows a worm to push from its edges and thus locomote without sliding, slipping only along the groove and reducing lateral slipping.
To reproduce this process, different approaches were tried, among which were using a very viscous fluid, using a continuous plane pad of elastic matter with higher or lower elasticity and employing various regular (periodic) structures composed of elastic matter. Our current method uses an environment that behaves like an agar gel. We use small elastic matter cubes, each composed of eight particles, initially located in the nodes of a 3D grid with a space between adjacent cubes with 1.5–1.7 cube lengths, which form a pad on the ground. Its lowest layer is attached to floor, while the remaining 5–6 layers of cubes can freely move. After the beginning of the simulation they fall down forming the ‘agar’ layer.
(d). Reproducing a low-viscosity fully immersed water environment
Caenorhabditis elegans is capable of swimming through water and other low viscosity environments, using a significantly different gait than it uses during crawling. Therefore, it was important to reproduce the key aspects of the interactions between the worm's body and liquids in our environment.
We have designed a liquid environment with a viscosity ≈1.4 mPa s (electronic supplementary material, Methods 2.2, 2.4) that contains enough particles so that the model of C. elegans can be fully immersed. It consists of 500 K particles in a full-resolution model but only 81 K particles in a half-resolution model. The worm is put into a box partially filled with liquid, with a height between 100 and 200 µm, so the worm body may be completely immersed into it. At the start of the simulation, the worm body is oriented horizontally (ventral part on the left side and the dorsal part on the right), and located above the liquid surface. After initialization, the worm falls into the liquid and starts swimming. The amplitude of the periodic signal grows linearly from 0 to 1 until it reaches 1.
The density of the worm body is equal to the density of the outer liquid. The simulation starts with a configuration in which the worm is fully immersed in the liquid, right below its surface. We performed an additional in silico experiment, where the environment was filled with liquid at twice the height, and the positioning of the worm's body halfway between the surface and the bottom of the liquid was observed again. Soon after the simulation starts and the worm starts moving, the worm descends so that its body is positioned halfway between the surface of the liquid and the bottom of the environment and continues swimming at this position (electronic supplementary material, figure S5).
It has been noted that C. elegans swimming is subject to the counterintuitive properties of ‘low-Reynolds number environments' as a result of their small scale [20,21]. This leads to some physical dynamics that are different from other swimming animals, such as the Lamprey. The key difference is that inertial forces at low-Reynolds number are far outweighed by viscous forces, making the progress of a swimming undulatory animal stop immediately when it stops moving. In high-Reynolds environments, inertia operates at a much larger extent by carrying the animal forward for a small distance, even after it stops moving. We wanted to ensure that our liquid environment was within a related low-Reynolds number regime, so we calculated the Reynolds number in this environment to be less than or equal to 0.05 (electronic supplementary material, Methods 2.3, 2.4) for the case of worm swimming.
In addition, surface tension was implemented as per ([22], §3.3).
3. Results
In this section, we describe results from several in silico tests conducted to verify the assemblage of simulated tissue material, from a straightforward verification of friction, to the testing of more complex geometries with multiple particle matter types. We describe the performance of simulated muscle cells with respect to known properties of real muscle cells, and finally compare the worm body simulation dynamics to those measured in biophysical experiments.
(a). Individual muscle cells
We created a separate test that focused on the contraction and relaxation of our simulated muscle tissue (electronic supplementary material, Methods 2.1). This test also enables us to measure the contraction force empirically. Our test had a cross section of the worm's body that included all four muscle quadrants and was attached to the ceiling of the test environment. This allowed the section to be pulled downwards by gravity forces.
We used the test set-up (see electronic supplementary material, figure S1) to make several measurements of the dynamics of our simulated muscle tissue to compare it against other models and against what is known about real C. elegans muscle tissue and muscle tissue in general (figure 3). In measurements of velocity versus force, we found a characteristic nonlinear relationship that is well known in muscle physiology (e.g. [23]). In measurements of force versus length, we compared our results to the model of [24] to demonstrate both the consistency to this previously reported model, but also the additional noise introduced by our particle-based approach.
(b). Reproducing basic movements
After testing muscles and sections of the simulated body, we created tests built around a complete C. elegans body model. Basic behaviours such as assuming an omega-turn posture, shortening (figure 4) and reproducing two-frequency undulation (figure 6) were reproduced. Using a computational interface to stimulate specific muscles (electronic supplementary material, Methods 2.7), we aimed to reproduce very simple postures.
Caenorhabditis elegans has a well-known omega-turn posture where it contracts muscles on one side only. To reproduce this behaviour, we addressed the dorsal muscles on the right and left sides of the model's body and caused them to contract. Figure 4a demonstrates the final posture assumed by the body model after this contraction took place.
Strains of C. elegans that have muscle cells with greater than average contraction often have the ‘shortening’ phenotype. To investigate if Sibernetic could reproduce this, we sent equal activation force to all muscles between the tail and the head. As shown in figure 4b, we observed the worm reducing its length and increasing its width in a characteristic manner observed in the real organism.
(c). Swimming and crawling
To compare the performance of Sibernetic to that of real C. elegans, we generated experimental scenes within Sibernetic with equivalent environmental conditions to what were reported in experimental papers [25–27], as well as what we measured from videos depicting C. elegans in crawling2 and swimming3 behaviours. We used a computational interface to inject different behavioural patterns into the simulated muscle cells corresponding to swimming and crawling (electronic supplementary material, Methods 2.7). We chose some behavioural patterns with frequencies that were both very near each other and also further apart in both swimming and crawling conditions to test the simulations' robustness to small and large perturbations (table 1).
Table 1.
experimental measurements | Sibernetic simulations | |
---|---|---|
velocity (mm s−1) | ||
crawling over a surface with a gel (10–100 mPa s) | 0.1–0.3 [27] 0.19 (forward)/0.3 (backward) (crawling video) |
0.13–0.15 |
swimming in a water-like low-viscosity liquid (approx. 1 mPa s) | 0.29 ± 0.03 [7] 0.38 ± 0.02 [26] 0.29–0.38 (swimming video) |
0.26–0.41 |
wavelength (λ/L, where L is the length of the worm) | ||
crawling over a surface with ‘high viscosity' (10–100 mPa s) | 0.65 ± 0.03 [25], 0.48 (crawling video) |
0.57–0.85 |
swimming in a water-like low-viscosity liquid (approx. 1 mPa s) | 1.54 ± 0.04 [25] 2.15 ± 0.07 [26] 1.54 (swimming video) |
1.49–1.66 |
frequency (Hz) | ||
crawling over a surface with ‘high viscosity’ (10–100 mPa s) | 0.3 ± 0.02 [25] 0.30–0.49 (crawling video) |
0.27–0.41 |
swimming in a water-like low-viscosity liquid (approx. 1 mPa s) | 1.76 ± 0.07 [25] 1.99 ± 0.05 [26] 1.76 (swimming video) |
1.75–1.79 |
In figure 5, we show our results from frequency and wavelength measurements from Sibernetic experiments for the cases of swimming4 and crawling.5 This is comparable to those in [28], figure 1a, with the best fit line having a slope of 0.59 and an intercept of 0.48 ([28] slope: 0.64, intercept 0.42). In addition, an ability of simulating swimming and crawling within the single scene was demonstrated,6 as well as crawling forwards followed by a reverse.7
When the muscles are activated, force is propagated throughout the connections between the particles to ultimately create movement in the entire worm body structure. This has the effect of moving the cuticle through the medium that it is within. In the case of simulating agar, the force enables the worm to create forward motion by forming a groove. As the groove forms, forces that are in parallel with the worm create forward motion as the cuticle interacts with the formed groove. In the case of simulated liquid, the worm is immersed in a chamber whose height is taller than the largest diameter of the worm body. In this case, the forward motion is created in a similar manner to the agar, but instead of a more viscous groove, the interaction between the cuticle and the liquid create the forward force.
(d). Reproducing two-frequency undulation
Fouad et al. [29] demonstrated, through optogenetic inactivation of neck muscles among other methods, that C. elegans is capable of producing different undulatory frequencies in different parts of its body, as if we had the ability to optogenetically stimulate each muscle cell independently. To explore the biomechanics of two-frequency undulation, we gave Sibernetic a set of patterned inputs (electronic supplementary material, Methods 2.7) that began with sinusoids capable of producing a single undulatory frequency, and then simulated the inactivation of neck muscle cells by removing input from them. Simultaneously, we fed two different frequencies to the head and tail sections during the neck inactivation period. Following a brief time period, we restored the original muscle activation pattern. Figure 6 shows the results.
4. Discussion
In this paper, we have demonstrated in silico modelling of muscle cells, elastic tissue, cuticle and environmental interactions of C. elegans using the open-source Sibernetic PCISPH engine. The model has properties such as internal hydrostatic pressure, 96 independently activable body-wall muscles, whose properties integrate experimental observations of real muscle force and structure, the ability to reproduce postures observed in the real worm, such as omega turns and shortening, and forward locomotion capacity (swimming and crawling) at speeds comparable to the real organism. Changes in shape of the worm body (e.g. figure 4b) are especially difficult to reproduce in models that do not explicitly represent a cuticle that has elastic properties. The model can also reproduce idiosyncratic behaviour such as two-frequency undulation, which relies on being able to modulate specific sets of muscle cells to affect overall behaviour.
It is also fully open-source, available for inspection and use by the broader scientific community. While there are still many mechanical properties left to simulate about C. elegans, we believe this represents the most detailed biomechanical simulation of C. elegans developed to date.
Our model of individual muscles was compared against the existing output of the simulated muscles in the 2D model of [24] and returned comparable results that included additional noise. A difference in the scales of muscle force between the two models (figure 3b) relates to the use of different references chosen for the calculation of the real C. elegans' muscle strength (electronic supplementary material, Methods 2.1). Because the muscles themselves are not a linear dynamic system, we believe that these additional nonlinearities add additional biological realism to the model we have implemented in Sibernetic. As a result, it creates additional challenges for a control system to deal with, which in turn creates a higher standard for the output of a neuronal system to meet to be comparable to the real animal.
Previous work has investigated the use of rigid-body simulations of the C. elegans body (electronic supplementary material, table S1). Our own previous investigation took the form of the CyberElegans simulator [30]. Muscles were represented only as a spring between two point masses. The rigid-body simulation therefore allowed only for the creation of a rigid ‘cross-beam’ structure for the worm. Swimming was not simulated because the surrounding liquid environment could not be incorporated. AnimatLab [31] is an open-source neuromechanical simulation tool that is a general purpose system for simulating embodied agents. Its goal is to enable exploration of the relationships between model nervous system activities and environments. It can simulate biologically reasonable neurons, muscles, sensors, organisms and their environments, including minimal support of liquid simulation—a volume of a given height and density can be included into simulation, with forces of buoyancy and drag acting on the objects within the volume. However, this is substantially not enough for C. elegans swimming simulation. Cohen & Ranner [32] offer a novel method for calculating a rigid 2D or 3D cylindrical shell for a worm body that has four orders of magnitude fewer degrees of freedom than this method and can take on a variety of worm poses. However, within this approach, crawling is rather modelled as swimming within a continuous highly viscous liquid, as crawling over the surface of a gel and formation of a groove in it are not considered.
In contrast with rigid-body simulations such as CyberElegans, AnimatLab or Cohen & Ranner [32], the PCISPH approach we describe in this manuscript has several advantages, which stems from our decision to capture the physical aspects of biological tissue in our model. There is a significant literature on the biophysical properties of the body of C. elegans, estimating parameters such as stiffness based on muscle tension versus hydrostatic pressure on the cuticle [33] or the Young's modulus of the worm's shell [11], and many others that demonstrate results from experiments with the physical 3D body of C. elegans. These observations can only be fully reconciled with each other and integrated together via a modelling system in which the biomechanical experiments conducted on C. elegans bodies can be conducted on the model and compared. As a result, a model that captures the 3D anatomical, structural and biomechanical properties of the tissue of the C. elegans body will have an additional ability to synthesize these results in a way that models that are less detailed cannot.
Additionally, in contrast with a rigid-body approach, it enables both fluid and soft bodies to be simulated and to interact. Using an SPH-based approach, increasing the resolution of material (liquid, elastic etc.) is a simpler and more automated process. It is possible to measure values such as pressure and force in the SPH-based simulation more easily by using particles as ‘tracking particles’. This is used for measuring values such as hydrostatic pressure in the worm cavity (electronic supplementary material, Methods 2.4). The SPH approach, with its ability to use many particles to create curved surfaces, allows for the flexibility to make the worm body match anatomical features with greater precision.
Previously there has been no computational way to deeply study worm swimming. Take the case of the swimming behaviour in C. elegans. It has been well studied biomechanically [25]. As the worm swims, the surface of the liquid it is swimming in completely encases it. As it moves through that liquid, differential pressure on one side of the worm increases relative to the other side. In addition, in our investigations, the movement through liquid creates complex flows around the body of the worm that would be difficult to capture with a simple linear model of the physics of the environment. No other model of C. elegans has included an explicit liquid model with a body model (electronic supplementary material, table S1), and therefore previously there has been no computational way to deeply study worm swimming.
Another important aspect of the modelling done here in three dimensions is the advantage of having a three-dimensional spatial representation of the volume of the muscles. Because the muscle cells occupy space within the body of the model, additional aspects of the relationship between muscle physiology and body dynamics can be explored. A much more accurate mapping of microscopy data surrounding the anatomy of the muscle cells can be incorporated. For example, real muscles in C. elegans will change their shape when they contract [19], which in turn affects the shape of the body they are inside (e.g. figure 4b). Another example is that real muscles in C. elegans are attached to each other and to the body wall in specific ways via their sarcomere assembly [34], which can only be appropriately captured in three dimensions. The range of motion of the model we have built is also important. A three-dimensional body enables three-dimensional range of motion. In nature, C. elegans lives and behaves not in a two-dimensional flat land but burrows through soil in three dimensions. Its musculature is therefore capable of producing motion in all three directions, especially its neck muscles.
There are some considerations of this approach that are disadvantages compared to models with lower complexity. One is that the particle system simulation is more computationally expensive than two-dimensional dynamical systems, and therefore run more slowly on the same hardware. Additionally, the higher complexity means that it takes more time to iterate the model and it is more complicated to learn how it works. Finally, it is possible that the explanations for the behaviours that emerge from the model may be more complicated, and therefore take more time or analysis work to understand. These considerations, in our view, however, are not reasons to not build a more comprehensive model, but they are worthy reasons to potentially begin ones' questions with simpler models first, and later convert those questions into models like the one in Sibernetic for deeper investigation.
Therefore, the approach of building a physical simulation at this level of detail provides an effective framework to deeply constrain the activity of the C. elegans nervous system within a closed loop system of a body and an environment. By assembling this model from a combination of constraints given by biophysical measurements of the tissue, we have learned that if we define the correct frequency and wavelength of the worm body along with the correct viscosity of a liquid or gel environment, we can get a crawling and swimming velocity which is very close to that for a real worm at the same conditions. Because the model enables behavioural output that is strongly comparable to real behaviour, we offer that this model provides a more efficient way to reduce the space of uncertainty about how the biomechanics of C. elegans could work compared to other means of reasoning about the aggregate effects of the biomechanics, e.g. simple logic or back-of-the-envelope calculations. In turn, we can explore the space of possibilities of how different patterns of muscle activation affect behaviour, which in turn allows users of this model to explore the space of possibilities of how different patterns of nervous system activity affect behaviour. For the first time, this enables an approach to generate new hypotheses with greater biological specificity about the internal state of the C. elegans neurons and body-wall muscles relative to its body posture and the forces acting on it. This provides a foundation to seek dynamical principles that hold within the complex biophysical interactions between the activity of the cells of the nervous system, muscular system and outside environment of a living organism.
(a). Future work
The approach we have taken here of using a more detailed and computationally complex means of simulating the biophysics of C. elegans has been done in order to enable a significant amount of additional measurements, observations and anatomical data to be integrated into the same model. The most obvious next step is to show the results of incorporating an electrical model of neurons and muscles together, such that stimulating motor neurons causes stimulation of muscle cells, and the electrical activity of the muscle cells can be related to the contraction/relaxation force within Sibernetic.
In addition to motor neuron activity, different kinds of sensory input can also be incorporated into the particle-based model. Mechanosensors, in particular, is a focus for our next effort. Our approach provides the ability to use corresponding points of the simulated C. elegans body for providing input data for the sensory system, especially mechanosensory. While some recent 2D models have incorporated proprioception [35], this has been captured purely as a matter of the posture of the worm's body, whereas here we have the ability to also simulate gentle touch or harsh touch on any point along the 3D surface area of the worm's cuticle. This would enable studies that show the effect of modified neuronal properties (by mutation, drug interaction, etc.) that lead to quantifiable behavioural differences to be modelled within Sibernetic (e.g. [36]). Including other kinds of sensory input such as thermosensors, by incorporating temperature as a property of each particle, or photosensors and chemosensors in a similar manner would be straightforward. Finally, in order to achieve simulation of peptides diffusing through the body of the worm, a 3D volume in which to do this would enable diffusion–reaction models to operate such that the spatio-temporal nature of these dynamics would have a more realistic backdrop on which to operate.
Because the particles draw a direct analogy to tissue that has mass and takes up 3D space, we can continue incorporating additional anatomical features of C. elegans within the same simulation framework. For example, adding a pharynx to the front of the worm with muscles that pump in the way that the real pharynx does would be straightforward. By updating the model to have muscles in the head of the worm that are organized as a pharynx, we could now compare pharynx pumping data to what happens in our worm. Similarly, egg-laying or defecation could be incorporated by the addition of vulval and anal muscles and pores. To incorporate these features into simpler models, significant changes to the fundamental architecture of the model would need to be made. In Sibernetic, these updates are simply a matter of adding or modifying the appropriate relationships between key particles within the volume of our model.
Supplementary Material
Endnotes
Video of C. elegans crawling: https://www.youtube.com/watch?v=olrkWpCqVCE, Video credit: MIT.
Video of C. elegans swimming: https://www.youtube.com/watch?v=qDvSYxNGSNg, Video credit: TechnionBiofluid.
Video of C. elegans swimming simulation https://www.youtube.com/watch?v=AQAme81B4K0.
Video of C. elegans crawling simulation https://www.youtube.com/watch?v=1oDUMWQQ_p0.
Video of C. elegans crawling+swimming simulation: https://www.youtube.com/watch?v=5767l3MveFY.
Video of C. elegans crawling forward followed by a reverse: https://www.youtube.com/watch?v=1oDUMWQQ_p0.
Video of simulated C. elegans omega turn posture formation starting from straight state: https://www.youtube.com/watch?v=zTL0Ozntfb4.
Video of simulated C. elegans shortening behaviour: https://www.youtube.com/watch?v=tGzWQ1b7WFg.
Data accessibility
The Sibernetic software [17] is free, open-source, able to run on Linux, Windows and MacOS operating systems and is available at sibernetic.org or https://github.com/openworm/sibernetic along with all necessary data files.
Authors' contributions
A.P. and S.L. drafted the article with S.K. revising it critically for important intellectual content. A.P. and S.K. wrote all code associated with the underlying system. A.P. focused on the scientific measurements and programming, while S.K. focused on infrastructural and computational aspects of the code.
Competing interests
We have no competing interests.
Funding
The work of A. Palyanov and S. Khayrulin was partially supported by Russian Foundation for Basic Research grant no. 18-07-00903 and by Russian Ministry of Science and Education under 5–100 Excellence Programme.
References
- 1.Emmons SW. 2015. The beginning of connectomics: a commentary on White et al. (1986) ‘The structure of the nervous system of the nematode Caenorhabditis elegans’. Phil. Trans. R. Soc. Lond. B 370, 20140309 ( 10.1098/rstb.2014.0309) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Tytell E, Holmes P, Cohen A. 2011. Spikes alone do not behavior make: why neuroscience needs biomechanics. Curr. Opin. Neurobiol. 21, 816–822. ( 10.1016/j.conb.2011.05.017) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Izquierdo EJ, Beer RD. 2016. The whole worm: brain–body–environment models of C. elegans. Curr. Opin. Neurobiol. 40, 23–30. ( 10.1016/j.conb.2016.06.005) [DOI] [PubMed] [Google Scholar]
- 4.Krichmar JL, Edelman GM. 2005. Brain-based devices for the study of nervous systems and the development of intelligent machines. Artif. Life 11, 63–77. ( 10.1162/1064546053278946) [DOI] [PubMed] [Google Scholar]
- 5.Dudata M, Clarke DR, Wood RJ. 2017. A high speed soft robot based on dielectric elastomer actuators In 2017 IEEE Int Conf on Robotics and Automation (ICRA) ( 10.1109/icra.2017.7989501) [DOI] [PubMed] [Google Scholar]
- 6.Umedachi T, Vikas V, Trimmer BA. 2016. Softworms: the design and control of non-pneumatic, 3D-printed, deformable robots. Bioinspir. Biomim. 11, 025001 ( 10.1088/1748-3190/11/2/025001) [DOI] [PubMed] [Google Scholar]
- 7.Yuk H, Kim D, Lee H, Jo S, Shin JH. 2011. Shape memory alloy-based small crawling robots inspired by C. elegans. Bioinspir. Biomim. 6, 046002 ( 10.1088/1748-3182/6/4/046002) [DOI] [PubMed] [Google Scholar]
- 8.Butler VJ, Branicky R, Yemini E, Liewald JF, Gottschalk A, Kerr RA, Chklovskii DB, Schafer WR. 2015. A consistent muscle activation strategy underlies crawling and swimming in Caenorhabditis elegans. J. R. Soc. Interface 12, 20140963 ( 10.1098/rsif.2014.0963) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Parida L, Ghosh UU, Padmanabhan V. 2017. The effects of groove height and substrate stiffness on C. elegans locomotion. J. Biomech. 55, 34–40. ( 10.1016/j.jbiomech.2017.02.015) [DOI] [PubMed] [Google Scholar]
- 10.Korta J, Clark DA, Gabel CV, Mahadevan L, Samuel AD. 2007. Mechanosensation and mechanical load modulate the locomotory gait of swimming C. elegans. J. Exp. Biol. 210, 2383–2389. ( 10.1242/jeb.004572) [DOI] [PubMed] [Google Scholar]
- 11.Backholm M, Ryu WS, Dalnoki-Veress K. 2013. Viscoelastic properties of the nematode Caenorhabditis elegans, a self-similar, shear-thinning worm. Proc. Natl Acad. Sci USA 110, 4528–4533. ( 10.1073/pnas.1219965110) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Gilpin W, Uppaluri S, Brangwynne CP. 2015. Worms under pressure: bulk mechanical properties of C. elegans are independent of the cuticle. Biophys. J. 108, 1887–1898. ( 10.1016/j.bpj.2015.03.020) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Johari S, Nock V, Alkaisi MM, Wang W. 2013. On-chip analysis of C. elegans muscular forces and locomotion patterns in microstructured environments. Lab Chip. 13, 1699–1707. ( 10.1039/c3lc41403e) [DOI] [PubMed] [Google Scholar]
- 14.Rabets Y, Backholm M, Dalnoki-Veress K, Ryu WS. 2014. Direct measurements of drag forces in C. elegans crawling locomotion. Biophys. J. 107, 1980–1987. ( 10.1016/j.bpj.2014.09.006) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Jasak H. 2009. OpenFOAM: open source CFD in research and industry. Int. J. Naval Archit. Ocean Eng. 1, 89–94. [Google Scholar]
- 16.WormAtlas, Altun ZF, Herndon LA, Wolkow CA, Crocker C, Lints R and Hall DH (eds). 2002–2018. http://www.wormatlas.org ( 10.3744/JNAOE.2009.1.2.089) [DOI]
- 17.Palyanov A, Khayrulin S, Larson SD. 2016. Application of smoothed particle hydrodynamics to modeling mechanisms of biological tissue Adv. Eng. Soft. 98, 1–11. ( 10.1016/j.advengsoft.2016.03.002) [DOI] [Google Scholar]
- 18.Solenthaler B, Pajarola R. 2009. Predictive-corrective incompressible SPH. ACM Trans. Graphics 28, 40:1–40:6. [Google Scholar]
- 19.Gao S, Zhen M. 2011. Action potentials drive body wall muscle contractions in Caenorhabditis elegans. Proc. Natl Acad. Sci USA 108, 2557–2562. ( 10.1073/pnas.1012346108) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 20.Cohen N, Boyle J. 2010. Swimming at low Reynolds number: a beginners guide to undulatory locomotion. Contemp. Phys. 51, 103–123. ( 10.1080/00107510903268381) [DOI] [Google Scholar]
- 21.Sznitman J, Purohit PK, Krajacic P, Lamitina T, Arratia PE. 2010. Material properties of Caenorhabditis elegans swimming at low Reynolds number. Biophys. J. 98, 617–626. ( 10.1016/j.bpj.2009.11.010) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Becker M, Teschner M. 2007. Weakly compressible SPH for free surface flows In Eurographics /ACM SIGGRAPH Symposium on Computer Animation, 1–8. ( 10.1145/1272690.1272719) [DOI] [Google Scholar]
- 23.Gordon AM, Huxley AF, Julian FJ. 1966. The variation in isometric tension with sarcomere length in vertebrate muscle fibers. J. Physiol. 184, 170–192. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Boyle JH, Berri S, Cohen N. 2012. Gait modulation in C. elegans: an integrated neuromechanical model. Front. Comput. Neurosci. 6, 10 ( 10.3389/fncom.2012.00010) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Fang-Yen C, Wyart M, Xie J, Kawai R, Kodger T et al. . 2010. Biomechanical analysis of gait adaptation in the nematode Caenorhabditis elegans. Proc. Natl Acad. Sci USA 107, 20 323–20 328. ( 10.1073/pnas.1003016107) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Shen XN, Sznitman J, Krajacic P, Lamitina T, Arratia PE. 2012. Undulatory locomotion of Caenorhabditis elegans on wet surfaces. Biophys. J. 102, 2772–2781. ( 10.1016/j.bpj.2012.05.012) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Lüersen K, Faust U, Gottschling DC, Doring F. 2014. Gait-specific adaptation of locomotor activity in response to dietary restriction in Caenorhabditis elegans. J. Exp. Biol. 217, 2480–2488. ( 10.1242/jeb.099382) [DOI] [PubMed] [Google Scholar]
- 28.Boyle JH, Berri S, Tassieri M, Hope IA, Cohen N. 2011. Gait modulation in C. elegans: it's not a choice, it's a reflex! Front. Behav. Neurosci. 5, 10 ( 10.3389/fnbeh.2011.00010) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Fouad AD, Teng S, Mark JR et al. . 2018. Distributed rhythm generators underlie Caenorhabditis elegans forward locomotion. eLife 7, e29913 ( 10.7554/eLife.29913) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 30.Palyanov A, Khayrulin S, Larson SD, Dibert A. 2011–2012 Towards a virtual C. elegans: a framework for simulation and visualization of the neuromuscular system in a 3D physical environment. In Silico Biol. 11, 137–147. ( 10.3233/ISB-2012-0445) [DOI] [PubMed] [Google Scholar]
- 31.Cofer D, Cymbalyuk G, Reid J, Zhu Y, Heitler WJ, Edwards DH. 2010. AnimatLab: a 3D graphics environment for neuromechanical simulations. J. Neurosci. Methods 187, 280–288. ( 10.1016/j.jneumeth.2010.01.005) [DOI] [PubMed] [Google Scholar]
- 32.Cohen N, Ranner T. 2017. A new computational method for a model of C. elegans biomechanics: insights into elasticity and locomotion performance. arXiv:1702.04988 [physics.bio-ph]
- 33.Petzold BC, Park SJ, Ponce P, Roozeboom C et al. . 2011. Caenorhabditis elegans body mechanics are regulated by body wall muscle tone. Biophys. J. 100, 1977–1985. ( 10.1016/j.bpj.2011.02.035) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 34.Moerman D, Williams BD. 2006. Sarcomere assembly in C. elegans muscle. WormBook 1–16. ( 10.1895/wormbook.1.81.1) [DOI] [PMC free article] [PubMed] [Google Scholar]
- 35.Fiesler C, Kunert-Graf J, Kutz JN. 2017. The control structure of the nematode Caenorhabditis elegans: neuro-sensory integration and proprioceptive feedback. arXiv:1707.05359 [physics.bio-ph] [DOI] [PubMed]
- 36.Lebois F, Sauvage P, Py C, Cardoso O, Ladoux B, Hersen P, Di Meglio JM. 2012. Locomotion control of Caenorhabditis elegans through confinement. Biophys. J. 102, 2791–2798. ( 10.1016/j.bpj.2012.04.051) [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
The Sibernetic software [17] is free, open-source, able to run on Linux, Windows and MacOS operating systems and is available at sibernetic.org or https://github.com/openworm/sibernetic along with all necessary data files.