PMPatrick T. McGrath

Patrick T. McGrath

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article

Previous Organizations / Institutes

The organizations / institutes from the scholar's other articles in the past ten years


Patrick T. McGrath has a total of 115 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    Large inversions in Lake Malawi cichlids are associated with habitat, lineage, and sex determination

    by Nikesh M Kumar, Taylor L Cooper, Thomas D Kocher, Jeffrey Todd Streelman, Patrick T McGrath

    Chromosomal inversions are an important class of genetic variation that link multiple alleles together into a single inherited block that can have important effects on fitness. To study the role of large inversions in the massive evolutionary radiation of Lake Malawi cichlids, we used long-read technologies to identify four single and two tandem inversions that span half of each respective chromosome, and which together encompass over 10% of the genome. Each inversion is fixed in one of the two states within the seven major ecogroups, suggesting they played a role in the separation of the major lake lineages into specific lake habitats. One exception is within the benthic sub-radiation, where both inverted and non-inverted alleles continue to segregate within the group. The evolutionary histories of three of the six inversions suggest they transferred from the pelagic Diplotaxodon group into benthic ancestors at the time the benthic sub-radiation was seeded. The remaining three inversions are found in a subset of benthic species living in deep waters. We show that some of these inversions are linked to XY sex-determination systems but are also likely limited to a subset of total lake species. Our work suggests that inversions have been under both sexual and natural selection in Lake Malawi cichlids and that they will be important to understanding how this adaptive radiation evolved.

  • Open Access

    AquaMVS: refraction-aware multi-view stereo for planar air–water interfaces

    by Tucker Lancaster, Patrick T. McGrath

  • Open Access

    AquaMVS: refraction-aware multi-view stereo for planar air–water interfaces

    by T. Lancaster, P. McGrath

    Dense 3D surface reconstruction is a well-established capability for scenes imaged in a single optical medium (in practice air). Multi-view stereo (MVS) pipelines, however, embed a pinhole projection model that breaks when the scene is viewed through a flat refractive interface: the ray bending is depthdependent and non-linear, so the straight-line geometry MVS relies on no longer holds. Existing refraction-aware reconstruction has largely targeted mobile, single-camera capture rather than a fixed, synchronized multi-camera array sharing a single flat interface. AquaMVS is an open-source Python library that fills this gap. A single refractive projection model enters every image-to-3D operation: triangulation, dense depth estimation, and multiview consistency filtering. Reconstruction runs through two matching frontends sharing this model and a common fusion stage: a sparse LightGlue matcher densified by a classical refractive plane-sweep, and the RoMa v2 dense matcher whose correspondences are triangulated directly. We demonstrate AquaMVS on a 13-camera rig reconstructing the animal-reshaped substrate of a 2460 L aquarium tank, where the RoMa v2 pathway recovers 2.1× as many surface points as the classical pathway at comparable runtime. Against a submerged target of known geometry, the reconstructed surface is flat to 1.09 mm (out-of-plane noise) and holds its scale across the working volume. The same model handles any single flat interface between two media of differing refractive index, reducing to pinhole MVS as that index ratio approaches one. AquaMVS draws its calibration from the companion AquaCal library, making the full path from raw multi-camera capture to a dense, metrically-scaled surface mesh available as open source.

  • Open Access

    AquaCal: refraction-aware multi-camera calibration for planar air–water interfaces

    by T. Lancaster, P. McGrath

    Multi-camera 3D reconstruction through a flat refractive interface suffers systematic depth-axis bias under standard pinhole calibration: refraction at the interface produces depth-dependent distortion that no radial polynomial can absorb. Existing open-source refractive tools target single-camera or mobile-camera structure-from-motion (SfM) workflows. None addresses the complementary geometry of a fixed multi-camera array sharing a single flat interface, the configuration common to laboratory aquaria, aquaculture monitoring systems, and inspection of fluid-filled industrial vessels. AquaCal is an open-source Python library that folds an explicit model of interface refraction, governed by Snell’s law, into a multi-camera bundle adjustment built on established best practices, jointly estimating the camera extrinsics, a shared water-surface height, and the per-frame position and orientation of the calibration target. On synthetic data, AquaCal achieves 1.9 mm depth-axis RMSE at 2.5 m — a ∼135× improvement over non-refractive calibration — and triangulated inter-corner distance RMSE that stayed sub-millimeter even beyond the calibrated volume. On a 13-camera production rig, it achieves 0.674 mm RMSE on 60 mm inter-corner distances (0.45% mean relative error).

  • Open Access

    A Chromosome Inversion Creates a Supergene for Sex and Colour in Lake Malawi Cichlids

    by Kristen A. Behrens, Soumya Jailwala, Frances E. Clark, Anne C. Meyer, Nikesh M. Kumar, Adrianus F. Konings, Reade B. Roberts, Matthew A. Conte, Jeffrey T. Streelman, Patrick T. McGrath, et al.

    Cichlid fishes have the highest rates of evolutionary turnover of sex chromosomes among vertebrates. Many large structural polymorphisms in the radiation of cichlids in Lake Malawi are associated with sex chromosomes and may also carry adaptive variation. Here, we investigate the structure and evolutionary history of an inversion polymorphism that includes both a ZW sex locus and an orange‐blotch colour polymorphism in the rock‐dwelling cichlid fishes of Lake Malawi. We use long‐read sequencing to characterise the sequence and breakpoints of the inversion. We quantify allele frequency differences across the inversion in population samples of the genera Metriaclima and Labeotropheus. We also examine expression differences of genes in the inversion. The simple inversion spans 7 Mb and is flanked by CACTA transposons that may have catalysed the rearrangement. The region includes ~600 genes, several of which show large differences in expression. Some of these genes are candidates for the sex and colour phenotypes. This inversion is an accessible model system for studying the role of structural polymorphisms and sex chromosome turnover in the adaptive radiation of cichlids in the lakes of East Africa.


  • Open Access

    Large inversions in Lake Malawi cichlids are associated with habitat preference, lineage, and sex determination

    by Nikesh M Kumar, Taylor L Cooper, Thomas D Kocher, J Todd Streelman, Patrick T McGrath

    Chromosomal inversions are an important class of genetic variation that link multiple alleles together into a single inherited block that can have important e7ects on fitness. To study the role of large inversions in the massive evolutionary radiation of Lake Malawi cichlids, we used long-read technologies to identify four single and two tandem inversions that span half of each respective chromosome, and which together encompass over 10% of the genome. Each inversion is fixed in one of the two states within the seven major ecogroups, suggesting they played a role in the separation of the major lake lineages into specific lake habitats. One exception is within the benthic sub-radiation, where both inverted and non-inverted alleles continue to segregate within the group. The evolutionary histories of three of the six inversions suggest they transferred from the pelagic Diplotaxodon group into benthic ancestors at the time the benthic sub-radiation was seeded. The remaining three inversions are found in a subset of benthic species living in deep waters. We show that some of these inversions are used as XY sex-determination systems but are also likely limited to a subset of total lake species. Our work suggests that inversions have been under both sexual and natural selection in Lake Malawi cichlids and that they will be important to understanding how this adaptive radiation evolved.


  • Open Access

    SARTAB, a scalable system for automated real-time behavior detection based on animal tracking and Region Of Interest analysis: validation on fish courtship behavior

    by Tucker J. Lancaster, Kathryn N. Leatherbury, Kseniia Shilova, Jeffrey T. Streelman, Patrick T. McGrath

    Methods from Machine Learning (ML) and Computer Vision (CV) have proven powerful tools for quickly and accurately analyzing behavioral recordings. The computational complexity of these techniques, however, often precludes applications that require real-time analysis: for example, experiments where a stimulus must be applied in response to a particular behavior or samples must be collected soon after the behavior occurs. Here, we describe SARTAB (Scalable Automated Real-Time Analysis of Behavior), a system that achieves automated real-time behavior detection by continuously monitoring animal positions relative to behaviorally relevant Regions Of Interest (ROIs). We then show how we used this system to detect infrequent courtship behaviors in Pseudotropheus demasoni (a species of Lake Malawi African cichlid fish) to collect neural tissue samples from actively behaving individuals for multiomic profiling at single nucleus resolution. Within this experimental context, we achieve high ROI and animal detection accuracies (mAP@[.5 : .95] of 0.969 and 0.718, respectively) and 100% classification accuracy on a set of 32 manually selected behavioral clips. SARTAB is unique in that all analysis runs on low-cost, edge-deployed hardware, making it a highly scalable and energy-efficient solution for real-time experimental feedback. Although our solution was developed specifically to study cichlid courtship behavior, the intrinsic flexibility of neural network analysis ensures that our approach can be adapted to novel species, behaviors, and environments.


  • Open Access

    Large inversions in Lake Malawi cichlids are associated with habitat preference, lineage, and sex determination

    by Nikesh M. Kumar, Taylor L. Cooper, Thomas D. Kocher, J. Todd Streelman, Patrick T. McGrath

    Chromosomal inversions are an important class of genetic variation that link multiple alleles together into a single inherited block that can have important e7ects on fitness. To study the role of large inversions in the massive evolutionary radiation of Lake Malawi cichlids, we used long-read technologies to identify four single and two tandem inversions that span half of each respective chromosome, and which together encompass over 10% of the genome. Each inversion is fixed in one of the two states within the seven major ecogroups, suggesting they played a role in the separation of the major lake lineages into specific lake habitats. One exception is within the benthic sub-radiation, where both inverted and non-inverted alleles continue to segregate within the group. The evolutionary histories of three of the six inversions suggest they transferred from the pelagic Diplotaxodon group into benthic ancestors at the time the benthic sub-radiation was seeded. The remaining three inversions are found in a subset of benthic species living in deep waters. We show that some of these inversions are used as XY sex-determination systems but are also likely limited to a subset of total lake species. Our work suggests that inversions have been under both sexual and natural selection in Lake Malawi cichlids and that they will be important to understanding how this adaptive radiation evolved.


  • Open Access

    A toxin-antidote selfish element increases fitness of its host

    by Lijiang Long, Wen Xu, Francisco Valencia, Annalise B Paaby, Patrick T McGrath

    Selfish genetic elements can promote their transmission at the expense of individual survival, creating conflict between the element and the rest of the genome. Recently, a large number of toxin-antidote (TA) post-segregation distorters have been identified in non-obligate outcrossing nematodes. Their origin and the evolutionary forces that keep them at intermediate population frequencies are poorly understood. Here, we study a TA element in Caenorhabditis elegans called zeel-1;peel-1. Two major haplotypes of this locus, with and without the selfish element, segregate in C. elegans. We evaluate the fitness consequences of the zeel-1;peel-1 element outside of its role in gene drive in non-outcrossing animals and demonstrate that loss of the toxin peel-1 decreased fitness of hermaphrodites and resulted in reductions in fecundity and body size. These findings suggest a biological role for peel-1 beyond toxin lethality. This work demonstrates that a TA element can provide a fitness benefit to its hosts either during their initial evolution or by being co-opted by the animals following their selfish spread. These findings guide our understanding on how TA elements can remain in a population where gene drive is minimized, helping resolve the mystery of prevalent TA elements in selfing animals.