<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.10.0">Jekyll</generator><link href="https://jthlab.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://jthlab.github.io/" rel="alternate" type="text/html" /><updated>2026-04-02T21:10:42+00:00</updated><id>https://jthlab.github.io/feed.xml</id><title type="html">Terhorst lab</title><subtitle></subtitle><author><name></name></author><entry><title type="html">Phlash Paper In Nature Genetics</title><link href="https://jthlab.github.io/2025/09/15/PHLASH-paper-in-Nature-Genetics.html" rel="alternate" type="text/html" title="Phlash Paper In Nature Genetics" /><published>2025-09-15T00:00:00+00:00</published><updated>2025-09-15T00:00:00+00:00</updated><id>https://jthlab.github.io/2025/09/15/PHLASH-paper-in-Nature-Genetics</id><content type="html" xml:base="https://jthlab.github.io/2025/09/15/PHLASH-paper-in-Nature-Genetics.html"><![CDATA[<p>Our <a href="https://www.nature.com/articles/s41588-025-02323-x">PHLASH paper</a>, <em>Accelerated Bayesian inference of population size history from recombining sequence data</em>, has (finally!) appeared in <em>Nature Genetics</em>. The paper introduces a new Bayesian method for demographic inference from whole-genome sequence data that is fast, scalable, phase-invariant, and equipped with uncertainty quantification. A key technical ingredient is a new algorithm for computing the score function of a coalescent hidden Markov model at essentially the same cost as evaluating the likelihood, which makes full Bayesian inference practical on modern hardware.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Our PHLASH paper, Accelerated Bayesian inference of population size history from recombining sequence data, has (finally!) appeared in Nature Genetics. The paper introduces a new Bayesian method for demographic inference from whole-genome sequence data that is fast, scalable, phase-invariant, and equipped with uncertainty quantification. A key technical ingredient is a new algorithm for computing the score function of a coalescent hidden Markov model at essentially the same cost as evaluating the likelihood, which makes full Bayesian inference practical on modern hardware.]]></summary></entry><entry><title type="html">Congrats Dat Do!</title><link href="https://jthlab.github.io/2025/04/28/Congrats-Dat-Do!.html" rel="alternate" type="text/html" title="Congrats Dat Do!" /><published>2025-04-28T00:00:00+00:00</published><updated>2025-04-28T00:00:00+00:00</updated><id>https://jthlab.github.io/2025/04/28/Congrats-Dat-Do!</id><content type="html" xml:base="https://jthlab.github.io/2025/04/28/Congrats-Dat-Do!.html"><![CDATA[<p>Congratulations to Dat on successfully defending his dissertation! (Postscript: and on moving to the University of Chicago as a prestigious Kruskal Instructor!) Dat did beautiful work at the intersection of statistical theory, latent variable models, and population genetics, and it was a pleasure to have him in the group. We will miss him in Ann Arbor and are excited to watch the next stage of his career in Chicago.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Congratulations to Dat on successfully defending his dissertation! (Postscript: and on moving to the University of Chicago as a prestigious Kruskal Instructor!) Dat did beautiful work at the intersection of statistical theory, latent variable models, and population genetics, and it was a pleasure to have him in the group. We will miss him in Ann Arbor and are excited to watch the next stage of his career in Chicago.]]></summary></entry><entry><title type="html">Gaia Paper In Science</title><link href="https://jthlab.github.io/2025/03/28/GAIA-paper-in-Science.html" rel="alternate" type="text/html" title="Gaia Paper In Science" /><published>2025-03-28T00:00:00+00:00</published><updated>2025-03-28T00:00:00+00:00</updated><id>https://jthlab.github.io/2025/03/28/GAIA-paper-in-Science</id><content type="html" xml:base="https://jthlab.github.io/2025/03/28/GAIA-paper-in-Science.html"><![CDATA[<p>The <a href="https://www.science.org/doi/10.1126/science.adp4642">GAIA paper</a>, has now appeared in <em>Science</em>. Huge credit to Michael Grundler for leading this project! GAIA uses georeferenced tree sequences to infer where shared human genetic ancestors lived through time, yielding a spatiotemporal view of ancestry rather than a single static label. It was a fun collaboration, and I think the paper opens up some interesting new directions at the interface of population genetics, genealogy, and spatial inference.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[The GAIA paper, has now appeared in Science. Huge credit to Michael Grundler for leading this project! GAIA uses georeferenced tree sequences to infer where shared human genetic ancestors lived through time, yielding a spatiotemporal view of ancestry rather than a single static label. It was a fun collaboration, and I think the paper opens up some interesting new directions at the interface of population genetics, genealogy, and spatial inference.]]></summary></entry><entry><title type="html">Congrats Enes!</title><link href="https://jthlab.github.io/2023/06/01/Congrats-Enes!.html" rel="alternate" type="text/html" title="Congrats Enes!" /><published>2023-06-01T00:00:00+00:00</published><updated>2023-06-01T00:00:00+00:00</updated><id>https://jthlab.github.io/2023/06/01/Congrats-Enes!</id><content type="html" xml:base="https://jthlab.github.io/2023/06/01/Congrats-Enes!.html"><![CDATA[<p>Congratulations to Enes on successfully defending! Enes worked on a wide range of problems in evolutionary statistics, from natural selection to demographic inference and phylogenetics, and he was a terrific colleague and labmate throughout his time here. We will miss him and wish him all the best in this next chapter.</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Congratulations to Enes on successfully defending! Enes worked on a wide range of problems in evolutionary statistics, from natural selection to demographic inference and phylogenetics, and he was a terrific colleague and labmate throughout his time here. We will miss him and wish him all the best in this next chapter.]]></summary></entry><entry><title type="html">Congrats Yifan!</title><link href="https://jthlab.github.io/2022/08/16/Congrats-Yifan!.html" rel="alternate" type="text/html" title="Congrats Yifan!" /><published>2022-08-16T00:00:00+00:00</published><updated>2022-08-16T00:00:00+00:00</updated><id>https://jthlab.github.io/2022/08/16/Congrats-Yifan!</id><content type="html" xml:base="https://jthlab.github.io/2022/08/16/Congrats-Yifan!.html"><![CDATA[<p>Congratulations to Yifan for successfully defending! Yifan did interesting work on several challenging problems related to coalescent hidden Markov models. It’s hard to believe that we’ve been working together for five years! Yifan’s future plans are up in the air but I’m sure he will do well wherever he lands. Good luck Yifan!</p>]]></content><author><name></name></author><summary type="html"><![CDATA[Congratulations to Yifan for successfully defending! Yifan did interesting work on several challenging problems related to coalescent hidden Markov models. It’s hard to believe that we’ve been working together for five years! Yifan’s future plans are up in the air but I’m sure he will do well wherever he lands. Good luck Yifan!]]></summary></entry><entry><title type="html">New Paper On Li Stephens</title><link href="https://jthlab.github.io/2022/08/06/New-Paper-on-Li-Stephens.html" rel="alternate" type="text/html" title="New Paper On Li Stephens" /><published>2022-08-06T00:00:00+00:00</published><updated>2022-08-06T00:00:00+00:00</updated><id>https://jthlab.github.io/2022/08/06/New-Paper-on-Li-Stephens</id><content type="html" xml:base="https://jthlab.github.io/2022/08/06/New-Paper-on-Li-Stephens.html"><![CDATA[<p>Today we posted a <a href="https://www.biorxiv.org/content/10.1101/2022.08.03.502674v1">new paper</a> on the Li-Stephens (LS) haplotype copying model. LS is a beautiful technique for approximating the likelihood of a sample of whole genome sequence data, which is otherwise very hard to evaluate because of the astronomically large number of ancestry scenarios that could have generated the data. 
If you work in stat gen, chances are good you have used this model, perhaps without realizing it, since it underpins a lot of other extremely popular computational methods, including IMPUTE, SHAPEIT, EAGLE, fastPHASE, and maCH. For a brief summary of the method and all its applications, see this <a href="https://academic.oup.com/genetics/article/203/3/1005/6066789">review paper</a> by Yun Song, or just read the <a href="https://academic.oup.com/genetics/article/165/4/2213/6050566">original paper</a>, which is very nice and not too technical.</p>

