Multiscale learning and topological analysis across complex postures enable robust nematode size quantification in pharmacological assays

Body size is an important trait that reflects animal development and physiology. In nematodes, precise measurement is valuable for linking variation in body dimensions to biological questions such as developmental timing, genetic regulation, and drug responses. However, robust size measurements can be difficult to obtain because nematodes can vary in curvature, have self-intersecting postures, and overlap with neighboring animals. Current image analysis software, such as CellProfiler, can measure isolated animals in straight postures but struggles with curly or overlapping animals. Here, we present NemaSize, an artificial intelligence (AI)-aided pipeline to measure Caenorhabditis nematode body sizes across complex postures using multi-scale learning and topology-aware skeletonization. Using You Only Look Once (YOLO) models trained at different spatial scales, NemaSize first identifies individual animals in a large field of view (FOV; 6.75 × 6.75 mm) and then performs high-resolution body segmentation in the region of interest (ROI). Next, NemaSize converts segmented body masks into topological graph representations, allowing curly and overlapping animals to be classified and skeletonized according to the body topology. NemaSize achieved less than 4% overall error in length and width measurements across all posture classes. Compared to CellProfiler, NemaSize demonstrated higher robustness for complex postures, including a 48% error reduction in length measurements for curly or self-overlapping animals. Application of NemaSize in high-throughput imaging assays further shows that NemaSize provides accurate quantification of Caenorhabditis briggsae larval development in response to the anthelmintic drug ivermectin, a task that was difficult for CellProfiler because of curly animal postures. Together, NemaSize provides a robust approach for automated body size quantification for Caenorhabditis nematodes and will support broad applications in high-throughput pharmacological and genetic screens. Beyond nematodes, NemaSize introduces a multiscale computational framework for analyzing elongated biological objects with complex topologies.

Authors

Institutions

Publication Details

Journal
PLoS Computational Biology
Published
2026-11-30
DOI
https://doi.org/10.1371/journal.pcbi.1014998
Citations
1
Primary Topic
Cell Image Analysis Techniques
Type
article
Field-Weighted Citation Impact
1.41

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Multiscale learning and topological analysis across complex postures enable robust nematode size quantification in pharmacological assays

Nikita S. Jhaveri, Michael E.G. Sauria, Amanda O. Shaver, Erik C. Andersen et al.
1 citations
PLoS Computational Biology
Cell Image Analysis Techniques
1.41
article

Multiscale learning and topological analysis across complex postures enable robust nematode size quantification in pharmacological assays

Nikita S. Jhaveri, Michael E.G. Sauria, Amanda O. Shaver, Erik C. Andersen, Zihao Li, Kate Stone, Rachel Choo, Maya K. Mastronardo, Jack Weinstein, Grayson Benson, Colin Lilley, Rohan Shrishrimal, Ariel Shi, Cecilia Soko, Esha Sharma
article en
1 citations

Abstract

Body size is an important trait that reflects animal development and physiology. In nematodes, precise measurement is valuable for linking variation in body dimensions to biological questions such as developmental timing, genetic regulation, and drug responses. However, robust size measurements can be difficult to obtain because nematodes can vary in curvature, have self-intersecting postures, and overlap with neighboring animals. Current image analysis software, such as CellProfiler, can measure isolated animals in straight postures but struggles with curly or overlapping animals. Here, we present NemaSize, an artificial intelligence (AI)-aided pipeline to measure Caenorhabditis nematode body sizes across complex postures using multi-scale learning and topology-aware skeletonization. Using You Only Look Once (YOLO) models trained at different spatial scales, NemaSize first identifies individual animals in a large field of view (FOV; 6.75 × 6.75 mm) and then performs high-resolution body segmentation in the region of interest (ROI). Next, NemaSize converts segmented body masks into topological graph representations, allowing curly and overlapping animals to be classified and skeletonized according to the body topology. NemaSize achieved less than 4% overall error in length and width measurements across all posture classes. Compared to CellProfiler, NemaSize demonstrated higher robustness for complex postures, including a 48% error reduction in length measurements for curly or self-overlapping animals. Application of NemaSize in high-throughput imaging assays further shows that NemaSize provides accurate quantification of Caenorhabditis briggsae larval development in response to the anthelmintic drug ivermectin, a task that was difficult for CellProfiler because of curly animal postures. Together, NemaSize provides a robust approach for automated body size quantification for Caenorhabditis nematodes and will support broad applications in high-throughput pharmacological and genetic screens. Beyond nematodes, NemaSize introduces a multiscale computational framework for analyzing elongated biological objects with complex topologies.

PLoS Computational BiologyVol. 22(11)
Johns Hopkins University (US)
Johns Hopkins University
Openalex Percentile: Top 28%
Cell Image Analysis Techniques
1.41
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon