Lab exercise on genome-wide association analysis

It took me a bit longer to make sure the data and associated scripts were performing the way I wanted them to, but the lab exercise for week 13 is now posted. You’ll be running a genome-wide association analysis on a subset of data collected in an analysis of gypsy moths (Lymantria dispar). This is only an example. You can look at the Stan code if you want. If you do, you’ll see that it’s just the linear regression that we’ll discuss in class on Thursday with some magic added to take care of the relatedness among individuals. If you were doing a real GWAS, I wouldn’t recommend using this script. I’d recommend using GEMMA or something like it that was built by experts in GWAS specifically for the purpose of GWAS. There are a lot of things to be careful about that aren’t built into these simple scripts, but they illustrate the principle so that you can get a sense of how GWAS might be used in your own research.

As usual, you can find a link to the lab from the Lecture Schedule page (or you can in a few minutes when I get it posted) or from the link here.

Error in notes corrected

We found an error in the equation describing the covariance in half-sibs as I was lecturing on Thursday. I just verified that the error is also in the accompanying notes – not surprising since the lecture slides are directly extracted from the lecture notes. I’ve now corrected the notes and uploaded new versions. You can find them either from the Lecture Detail page or from the links below. The correction will also appear in the book version of the notes that I’ll compile at the end of the semester.

  • Resemblance among relatives (HTML)(PDF)

Apps to illustrate principles of quantitative genetics

It took me longer than it should have, but I finally added a link to the app I used in Tuesday’s lecture to illustrate partitioning of the genetic variance into additive and dominance components. You’ll find the link below and in the lecture detail page for Tuesday and for Thursday. In the lecture detail page for Thursday you’ll also find a link to an app illustrating the resemblance between parents and offspring. As noted there, I discovered that there’s a problem in simulations involving non-additive allelic effects. I plan to investigate and fix the problem over Thanksgiving break. I’ll post a note here when I’ve fixed it.

Estimating heritability from half-sibs

Lab 12 has now been posted to the course website. As usual, you’ll find a link below and from the Lab Schedule page. I spent nearly my whole weekend working out a few details that I realized I didn’t quite understand to make sure that this exercise makes sense. Unfortunately, that means that I still haven’t done any grading. I almost certainly won’t have time this week, so you can guess what I’ll be doing over Thanksgiving break. I apologize for falling so far behind in grading. The good news is that I’ve taken a quick look at a few of the exercises that have been turned in, and if that sample is representative, everyone has a good handle on everything we’re doing.

See you on Tuesday.

As a reminder, the lab exercise that is due on Friday, 11 December is the last exercise for the course and there will not be a final course evaluation. Once you’ve turned in the exercise for Lab 14, you’ve completed everything I expect. I hope when you turn it in you’ll be able to say as one of my former students did, “This was a good thing to have done.”

Sohini Ramchandaran in EEB seminar on Thursday

Flyer for 11 November 2021 seminar in EEB

I mentioned in passing a few weeks ago that Sohini Ramchandaran will be presenting a seminar in EEB this fall. As a matter of fact, she’ll be presenting her seminar this Thursday at 3:30pm via Zoom. The timing of her seminar is perfect. (You might almost think I planned it this way.) She’ll be discussing how to make inferences about the genetic basis of complex traits, and you’ll have a chance to see some very modern approaches to quantitative genetics. It provides a preview of where we’ll be heading from Thursday morning through the end of the semester.

By the way, Sohini and I are academic siblings, although she’s much younger (and more accomplished) than I am. Our major advisor was Marcus Feldman.

Project 3: Natural selection in the human genome

I’ve just posted Project 3 on the course website. As with Project 2, you won’t need to analyze any data or run any simulations. Instead, you’ll need to read a paper, think about the techniques the authors used to detect natural selection (which are different from those we discussed in lecture), and answer some questions about the analysis and its implications. You can find a link to the project on the Lab Schedule page or you can follow the link below.

In other course-related news, I’ve included a YouTube video on the lecture detail page for Tuesday’s lecture. It provides a brief overview of sparg, the approach to inferring the spatial location of ancestors and the dispersal history from individual-level data. We’ll discuss sparg on Tuesday, but you may find it helpful to review the video before then.

McVicker, G., D. Gordon, and P. Green. 2009. Widespread genomic signatures of natural selection in hominid evolution. PLoS Genetics https://doi.org/10.1371/journal.pgen.1000471

IMPORTANT NOTE: The link to the paper was working Saturday afternoon, but it seems to be broken now (2:45pm, 7 November). The error message says this is “a likely temporary condition.” I’ll keep an eye on it. If it isn’t fixed soon, we’ll have to regroup. I also tried to get to some other papers on the PLoS Genetics website, and it appears to be affecting the whole site. The error message mentions a server configuration issue.

Update 8:05am, 8 November: I don’t know when the PLoS Genetics site came back up, but it’s up now. If you tried to get to the paper before and couldn’t, you should be able to get to it now. I’ve also downloaded a PDF that I can share if we run into trouble again.