Abstract
Magnetotactic bacteria (MTB) are a diverse group of microorganisms whose movement can be directed via a magnetic field, which makes them attractive for applications in medicine and microfluidics. One of their key properties is the magnetic moment , which is challenging to measure. We perform optical imaging experiments with MSR-1 MTB, and derive both the statistics and the scaling of with the MTB size using an explicit and fully automated method to determine from the MTB trajectories via the U-turn protocol, which measures based on the U-shaped trajectories exhibited by the MTB in an applied alternating magnetic field. The proposed method is an alternative to the standard U-turn time-based moment calculation and uses the theoretical U-turn shape function we have derived. This directly accounts for the U-turn geometry and determines the moment from the U-turn branch width. We couple this approach with a robust U-turn decomposition algorithm that detects U-turns from MTB tracks regardless of their orientations. We report a linear dependence of on the size of the bacteria, accounting for the bacteria velocity variations during the U-turns. We also show that the new U-turn shape-based and the conventional time-based methods produce significantly different results. The proposed method can be used to differentiate between various types of MTB within the same population based on their velocity and magnetic moments, and to precisely characterize the magnetic properties of a culture.
Significance
Magnetotactic bacteria (MTB) are microorganisms suitable for biomedical and microfluidic applications, since they are controllable with a magnetic field. However, accurately measuring their magnetic moment, a key biophysical property, remains a challenge. We thus introduce a fully automated and rigorous approach to extract magnetic moment from MTB motion in an applied magnetic field. We obtain the magnetic moment statistics for the widely used MSR-1 MTB, and clearly show that the magnetic moment scales linearly with the cell size. Our results enable differentiating between various MTB types within populations based on velocity and magnetic moment. Full automation enables magnetic moment extraction from much larger data sets than achieved previously.
Introduction
Magnetotactic microorganisms are a diverse group of single- and multicellular organisms that are able to biomineralize magnetic nanoparticles, allowing them to passively align with an external magnetic field (MF), allowing their magnetic control (1). They also propel themselves using a flagellar apparatus (2,3). This group includes magnetotactic bacteria (MTB) (4,5), multicellular magnetotactic prokaryotes (6,7,8), as well as magnetotactic holobionts, a host organism that lives in symbiosis with MTB (9). Magnetic microswimmers are of particular interest due to potential applications in drug delivery and cancer therapies, as MTB cells and magnetosomes are biocompatible and nontoxic (10,11,12,13,14). It is possible to form ensembles of swimmers and control their emergent behaviors, with a wide range of prospective applications in microrobotics (1,3,15,16,17,18,19,20,21,22,23,24,25). For example, there is a clear potential for general-purpose object manipulation applications (19,20,21,22).
An important parameter of MTB and other magnetic microorganisms is their magnetic moment , which can be determined by several methods, directly measuring the properties of the magnetic crystal or indirect measurements where is calculated based on how cells behave in the MF (26). For example, by observing the motion of the MTB in the rotating MF (16), studying the fluctuations of the cell orientation (27), etc. Measurement of for a single cell can be performed by determining its velocity in an inhomogeneous MF. For instance, by studying the motion of the MTB in a rotating MF, m can be calculated from fluctuations in cell orientation (28). Kalmijn measured the magnetic moment by applying a strong pulsed MF and reversing the dipole moment of the bacterium—since thermal fluctuations alter the magnetic moment orientation, the mean bacterium velocity is MF dependent, which allows determining the magnetic moment from the velocity statistics over the bacterium trajectory (29). However, it should be noted that intrinsic noise due to biochemically induced velocity fluctuations could affect the measurements using this method. The most common approach is the U-turn method, an indirect measurement proposed by Esquivel and Lins De Barros in 1985 (30), which derives the magnetic moment from the trajectory of microorganisms in a pulsed MF (9,31,32). Bacteria are oriented and swim along the MF direction, and change the swimming direction upon MF reversal, creating the distinctive U-shaped trajectories. By determining the time it takes the microorganism to complete a U-turn, can be estimated as follows (30):
| (1) |
where is the environment (sample) viscosity, is the radius of a microorganism (assuming spherical shape), is the applied MF induction, is the Boltzmann constant, and is the sample temperature. The above equation can be interpreted as the dependence of the U-turn time on the ratio of torques due to rotational drag (a spherical body is assumed) and realignment with reversed MF, with a correction term due to thermal fluctuations.
However, the issue is that the underlying derivation is based on physical assumptions that are not sufficiently general. Typically, is measured based on a fraction of a U-turn, which is arbitrarily selected and can be subjected to considerable noise and the typically observed cell movement deviation from the MF direction. That is, this method does not explicitly determine from the shape of the U-turn, which would allow obtaining a more accurate estimate for based on the entire U-turn. Measurements of are most commonly performed semimanually (e.g., manual selection of eligible trajectories and U-turns, and U-turn diameter estimates without shape fitting) (33) or, as shown in (31), by detecting U-turn boundaries from extrema in U-turn trajectory coordinate derivatives (8,9,26). However, derivatives in only one direction are computed (vertical/horizontal), which is prone to low U-turn endpoint contrast in the coordinate time series. Errors due to data noise are generally problematic in the case of trajectories with an arbitrary configuration of U-turns, and do not account for U-turns tilted at an angle to the horizontal/vertical axis of the image and/or at an angle to applied MF. The latter is important because significant misalignment between the MTB magnetic moment and its body axis has been reported for Magnetospirillum magneticum (AMB-1) (34), but also because the MTB trajectories may be perturbed by other means. In some cases, trajectory and U-turn analysis is not sufficiently documented (35), making reproducibility an issue.
We propose an explicit and fully automated method to determine from the trajectories of microorganisms with U-turns in alternating MF. We present a theoretical shape function for MTB U-turns, which enables computing explicitly from the width of the U-turn, circumventing calculations, as well as an algorithm to decompose MTB trajectories into U-turns and determine for each instance (Algorithm 1). We demonstrate the effectiveness of our approach on optically imaged MSR-1 U-turn motion in an alternating MF. We detect MTB from bright-field images, recover their trajectories, and apply the new approach to determine the statistics and the scaling with the MTB size, then compare the results with the magnetic moment calculated using . We also show the effects of different estimates for characteristic U-turn velocity values on the resulting statistics. The proposed data analysis pipeline is shown in Fig. 1.
Algorithm 1. Determining MTB magnetic moment m from trajectory data.
Input: MBT trajectories reconstructed with MHT-X
Trajectory filtering
1 Threshold by temporal length , cases eliminated
2 Threshold by oriented aspect ratio , cases eliminated
3 Median and mean filtering, 1 point kernel width
U-turn decomposition
4 Compute second Gaussian derivatives of coordinate time series
5 Threshold extrema points by relative magnitude , removing cases, after Gaussian smoothing
6 Compute the U-turn curvature with a Gaussian kernel
7 Remove extrema points with after Gaussian smoothing —define as turning points
8 Combine the coordinate derivative extrema points with the turning points, resolve duplicates and proximity conflicts—define as partition points
9 Partition tracks into U-turns at the partition points, keep partitions containing the turning points
10 Prune the U-turns by points from either endpoint
U-turn filtering
11 Eliminate instances with
12 Eliminate the self-intersecting U-turns
13 Eliminate instances with
14 Threshold by oriented minimum area , cases eliminated
15 Refine the turning points via steps 6 and 7 with parameters , , and , performing refinement on U-turns upsampled by a factor
16 Eliminate U-turns with multiple turning points
Determining U-turn values
17 Symmetrize U-turn branches by physical length
18 Translate the turning points to
19 Eliminate instances with
20 Eliminate U-turns with longest/shortest branch temporal length ratio
21 Resample “secondary” turning points via steps 6 and 7 with parameters , , and with the upsampling factor , eliminate instances with multiple secondary points
22 Eliminate U-turns with MF alignment factor
23 Run the optimization routine Eq. 2
24 Keep U-turns and values with Eq. 4 and Eq. 2
Computing values
25 Propagate MTB property data from tracks to eligible U-turns
26 Compute Eq. 6
27 Compute the mean-filtered (1 point-wide kernel) velocity time series
28 Compute Gaussian-smoothed curvature for U-turns
29 Compute mean velocity for U-turn points with relative curvature
30 Compute via Eq. 23 from , , and
Output:
-
•
MTB magnetic moment m values with uncertainties
-
•
Corresponding filtered U-turns
Figure 1.
An overview of the algorithm used to determine from MTB trajectories.
Materials and methods
Cell cultivation
The flask standard medium established by Heyen and Schüler (36) was used to cultivate Magnetospirillum gryphiswaldense (MSR-1) MTB. One hundred microliters of cell suspension was inoculated in 16 plastic centrifuge tubes filled with 15 flask standard medium, ensuring microaerophilic conditions. Cells were incubated at for 3 days. Bacterium suspension added directly from the growth tube was used for microscopy.
Optical microscopy and image acquisition
Microscopy samples were prepared by filling a glass capillary with a suspension of bacteria. Both ends of the capillary were sealed with thermopaste, preventing the formation of an oxygen gradient and the formation of a microaerobic bacteria band. The total experiment time, starting with the removal of the culture from the incubator, was 90 min.
The capillary was placed on an optical microscope stage (Leica DMI3000B) equipped with a magnification objective. The microscope stage has three pairs of built-in coils, which generate a homogeneous MF in the sample (Fig. 2). The MF is generated using an AC power supply (Kepco BOP 2010M), and controlled via a data acquisition card and a LabVIEW program. A Basler AC1920155UM camera was used to record the cell motion.
Figure 2.
The microscopy setup: a microscope stage equipped with three coil pairs generating a homogenous MF.
The sample was placed in an alternating MF (, switching frequency , square wave), causing the most motile and magnetic cells to change their swimming direction when the MF direction is reversed, thus inducing the characteristic U-turn motion (Fig. 3). The image acquisition frame rate is set to 20 frames per second (FPS). The image recording is triggered by the MF direction change. The duration of every constant MF direction interval is equal. The MF strength is calculated from the coil current measurements at the moment when camera exposure for each frame starts.
Figure 3.
An MSR-1 bacterium trajectory in an alternating MF. The dashed line indicates the trajectory, and the white outlines are cell shapes captured over sequential frames. The shown cell was tracked for s at 20 FPS. The cell entered the FOV from the bottom and exited at the top left. To see the MTB in motion and more of the reconstructed tracks, please refer to Videos S1 and S2.
MTB detection and tracking
To remove static background artifacts and features from the raw images, a flat-field correction (FFC) is applied to images. This FFC procedure is adaptive and detects intervals of constant field of view (FOV) and image focus, splits the image sequence into these intervals, and then performs FFC with mean interval images for each sequence interval. This is because the FOV and focus are sometimes adjusted for a better view with more active and MF-compliant MTB, and to assess MTB behavior within different fluid layers. Constant FOV or focus intervals are detected as intervals between extrema in the normalized second derivative magnitude of the mean-squared error time series for consecutive pairs in the image sequence. To avoid overfitting insignificant background variations, the mean-squared error time series is filtered with the Gaussian total variation (TV) filter (37), and the extrema are thresholded by relative magnitude. Other static artifacts and stuck MTB are removed by detecting them from the temporal standard deviation projection image computed from the corrected image sequence. This is done by applying color tone mapping (CTM) (38), normalizing the image, binarizing with a manual threshold or using the Kapur’s method (39), slightly inflating the artifact masks via morphological dilation (circular kernel) (40), and afterward the artifacts are removed via texture synthesis inpainting (41). Then, to improve the contrast/noise ratio, local adaptive CTM and referenceless FFC are applied. Next, the Poisson model TV filter (42) is used for denoising. The Poisson TV filter is chosen because it effectively counteracts the additional luminance-dependent noise introduced during the above image correction stages. To segment MTB from filtered images, the contrast/noise ratio is further enhanced by applying soft CTM masking (43) (used for the detection of MTB swarms and individual MTB in (44)) and the maximum filter, and then Otsu binarization (45) is performed, followed by size thresholding to remove fine artifacts. Finally, any remaining segments of the ringing artifacts due to optical imaging are removed using the luminance-based false positive elimination method developed in (43,46) and applied previously to the detection of MTB in (44). MTB segment coordinates and shape parameters are then determined, and the trajectory reconstruction is performed using the MHT-X object tracking code (46,47,48). The resulting trajectories are then analyzed (Algorithm 1). The parameters for the image processing and trajectory tracking codes are provided with the code, which is linked in the data and code availability. Wolfram Mathematica was used for image and data analysis, as well as visualization, and the MTB tracking code is implemented in Python.
Determining MTB magnetic moment from experimental data
Generally, MTB tracks can have arbitrary shapes despite consistent alternating MF, and may have different orientations due to magnetic moment and cell body misalignment (34), moment misalignment in magnetosome chains (49), etc., with many U-turns per track (Fig. 3). Therefore, the new method we have developed is to decompose the tracks into U-turns and fit the track points to Eq. 22, then to determine , , and , and then determine from Eq. 23, as derived in the results and discussion section.
Before performing the U-turn decomposition, tracks are filtered by temporal length to exclude undersampled MTB motion, then by minimum-oriented bounding box aspect ratio (oriented aspect ratio, excludes trajectories of MF that do not respond to MF changes, since they have very high aspect ratio values), and then filtered using median and mean filters (one point-wide kernel).
The eligible filtered tracks are decomposed into U-turns by finding peaks in the absolute values of the second derivative of their coordinate time series and thresholding the peaks by the relative values, and extrema of curvature (their turning points) within the Gaussian-filtered track (thresholded by the relative curvature value). Trajectories are then split into fragments at the coordinates of these points, resolving overlaps/proximity cases, if any. U-turns are then found among the resulting track fragments as those that contain the curvature extrema points, and the branches of the U-turns (points on either side of the turning points) are pruned to remove artifacts from the tip of the branch of the U-turn.
Among the U-turns generated from the trajectories, the eligible U-turns are found through a sequence of filtering procedures. After filtering U-turns by temporal length, instances with self-intersections are eliminated by converting the sequence of U-turn points into a graphics line object, then to a raster image with boundary padding; the image is then binarized via the Otsu method, Gaussian-filtered, and binarized again to ensure that the rasterized line is unbroken, and afterward the number of domains in the image is counted—for a U-turn without self-intersection, there is only a single domain (albeit not simply connected), whereas self-intersection instances generate additional domains. After removing self-intersecting U-turns, the remainder are filtered by minimum bounding box aspect ratio and area (this removes instances with stuck MTB and straighter fragments of tracks), and then the turning point locations are refined (turning points are detected for uniformly upsampled versions of U-turns, B-spline order 2), and U-turns with multiple turning points post-refinement are eliminated.
The surviving U-turns are symmetrized by physical length with respect to their turning points—this is to minimize bias during theoretical shape fitting. Then the U-turns are translated such that their turning points are at coordinates, and then subjected to another round of filtering by temporal length, by the ratio of position samples in branches (further eliminating bias from overfitting one of the branches), and another stage of multiple turning point instance elimination. Finally, the misalignment of the orientation of the U-turn with the alternating MF axis is checked—the U-turns and the MF axis are rotated to align the MF along the axis, and then, for all U-turns, the ratio of the coordinate sums of and over both branches of the U-turn is computed. If the ratio is too low, the U-turn does not correspond to a motion compliant with the MF. The remaining U-turns are eligible for fitting to Eq. 22.
To fit U-turn coordinate sets to Eq. 22, U-turn turning points, previously translated to initial coordinates (0,0), are used as anchors for shape fitting. The U-turn is fitted to the offset version of the theoretical shape function Eq. 22 given by the translation of the shape function and the parameter value by finding the optimal U-turn coordinate set generated by rotating the initial U-turn by an angle , such that the following optimization problem is solved:
| (2) |
where . The functions and are defined as follows:
| (3) |
| (4) |
The solution minimizes the discrepancy between the U-turn data points and the theoretical shape function Eq. 3 while penalizing U-turn rotations resulting in U-turn points with (Eq. 4). The latter is implemented because Eq. 22 has the property . Furthermore, to enforce , the values are sampled for every instance times uniformly in the interval. This is due to . As a result, in Eq. 3 are instead computed as
| (5) |
where are the sampling points for . Note that Eq. 2 penalizes temporally and spatially longer tracks slightly less, which is intentional—this way, better reconstructed U-turns are prioritized.
After all U-turn fits are complete and are determined, the values and the U-turn data are filtered by their and values. Then is computed from the MTB and flow medium properties assuming spherically shaped MTB:
| (6) |
Note, however, that any other rotational drag model can be used based on the morphology of cells—for example, cylindrical (25), ellipsoidal (50), the sphere chain model presented in (51), or an experimental spirillum drag model as in (33).
We then estimate the characteristic U-turn to compute from Eq. 23. This is done by computing the U-turn curvature over the arc length and computing the mean velocity over the segment with curvature exceeding a relative threshold, that is, velocity is not sampled from the straighter segments of the track.
All of the above procedures and the parameters are summarized in Algorithm 1 in appendix A, and are also provided with the code, which is linked in the data and code availability.
Results and discussion
MTB U-turn trajectory model
Let the orientation of an MTB and its magnetic moment be , where is the angle between and the direction, and the MF strength before/after reversal is and , respectively. Since in our experiment , we assume that the magnetic moment of the MTB is along its body axis (16). The MTB moves in the plane (Fig. 2), and its thermal fluctuations are negligible. The MTB angular velocity is . According to the Bean model (30,51), the balance of hydrodynamic and magnetic torques is as follows:
| (7) |
where is the rotational drag coefficient and is the MTB magnetic moment. Projected onto the axis, this becomes . Introducing , the angle between the MTB and MF before its reversal (the MF direction is ), one has
| (8) |
The velocity of the MTB translational motion is and a constant is assumed. Introducing the trajectory arc length and velocity , Eq. 8 may be rewritten as follows:
| (9) |
The asymptotic U-turn conditions are
| (10) |
at the U-turn start and the U-turn end, respectively. Then, integrating Eq. 9, the following is obtained (28):
| (11) |
Solution Eq. 11 allows calculating the trajectory by integrating the equations of motion
| (12) |
using
and obtaining
| (13) |
where . Integrating Eq. 13 yields
| (14) |
where and
| (15) |
Similarly, using
an equation for the coordinate can be written as
| (16) |
Integration over results in
| (17) |
and, since . Using
and combining Eq. 15 with Eq. 17, the trajectory equation is
| (18) |
Since
| (19) |
the trajectory can be parametrized by introducing the asymptotic distance between the branches of the U-turn trajectory. This distance also corresponds to the first-order asymptotes of the tangent function in Eq. 18, e.g., given by . This means . Then
| (20) |
with
| (21) |
which means is exactly the full asymptotic width of the U-turn, as it should be. Finally, we can simplify the above expression using the following expressions:
to a more concise form
| (22) |
Given determined from an experimental trajectory, the MTB magnetic moment can be computed via
| (23) |
if the rotational drag coefficient and velocity of MTB over the U-turn are known. In our case, we assume the MTB are spherical and use the Stokes rotational drag, but in general any drag model can be used here—for example, elongated bacteria can be approximated as a chain of spheres, for which the rotational drag coefficient has been derived (51). Alternatively, MTB can be modeled as cylinders (33) or ellipsoids (50), or an experimentally determined spiral/spirillum drag coefficient can be used (33).
MTB magnetic moment statistics and scaling
We calculate using the new U-turn method for a sample population of MTB. We imaged the motion of MSR-1 MTB in alternating MF using an optical microscope and then recovered the cell trajectories from the acquired images. We then analyzed trajectories retrieved from images that yielded 304 eligible U-turns (i.e., from trajectories and subsequently U-turns that survived the filtering stages in Algorithm 1) for which was calculated. An example of a U-turn segmentation and processing from a trajectory is shown in Fig. 4), and the radii and velocity of population cells can be seen in Figs. 5 and 6. The resulting overall statistics are shown in Fig. 7, and the relationship between and the effective cell radius is presented in Fig. 8. data obtained using the proposed theoretical U-turn shape function Eq. 22 were then compared with the results obtained using the calculations based on the U-turn time using Eq. 1 (Figs. 13 and 14). Figs. 7 and 8 provide a direct visual comparison.
Figure 4.
An example of U-turn decomposition and MTB moment calculation: (a) a MSR-1 track in an alternating MF, where points are color coded chronologically from blue to red. (b) Track (a) decomposed into individual U-turns (1–4), before symmetrization/translation (four out of five detected U-turns shown). (c) U-turn (4) filtered and fitted to Eq. 22; the coordinate system differs from (a and b) due to Eq. 3. (d) Evaluating U-turn velocity (color coded by magnitude from blue to red) for Eq. 23: U-turn is computed as the mean for the U-turn interval where the relative curvature (inset) is above a threshold. Please see Algorithm 1 for details and parameters.
Figure 5.
Normalized probability (Freedman-Diaconis binning) for the MSR-1 MTB velocity with MF applied in the direction (horizontal image axis). The most probable MTB velocity magnitude is .
Figure 6.
A histogram relating the effective radii measured for the cell population and cell velocity magnitude . The relative bin size is 0.015 of the data range, and value display relative threshold 0.02.
Figure 7.
MSR-1 magnetic moment probability histograms (Freedman-Diaconis binning) for calculated using the proposed U-turn shape function Eq. 22 and U-turn analysis algorithm (Algorithm 1), colored light red, and using the existing U-turn time -based formula Eq. 1 and the proposed U-turn decomposition algorithm (Algorithm 1), colored blue.
Figure 8.
Magnetic moment versus MTB effective radius : linear fits and uncertainty regions Eq. 22 for calculated using the proposed U-turn shape function Eq. 22 and U-turn analysis algorithm (Algorithm 1), colored light red, and using the existing U-turn time -based formula Eq. 1 and the proposed U-turn decomposition algorithm (Algorithm 1), colored blue. Error bands for the linear fits are indicated with transparent margins around the dashed lines.
Figure 13.
MSR-1 magnetic moment histogram (count versus moment , Freedman-Diaconis binning), calculated using the existing U-turn time -based formula Eq. 1 and the proposed U-turn decomposition algorithm (Algorithm 1), .
Figure 14.
Magnetic moment versus MTB effective radius : 264 values determined using the U-turn time -based formula Eq. 1 and the proposed U-turn decomposition (Algorithm 1), with a linear fit . Here, and , with for .
Furthermore, we tested the sensitivity of our proposed method with respect to different estimates of the U-turn velocity for the equation Eq. 23. statistics for three estimates are compared in Fig. 9. The simplest assumption is that the U-turn is the most probable population velocity, determined from the velocity statistics derived from the trajectory data, as seen in Figs. 5 and 6. The maximum probability population velocity is with a standard deviation , which is consistent with the results reported in (33), but differs from the reported in (52), although it is arguably within the error margin. The other estimates are obtained via our proposed method (Algorithm 1), which estimates the value of for each U-turn as seen in Fig. 4, which also illustrates the U-turn decomposition process. We use both the individual and the mean U-turn (not to be confused with the entire population mean).
Figure 9.
MSR-1 magnetic moment probability histograms (Freedman-Diaconis binning) for calculated using the proposed U-turn shape function Eq. 22 and U-turn analysis algorithm (Algorithm 1). Characteristic velocity used in Eq. 22: individual U-turn values (light red), mean value for all U-turns (blue) and the most probable velocity magnitude for the observed MTB population (light green; Fig. 5).
Using our proposed calculation algorithm and the individual estimate of the U-turn (Fig. 4), we obtained the histogram as seen in Fig. 10 where most cells have . However, viewing statistics this way only does not provide the full picture—therefore, scaling with is presented in Fig. 11. Note the positive correlation between the cell and values. To assess how scales with , the data is assigned an error-weighed linear fit , where and . This implies a critical for which cell size is insufficient to host magnetosomes that generate a significant ; here for . The linear fit slope in Fig. 11 is also quite well aligned with the inclination of the quantile uncertainty region . In Fig. 12, it can be observed that the most probable effective radii among the MTB corresponding to eligible U-turns are with , and with , respectively.
Figure 10.
MSR-1 magnetic moment histogram (count versus moment , Freedman-Diaconis binning), calculated using the proposed U-turn shape function Eq. 22 and U-turn analysis algorithm (Algorithm 1), .
Figure 11.
Magnetic moment versus MTB effective radius : 304 values determined using the proposed U-turn shape function Eq. 22 and Algorithm 1 are represented by gray dots, with the quantile uncertainty region indicated as the light gray area with a green boundary, and the error-weighed linear fit given by the dashed red line with light red slope error margins . Here, and , with for . Fit weights are inverse squares of the total uncertainty due to and uncertainties (error propagation). The uncertainty region is derived by computing 250 directional quantiles (53,54), connecting the quantiles with a smooth curve, and applying curve evolution polyline simplification (55) to the resulting quantile envelope.
Figure 12.
Magnetic moment versus MTB effective radius : a smooth density histogram (Sheather-Jones bandwidth estimator, Epanechnikov kernel) computed for determined via proposed U-turn shape function Eq. 22 and Algorithm 1.
To determine the U-turn values (the characteristic U-turn completion time) and compare the values of between the standard equation Eq. 1 and the proposed ones, Eq. 22 and Eq. 23, we compute and for the same U-turns we used to estimate based on the proposed approach. To explicitly determine without relying on finding coordinate derivative extrema, we record the coil voltage time series. Voltage sign switches correspond to MF direction reversals. Therefore, using the MF switching data, we detect the MF switch timings from the coil voltage time series by thresholding the time series with the 0.95 relative voltage values and finding time instances with nonzero differences in the resulting signal. We then match the MF switch times to the U-turn timestamps and find the intersection between the two MF switch timestamps nearest to the U-turn temporal endpoints, and the U-turn time interval. The values are then the temporal lengths of the U-turns truncated by the MF switch timestamps multiplied by the image acquisition frame duration. The resulting statistics based on -based are shown in Fig. 13, where most cells have . The scaling with is shown in Fig. 14, where the experimental limitation clearly appears when using as a parameter that characterizes the U-turn motion of the cell—its precision is strongly limited by the frame rate used for image acquisition. As a result, Fig. 14 shows banding artifacts in the data set computed from . This is because the values are multiples of the frame duration, and therefore the differences in are in the form of clearly visible steps and distinct curves. As frame rate tends to infinity, these artifacts should disappear, but for lower frame rates the effect is very significant. While is also limited by the frame rate, , which means that the continuum of values is filled much more uniformly by sampling the MTB population values from values for U-turns. The calculation of through is more limited by image resolution, which in this case is ( per MTB length), which is usually less of an issue than a lower frame rate.
Importantly, Fig. 14 is not the first instance in which the data point banding can be observed— correlation was also considered in (31), although for a wild sample of magnetic cocci, not MSR-1. Instead of , the versus the MTB volume correlation was produced (31) (Fig. 10), which exhibited banding within the plot region with a higher data point number density. We therefore argue that our observations are not a coincidence. Additionally, the frame rate in (31) was 82 FPS (versus our 20 FPS) while the most probable MTB population velocity was estimated at ((31)[Fig. 6] versus our ), meaning that the corresponding temporal sampling should be better than in our case by a factor of , but the artifacts in the correlation are still present.
Similarly to the case, a trend in can be observed where increases with , with the most probable MTB among the considered U-turns with , as seen in Fig. 15. Although the data for -based in Fig. 14 exhibit a slight nonlinearity, it is arguably appropriate to assign a linear fit , yielding and , with for .
Figure 15.
Magnetic moment versus MTB effective radius : a smooth density histogram (Sheather-Jones bandwidth estimator, Epanechnikov kernel) computed for determined via the U-turn time -based formula Eq. 22 and U-turn decomposition proposed in Algorithm 1.
The results obtained using both methods are compared side by side in Figs. 7 and 8. The -based measurement method yields systematically lower values, and the probability distribution of is skewed toward larger values, more so than in the case of estimates based on . In the latter, is characterized by both a larger range and larger values. However, we would like to reiterate that reducing the overall statistics is not representative of the diversity of the MTB properties in the population, which is better characterized by the scaling of . In Fig. 8 the slopes for between the - and -based estimation cases differ very significantly, even though the zero-moment effective radii are not that different. Since our method captures the spatial configuration of the U-turns, there is a much more diverse set of values at every . However, because of the banding artifacts in the -based data and, arguably, the more precise/physical treatment of trajectories and U-turns with Eq. 22 and Eq. 23, we posit that our method yields results more representative of the observed MTB population. Note that both the data sets and the linear fits indicate a similar value, meaning that no magnetic cells smaller than were captured (that is, MTB whose did not exhibit a significant U-turn motion). It is possible that the difference between our - and -based results may decrease as the imaging frame rate increases, but it is likely that the difference is the explicit physical modeling of the U-turn motion.
Since the -based measurement method contains the characteristic U-turn velocity as a parameter, we tested the same data set as shown in Figs. 10 and 11 using three different approaches to determine cell velocity—the effects of different estimates on the probability statistics are shown in Fig. 9. Here, is calculated using the individual U-turn computed using Algorithm 1, the mean for all U-turns, and a simpler estimate based on the maximum probability velocity for the entire MTB population. Individual and mean U-turn estimates yield similar statistics, with the mean U-turn producing slightly less probable peaks at and . However, using the most probable population velocity, the statistics are significantly different: distribution is more dispersed and with a significantly shifted mean and most probable values, indicating that one cannot neglect the calculations for individual U-turns in favor of a coarser, more readily available estimate.
Finally, it is also important to compare our results with the data available in the literature for MSR-1 MTB. Several approaches have been used to measure and calculate . Tracking and magnetic tweezer-based methods reported in (33) and (28), respectively, yield lower values than those calculated from TEM images (28). A study by Nadkarni et al. (26) indicates that, for AMB-1, also a spirillum and arguably similar to MSR-1, the values calculated using the -based U-turn method were close to those obtained by magnetosome volume measurement. However, it is known that the growth conditions of the MTB population (e.g., oxygen concentration (36) and iron content of the medium can influence the characteristics of the cell population, including cell size and magnetosome formation (56). Therefore, it is reasonable to expect a significant variation of values between different cultures and experiments.
Table 1 summarizes how our results compare with those reported for MSR-1. The first thing to note is that our mean values for using both - and -based methods are within the expected order of magnitude, . However, they are also significantly lower than the rest of the presented values. There could be a number of reasons for this, including inherently lower for our MSR-1 population due to the way magnetosomes developed under the conditions defined by our culture preparation. While the velocimetry results (Figs. 5 and 6) for the population indicate that the observed MTB move with velocity close to what is reported by Pichel et al. (33), there were relatively many bacteria in the lower end of the velocity range.
Table 1.
Comparison of different MSR-1 magnetic moment values
| ) | Method | Source | MTB size ) |
|---|---|---|---|
| ; | U-turn, based Eq. 1 | This paper | |
| Drag correction from (33) | |||
| ; | U-turn, based Eq. 22 | This paper | |
| Drag correction from (33) | |||
| ; | U-turn diameter based | Pichel et al. (33) | |
| Semi-manual, no shape fitting | |||
| ; | Rotation in alternating MF | Zahn et al. (28) | |
| Magnetic tweezers | |||
| ; | Translation in constant MF | Zahn et al. (28) | |
| Magnetic tweezers | |||
| ; | Magnetosome volumes via TEM | Zahn et al. (28) | N/A |
| ; | Magnetosome volumes via TEM | Codutti et al. (32) | N/A |
Importantly, Pichel et al. performed measurements indicating that the spiral shape of the body of an MTB has a higher (rotational) drag than a spheroid with equivalent length and diameter (33). However, even factoring in this observation and noting that in Eq. 23, and that
| (24) |
in Eq. 1, our expected values from -based and -based calculations still do not exceed and , respectively (also recorded in Table 1). Therefore, this correction does not explain all the difference between our - and -based results, and does not account for a significant part of the difference between our data and the reported MSR-1 results.
This means that spontaneous loss of magnetic properties of our MSR-1 population during the growth process must be considered (57,58), especially since the U-turn decomposition and calculation procedure (Algorithm 1) filtered out very many tracks corresponding to MTB that do not respond to MF. These include MTB that are stuck, moving in patterns uncorrelated to MF direction or MF switching, traveling straight through the FOV, exhibiting only minor large-wavelength trajectory perturbations during MF switching, etc. This is reflected in the fact that the trajectories retrieved from the images yielded U-turns that Algorithm 1 determined as viable based on the criteria summarized in appendix A. We have therefore analyzed another population of MSR-1 – images were acquired and filtered to MTB trajectories, resulting in values with the mean value (-based calculation Equation 23), corresponding to (our MTB length is and width is , as seen in Table 1). Here, the statistics match what we show in Table 1 and the values are of the same order of magnitude, indicating consistency despite the perhaps lower viability of the control batch. However, we have chosen not to combine the data with the population data in Table 1 since the velocity statistics were significantly different, therefore only using the smaller value batch as a reference. Note that the number of measurement instances we have acquired exceeds the size of the data set from any other source for MSR-1, which allowed us to assess the dependency, so data sparsity is not the issue here. In addition, converting the MTB dimensions specified in Table 1 from the other sources on MSR-1 indicates that the observed MTB were of similar size. Given all of the above, it is reasonable to assume that the differences in the values of are probably mainly due to the different growth conditions of MSR-1 prior to the experiments.
It is important to point out that our approach, which treats the MTB trajectory and U-turn shapes explicitly based on a physical model, is also fully automated from start to finish: image processing, MTB tracking, eligible trajectory selection, U-turn decomposition, U-turn selection, and calculations. This serves to minimize or eliminate human error and bias. This is, for instance, in contrast to what is reported in (33), where a much less robust image MTB detection algorithm is presented that may not work for the number density of MTB in images as considered here, or in the presence of diffraction artifacts at MTB locations or other dynamic artifacts in the FOV. Moreover, nearest-neighbor tracking is used (33), which is known to be very unstable at higher MTB number densities, and when multiple MTB are in proximity and/or their paths are spatiotemporally similar or are crossing. This reduced data acquisition efficiency (less viable MTB tracks are reconstructed) and track reconstruction errors are more frequent and significant. More advanced methods are required for general-purpose MTB tracking, and for the U-turn method case in particular—for instance, approaches such as shake-the-box (59) (robust, thoroughly validated and very widely used in the hydrodynamics community—can be used for long track reconstruction) and multiple hypothesis tracking (MHT), specifically its offline version MHT-X used here (46,47,48) with motion modeling based on weak conservation laws, and velocimetry-assisted motion prediction with boundary condition support. Other relevant methods are reviewed in (60).
In addition, the eligible track selection process is reported as semimanual, which precludes larger-scale data analysis, such as that reported here, and is inherently biased. The U-turn diameter used in the calculations (33) is determined manually—the trajectory fragments corresponding to the U-turn motion are segmented manually and is determined as the U-turn endpoint distance, not the asymptotic branch distance as in Eq. 22 or, simpler, by an ellipse or circle fit. Alternatively, this could have been done via curvature calculation and thresholding, as in Algorithm 1 for the calculation of U-turn . Interestingly, despite a higher reported value and similar population velocity statistics, the U-turn diameters in (33) at are on average (derived from the data reported in (33, Figs. 24 and 25), whereas our statistics for at indicate an average value of . This seems to be more in line with U-turn numerical simulations performed in (33), where the U-turn width at is . However, the properties of MTB used for these simulations are specified only as “realistic” (33), so direct comparison is difficult. We would like to stress again that comparing our values against can only be done very roughly, since the calculation procedures are vastly different and is not strictly defined.
We have also noticed that the MTB average (characteristic) velocity for calculations in (33) is computed for the entire U-turn (i.e., the turning arcs and branches), whereas our values are computed from sampled from the turning arcs (Fig. 4 D). This might be important, as we have shown in Fig. 9. In our case, the mean U-turn velocity is smaller than the mean population velocity. If this is also true for the population considered in (33), then, with everything else unchanged, . This is still greater than our drag-corrected value , but given the error margins, the results are arguably close.
Among the measurements listed in Table 1 for MSR-1, the U-turn method is only used in (33). It is then also important to consider other measurement cases based on U-turn methods, although they are not relevant to MSR-1. In simpler cases, methods deriving U-turns from trajectories via the extrema in the U-turn trajectory coordinate derivatives (8,9,26,31) may be sufficient (although errors and lower precision can be expected). In cases with longer and more complex trajectories, as well as with higher MTB number density in images, these methods should not be considered reliable and precise.
Although the U-turn method is not used in (32), the data presented in (32, Fig. 5B) and in the repository linked to the article can still be used to estimate . As shown in Table 1, the value due to TEM measurements is , and this value is used as a reference for calculations and data analysis in (32). At the same time, using the available data, we recovered the MSR-1 MTB trajectory turning radii (not exactly the U-turns as defined here or in (33)) within circular traps, and the respective MTB velocity values. Since MTB length is not provided explicitly in (32), but rather a body length scale is specified , we can only provide a very rough estimate via Eq. 23, assuming the same mean MTB size as in our case, and taking the MF as in (32). With this, we estimate with a spherical drag model, and if the correction from (33) is taken into account, although the error margins cannot be rigorously estimated (e.g., velocity and turning radii uncertainties not specified in (32)), and are likely much wider. Note that for MTB with different dimensions, the estimate will differ significantly (52). This and the strongly confined motion (turning radius affected by trap boundary conditions) make comparisons with our results and the data from (33) problematic, but validates the order of magnitude for the measured values.
Arguably, given the current state of the literature on MTB measurements (relatively few measurements per research paper (9,28,31,32,33) and little to no discussion of scaling (31)), and the diversity of MTB types and their properties (which depend on the growth conditions), there is a need for an extensive measurement campaign where many different cultures of various MTB are analyzed systematically and automatically, to obtain likely thousands of magnetic moment measurement instances. The U-turn method is promising in this regard, as it can be used for simultaneous measurements for many MTB, and long image sequences can be acquired for processing. The methodology we have presented here, unlike the time-based calculations for the U-turn, works directly with the U-turn shapes, and thus more precisely, and is readily scalable to measuring from many thousands of images with little or no parameter adjustment. Most of the underlying code is efficiently parallelized and can benefit from high-performance computing hardware.
Conclusions and outlook
Using the proposed methodology, we performed optical microscopy experiments with high number density motion of MSR-1 MTB in alternating MF, and determined the magnetic moment for 304 MTB. Our results show that computing from time-based methods underestimates the magnitude of compared with our method based on the distance between the trajectory branches . Our results are within the order of magnitude of the data reported in the literature (closer after adjusting for a helical MTB drag model), and the differences are possibly due to spontaneous mutations that can cause the culture to lose magnetic properties. We have also shown the scaling of MTB magnetic moment with MTB size, which is roughly linear for our data—to our knowledge, such data are currently missing for widely used MSR-1 MTB.
To achieve the above, we have derived a theoretical shape function for the U-turn motion of magnetotactic microorganisms, including MTB, in alternating MF, and used it to improve the precision of the U-turn method used to determine the magnetic moment for magnetotactic microorganisms. We have also presented an alternative expression for computing the magnetic moment, which is based on the asymptotic width of the shape function, the MTB rotational drag coefficient, alternating MF strength, and the characteristic U-turn velocity. This method, unlike the U-turn time-based moment calculation, explicitly determines the magnetic moment from the U-turn geometry and uses the entire U-turn length, without the need to compute .
We have coupled the new shape function with a fully automated method for MTB trajectory decomposition into U-turns, which also determines the characteristic U-turn velocity and then computes the magnetic moment by fitting the theoretical U-turn shape function to the experimentally observed U-turns.
We have reported significant differences in the magnetic moment statistics and scaling with MTB size between the established -based moment calculation and the shape function-based method proposed here, and highlighted two important limitations of the -based method—its much stronger dependence on higher image acquisition frame rate to sample the magnetic moment statistics, and its lower precision since it does not model the U-turn geometry. This could explain the difference in the observed mean values and statistics, but the discrepancy could decrease with a higher frame rate. We have also shown that it is important to determine the characteristic U-turn velocity values explicitly for each U-turn, since the magnetic moment statistics based on these differ significantly from the calculation based on a cruder population-based estimate.
We argue that the U-turn method is very promising for simultaneous measurement of magnetic moment for many MTB from a sequence of images, given that the method is paired with sufficiently robust, precise, and automated methods for MTB detection, tracking, and U-turn analysis. We posit that our U-turn shape function-based magnetic moment calculation, combined with the proposed fully automated U-turn decomposition and analysis approach, will enable convenient property determination with many more data points than currently reported (magnetic moment distribution, magnetic moment scaling with MTB size, etc.) for populations of different magnetotactic microorganisms. The proposed methods are scalable to automatically analyze thousands of images and tens of thousands of trajectories, all the relevant code is open source, and the parameters are provided either in this paper or with the code.
Lastly, we propose to apply the methods developed in this paper to process a large data set of images with MSR-1 motion in alternating MF to refine the current results. This should be continued by a systematical study how the utilized rotational drag model affects the magnetic moment statistics and scaling with MTB size by considering the spirillum drag model experimentally established by Pichel et al. (33), as well as the cylindrical (25), ellipsoidal (50), and the sphere chain (51) MTB shape models.
Data and code availability
Experimental data are available on reasonable request; please contact the corresponding author.
The image analysis, object tracking, and trajectory analysis code for calculations are available on GitHub:
-
•
MTB detection from images: Mihails-Birjukovs/MTB_detection_tracking.
-
•
MTB tracking: Peteris-Zvejnieks/MHT-X.
-
•
MTB magnetic moment retrieval from trajectories: Mihails-Birjukovs/MTB_magnetic_moment_from_U-turn_trajectories.
Acknowledgments
The authors acknowledge funding from the Latvian Council of Science, project A4Mswim, project lzp-2021/1-0470. The authors are grateful to Dr. Paul Janmey from the University of Pennsylvania for his feedback and editing of the manuscript.
Author contributions
M.S. prepared the MTB culture and set up and performed the experiments. M.S. and M.B. performed data analysis and interpretation. M.B. developed the image processing, trajectory/U-turn analysis, and magnetic moment calculation methods and code. P.Z. contributed the trajectory reconstruction software and assisted with its application. I.D. developed the real-time MF recording setup. A.C. derived the theoretical U-turn shape function. G.K. provided funding and resources, and contributed to result interpretation. M.S., M.B., A.C., and G.K. contributed to the first draft. All authors reviewed and edited the final version of the manuscript.
Declaration of interests
The authors declare no competing interests.
Editor: Paul Janmey.
Footnotes
Supporting material can be found online at https://doi.org/10.1016/j.bpj.2025.06.008.
Contributor Information
Mara Smite, Email: mara.smite@lu.lv.
Mihails Birjukovs, Email: mihails.birjukovs@lu.lv.
Appendices
Appendix A. MTB magnetic moment retrieval from trajectories
Parameters for Algorithm 1:
-
1.
,
-
2.
, ,
-
3.
, ,
-
4.
-
5.
,
-
6.
, where are image dimensions
-
7.
,
-
8.
,
-
9.
,
-
10.
-
11.
, ,
-
12.
,
References
- 1.Klumpp S., Lefèvre C.T., et al. Faivre D. Swimming with magnets: From biological organisms to synthetic devices. Phys. Rep. 2019;789:1–54. doi: 10.1016/j.physrep.2018.10.007. [DOI] [Google Scholar]
- 2.Lefèvre C.T., Bennet M., et al. Faivre D. Diversity of Magneto-Aerotactic Behaviors and Oxygen Sensing Mechanisms in Cultured Magnetotactic Bacteria. Biophys. J. 2014;107:527–538. doi: 10.1016/j.bpj.2014.05.043. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 3.Lauga E. Bacterial Hydrodynamics. Annu. Rev. Fluid Mech. 2016;48:105–130. doi: 10.1146/annurev-fluid-122414-034606. [DOI] [Google Scholar]
- 4.Blakemore R. Magnetotactic Bacteria. Science. 1975;190:377–379. doi: 10.1126/science.170679. [DOI] [PubMed] [Google Scholar]
- 5.Faivre D., Schüler D. Magnetotactic Bacteria and Magnetosomes. Chem. Rev. 2008;108:4875–4898. doi: 10.1021/cr078258w. [DOI] [PubMed] [Google Scholar]
- 6.Lins U., Farina M. Organization of cells in magnetotactic multicellular aggregates. Microbiol. Res. 1999;154:9–13. doi: 10.1016/S0944-5013(99)80028-7. [DOI] [Google Scholar]
- 7.Keim C.N., da Silva D.M., et al. de Barros H.L. Swimming behavior of the multicellular magnetotactic prokaryote ‘Candidatus Magnetoglobus multicellularis’ near solid boundaries and natural magnetic grains. Antonie Leeuwenhoek. 2021;114:1899–1913. doi: 10.1007/s10482-021-01649-w. [DOI] [PubMed] [Google Scholar]
- 8.Sales M.V.G., Lima B.S., Acosta-Avalos D. U-turn time and velocity dependence on the wavelength of light: multicellular magnetotactic prokaryotes of different sizes behave differently. Eur. Biophys. J. 2020;49:633–642. doi: 10.1007/s00249-020-01472-7. [DOI] [PubMed] [Google Scholar]
- 9.Chevrier D.M., Juhin A., et al. Lefèvre C.T. Collective magnetotaxis of microbial holobionts is optimized by the three-dimensional organization and magnetic properties of ectosymbionts. Proc. Natl. Acad. Sci. USA. 2023;120 doi: 10.1073/pnas.2216975120. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 10.Felfoul O., Mohammadi M., et al. Martel S. Magneto-aerotactic bacteria deliver drug-containing nanoliposomes to tumour hypoxic regions. Nat. Nanotechnol. 2016;11:941–947. doi: 10.1038/nnano.2016.137. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Gwisai T., Mirkhani N., et al. Schuerle S. Magnetic torque–driven living microrobots for increased tumor infiltration. Sci. Robot. 2022;7:eabo0665. doi: 10.1126/scirobotics.abo0665. [DOI] [PubMed] [Google Scholar]
- 12.Gandia D., Gandarias L., et al. Fdez-Gubieda M.L. Unlocking the Potential of Magnetotactic Bacteria as Magnetic Hyperthermia Agents. Small. 2019;15 doi: 10.1002/smll.201902626. [DOI] [PubMed] [Google Scholar]
- 13.Fdez-Gubieda M.L., Alonso J., et al. Muela A. Magnetotactic bacteria for cancer therapy. J. Appl. Phys. 2020;128 doi: 10.1063/5.0018036. [DOI] [Google Scholar]
- 14.Chen Y., Li Z.H., et al. Zhang X.Z. Bacteria-based bioactive materials for cancer imaging and therapy. Adv. Drug Deliv. Rev. 2023;193 doi: 10.1016/j.add.2023.114696. [DOI] [PubMed] [Google Scholar]
- 15.Reufer M., Besseling R., et al. Poon W.C.K. Switching of Swimming Modes in Magnetospirillium gryphiswaldense. Biophys. J. 2014;106:37–46. doi: 10.1016/j.bpj.2013.10.038. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Erglis K., Wen Q., et al. Cēbers A. Dynamics of Magnetotactic Bacteria in a Rotating Magnetic Field. Biophys. J. 2007;93:1402–1412. doi: 10.1529/biophysj.107.107474. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 17.Cebers A., Belovs M., Livanovičs R. Hydrodynamic synchronization of pairs of puller type magnetotactic bacteria in a high frequency rotating magnetic field. Soft Matter. 2019;15:1627–1632. doi: 10.1039/C8SM02118J. [DOI] [PubMed] [Google Scholar]
- 18.Belovs M., Livanovičs R., Cebers A. Synchronized rotation in swarms of magnetotactic bacteria. Phys. Rev. 2017;96 doi: 10.1103/PhysRevE.96.042408. [DOI] [PubMed] [Google Scholar]
- 19.Bente K., Kitenbergs G., et al. Cebers A. Motion of magnetotactic bacteria swarms in an external field. arXiv. 2017 doi: 10.48550/arXiv.1707.02827. Preprint at. [DOI] [Google Scholar]
- 20.Pierce C.J., Wijesinghe H., et al. Sooryakumar R. Hydrodynamic Interactions, Hidden Order, and Emergent Collective Behavior in an Active Bacterial Suspension. Phys. Rev. Lett. 2018;121 doi: 10.1103/PhysRevLett.121.188001. [DOI] [PubMed] [Google Scholar]
- 21.Pierce C.J., Wijesinghe H., et al. Sooryakumar R. Tunable self-assembly of magnetotactic bacteria: Role of hydrodynamics and magnetism. AIP Adv. 2020;10 doi: 10.1063/1.5129925. [DOI] [Google Scholar]
- 22.Pierce C.J., Mumper E., et al. Sooryakumar R. Tuning bacterial hydrodynamics with magnetic fields. Phys. Rev. E. 2017;95 doi: 10.1103/PhysRevE.95.062612. [DOI] [PubMed] [Google Scholar]
- 23.Thery A., Le Nagard L., et al. Lauga E. Self-organisation and convection of confined magnetotactic bacteria. Sci. Rep. 2020;10 doi: 10.1038/s41598-020-70270-0. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Marmol M., Gachon E., Faivre D. Colloquium : Magnetotactic bacteria: From flagellar motor to collective effects. Rev. Mod. Phys. 2024;96 doi: 10.1103/RevModPhys.96.021001. [DOI] [Google Scholar]
- 25.Popp F., Armitage J.P., Schüler D. Polarity of bacterial magnetotaxis is controlled by aerotaxis through a common sensory pathway. Nat. Commun. 2014;5:5398. doi: 10.1038/ncomms6398. [DOI] [PubMed] [Google Scholar]
- 26.Nadkarni R., Barkley S., Fradin C. A Comparison of Methods to Measure the Magnetic Moment of Magnetotactic Bacteria through Analysis of Their Trajectories in External Magnetic Fields. Kreplak L., editor. PLoS One. 2013;8 doi: 10.1371/journal.pone.0082064. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 27.Smyk S., Telezki V., et al. Klumpp S. Orientation fluctuations in magnetotactic swimming. Eur. Phys. J. Spec. Top. 2021;230:1099–1103. doi: 10.1140/epjs/s11734-021-00078-0. [DOI] [Google Scholar]
- 28.Zahn C., Keller S., et al. Kress H. Measurement of the magnetic moment of single Magnetospirillum gryphiswaldense cells by magnetic tweezers. Sci. Rep. 2017;7:3558. doi: 10.1038/s41598-017-03756-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Kalmijn A. Biophysics of geomagnetic field detection. IEEE Trans. Magn. 1981;17:1113–1124. doi: 10.1109/TMAG.1981.1061156. [DOI] [Google Scholar]
- 30.S Esquivel D.M., De Barros H.G.P.L. Motion of Magnetotactic Microorganisms. J. Exp. Biol. 1986;121:153–163. doi: 10.1242/jeb.121.1.153. [DOI] [Google Scholar]
- 31.Acosta-Avalos D., de Figueiredo A.C., et al. Abreu F. U-turn trajectories of magnetotactic cocci allow the study of the correlation between their magnetic moment, volume and velocity. Eur. Biophys. J. 2019;48:513–521. doi: 10.1007/s00249-019-01375-2. [DOI] [PubMed] [Google Scholar]
- 32.Codutti A., Charsooghi M.A., et al. Klumpp S. Interplay of surface interaction and magnetic torque in single-cell motion of magnetotactic bacteria in microfluidic confinement. eLife. 2022;11 doi: 10.7554/eLife.71527. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Pichel M.P., Hageman T., et al. Abelmann L. Magnetic response of Magnetospirillum gryphiswaldense observed inside a microfluidic channel. J. Magn. Magn Mater. 2018;460:340–353. doi: 10.1016/j.jmmm.2018.04.004. [DOI] [Google Scholar]
- 34.Le Nagard L., Yu L., Fradin C., et al. Misalignment between the magnetic dipole moment and the cell axis in the magnetotactic bacterium Magnetospirillum magneticum AMB-1. Phys. Biol. 2019;16 doi: 10.1088/1478-3975/ab2858. [DOI] [PubMed] [Google Scholar]
- 35.Rodriguez P.E.D.S., Sirinelli-Kojadinovic M., et al. Faivre D. Azide click chemistry on magnetotactic bacteria: A versatile technique to attach a cargo. Mater. Today Bio. 2023;19 doi: 10.1016/j.mtbio.2023.100587. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 36.Heyen U., Schüler D. Growth and magnetosome formation by microaerophilic Magnetospirillum strains in an oxygen-controlled fermentor. Appl. Microbiol. Biotechnol. 2003;61:536–544. doi: 10.1007/s00253-002-1219-x. [DOI] [PubMed] [Google Scholar]
- 37.Rudin L.I., Osher S., Fatemi E. Nonlinear total variation based noise removal algorithms. Phys. Nonlinear Phenom. 1992;60:259–268. doi: 10.1016/0167-2789(92)90242-F. [DOI] [Google Scholar]
- 38.The Reproduction of Colour. John Wiley & Sons, Ltd; 2004. Tone Reproduction; pp. 47–67. Chap. 6. [DOI] [Google Scholar]
- 39.Kapur J.N., Sahoo P.K., Wong A.K.C. A new method for gray-level picture thresholding using the entropy of the histogram. Comput. Vis. Graph Image Process. 1985;29:273–285. doi: 10.1016/0734-189X(85)90125-2. [DOI] [Google Scholar]
- 40.Haralick R.M., Sternberg S.R., Zhuang X. Image Analysis Using Mathematical Morphology. IEEE Trans. Pattern Anal. Mach. Intell. 1987;9:532–550. doi: 10.1109/TPAMI.1987.4767941. [DOI] [PubMed] [Google Scholar]
- 41.Inpaint. Wolfram Research. 2015. https://reference.wolfram.com/language/ref/Inpaint.html
- 42.Le T., Chartrand R., Asaki T.J. A Variational Approach to Reconstructing Images Corrupted by Poisson Noise. J. Math. Imaging Vis. 2007;27:257–263. doi: 10.1007/s10851-007-0652-y. [DOI] [Google Scholar]
- 43.Birjukovs M., Trtik P., et al. Jakovics A. Resolving Gas Bubbles Ascending in Liquid Metal from Low-SNR Neutron Radiography Images. Appl. Sci. 2021;11:9710. doi: 10.3390/app11209710. [DOI] [Google Scholar]
- 44.Birjukovs M., Bente K., et al. Cebers A. Magnetic control of magnetotactic bacteria swarms. arXiv. 2024 https://arxiv.org/abs/2404.18941 Preprint at. [Google Scholar]
- 45.Otsu N. A Threshold Selection Method from Gray-Level Histograms. IEEE Trans. Syst. Man Cybern. 1979;9:62–66. [Google Scholar]
- 46.Birjukovs M., Zvejnieks P., et al. Jakovics A. Particle tracking velocimetry in liquid gallium flow around a cylindrical obstacle. Exp. Fluids. 2022;63 doi: 10.1007/s00348-022-03445-2. [DOI] [Google Scholar]
- 47.Zvejnieks P., Birjukovs M., et al. Jakovics A. MHT-X: offline multiple hypothesis tracking with algorithm X. Exp. Fluids. 2022;63 doi: 10.1007/s00348-022-03399-5. [DOI] [Google Scholar]
- 48.Birjukovs M., Zvejnieks P., et al. Jakovics A. Particle tracking velocimetry and trajectory curvature statistics for particle-laden liquid metal flow in the wake of a cylindrical obstacle. Exp. Fluids. 2024;65:67. doi: 10.1007/s00348-024-03793-1. [DOI] [Google Scholar]
- 49.Orue I., Marcano L., et al. Fdez-Gubieda M.L. Configuration of the magnetosome chain: A natural magnetic nanoarchitecture. Nanoscale. 2018;10:7407–7419. doi: 10.1039/C7NR08493E. [DOI] [PubMed] [Google Scholar]
- 50.Leão P., Le Nagard L., et al. Abreu F. Magnetosome magnetite biomineralization in a flagellated protist: evidence for an early evolutionary origin for magnetoreception in eukaryotes. Environ. Microbiol. 2020;22:1495–1506. doi: 10.1111/1462-2920.14711. [DOI] [PubMed] [Google Scholar]
- 51.Bahaj A.S., James P.A.B., Moeschler F.D. An alternative method for the estimation of the magnetic moment of non-spherical magnetotactic bacteria. IEEE Trans. Magn. 1996;32:5133–5135. doi: 10.1109/20.539514. [DOI] [Google Scholar]
- 52.Velho Rodrigues M.F., Lisicki M., Lauga E. The bank of swimming organisms at the micron scale (BOSO-Micro) PLoS One. 2021;16:e0252291. doi: 10.1371/journal.pone.0252291. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 53.Kong L., Mizera I. Quantile tomography: Using quantiles with multivariate data. Stat. Sin. 2008;22:1589–1610. https://arxiv.org/abs/0805.0056 [Google Scholar]
- 54.Antonov A. Directional quantile envelopes. 2014. https://mathematicaforprediction.wordpress.com/2014/11/03/directional-quantile-envelopes/
- 55.Dah-Jye L., Antani S., Long L. Similarity measurement using polygon curve representation and Fourier descriptors for shape-based vertebral image retrieval. Proc. SPIE Int. Soc. Opt. Eng. 2003 doi: 10.1117/12.481912. [DOI] [Google Scholar]
- 56.Faivre D., Menguy N., et al. Schuler D. Environmental parameters affect the physical properties of fast-growing magnetosomes. Am. Mineral. 2008;93:463–469. doi: 10.2138/am.2008.2678. [DOI] [Google Scholar]
- 57.Le Nagard L., Morillo-López V., et al. Bazylinski D.A. Growing Magnetotactic Bacteria of the Genus Magnetospirillum: Strains MSR-1, AMB-1 and MS-1. JoVE J. 2018;140 doi: 10.3791/58536. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 58.Schübbe S., Kube M., et al. Schüler D. Characterization of a Spontaneous Nonmagnetic Mutant of Magnetospirillum gryphiswaldense Reveals a Large Deletion Comprising a Putative Magnetosome Island. J. Bacteriol. 2003;185:5779–5790. doi: 10.1128/JB.185.19.5779-5790.2003. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 59.Schanz D., Gesemann S., Schröder A. Shake-The-Box: Lagrangian particle tracking at high particle image densities. Exp. Fluid. 2016;57 doi: 10.1007/s00348-016-2157-1. [DOI] [Google Scholar]
- 60.Schröder A., Schanz D. 3D Lagrangian Particle Tracking in Fluid Mechanics. Annu. Rev. Fluid Mech. 2022;55:511–540. doi: 10.1146/annurev-fluid-031822-041721. [DOI] [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
Experimental data are available on reasonable request; please contact the corresponding author.
The image analysis, object tracking, and trajectory analysis code for calculations are available on GitHub:
-
•
MTB detection from images: Mihails-Birjukovs/MTB_detection_tracking.
-
•
MTB tracking: Peteris-Zvejnieks/MHT-X.
-
•
MTB magnetic moment retrieval from trajectories: Mihails-Birjukovs/MTB_magnetic_moment_from_U-turn_trajectories.