<p>As with any pop gen method, the output of the LS algorithm depends on some population genetic parameters, in this case the rates of recombination and mutation. We were curious how the output of the LS algorithm changes in response to perturbations in these parameters. Answering this question rigorously turns out to be statistically and mathematically interesting, with connections to convex analysis and changepoint detection. It’s also practically important since, presumably, the performance of the many algorithms founded upon LS depends on setting these parameters in an optimal way.</p>

<p>Our contribution here is to derive an efficient algorithm for uncovering <em>all</em> of the possible solutions to the LS algorithm in a single run. This is akin to what the LARS algorithm does for the LASSO problem (\(\ell_1\) penalized regression). Unlike regression, in practice, the “answer” to LS is not known (and potentially not even defined), but using simulations and our algorithm, we can study how different parameterizations affect the ability to do certain tasks like imputation and phasing.</p>

<p>One interesting finding from our paper is that using the “population-scaled” rates of recombination and mutation might actually be suboptimal, at least for some problem instances. In the graphic below, we compared the distribution of switch errors committed by a haplotype phasing algorithm over repeated simulations. The orange histogram is the distribution when the population-scaled values are used. The blue histogram is what we get 
by using our algorithm to figure out the best possible settings for these parameters in each run. At least on the simulation considered here, there is a gap of a few percentage points in switch error that could possibly be erased by parameter tuning.</p>

<p><img src="/assets/img/blog/2022-08-06/switch_error.png" alt="phasing error" /></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Today we posted a new paper on the Li-Stephens (LS) haplotype copying model. LS is a beautiful technique for approximating the likelihood of a sample of whole genome sequence data, which is otherwise very hard to evaluate because of the astronomically large number of ancestry scenarios that could have generated the data. If you work in stat gen, chances are good you have used this model, perhaps without realizing it, since it underpins a lot of other extremely popular computational methods, including IMPUTE, SHAPEIT, EAGLE, fastPHASE, and maCH. For a brief summary of the method and all its applications, see this review paper by Yun Song, or just read the original paper, which is very nice and not too technical.]]></summary></entry><entry><title type="html">Congrats Caleb!!</title><link href="https://jthlab.github.io/2022/04/27/Congrats-Caleb!!.html" rel="alternate" type="text/html" title="Congrats Caleb!!" /><published>2022-04-27T00:00:00+00:00</published><updated>2022-04-27T00:00:00+00:00</updated><id>https://jthlab.github.io/2022/04/27/Congrats-Caleb!!</id><content type="html" xml:base="https://jthlab.github.io/2022/04/27/Congrats-Caleb!!.html"><![CDATA[<p>Congratulations to Caleb for successfully defending and graduating! It was great
to get a chance to meet Caleb’s family, and he was my first student to boot! Caleb
is off to New York City to be a data scientist for Lyft. He will be missed!</p>

<p><img src="/assets/img/blog/2022-04-28/IMG_0261.jpg" alt="caleb and jonathan" /></p>]]></content><author><name></name></author><summary type="html"><![CDATA[Congratulations to Caleb for successfully defending and graduating! It was great to get a chance to meet Caleb’s family, and he was my first student to boot! Caleb is off to New York City to be a data scientist for Lyft. He will be missed!]]></summary></entry></feed>