Biol 5221 Laboratory Manual

A laboratory manual for the Biol 5221 course providing Python programming instructions and examples for simulating genetic drift, mutation, and genealogies.


Biol 5221 Laboratory Manual - cover page
Category
Other software
Document type
Other
Language
English
Pages
59
File format
PDF
File size
410 KB
Published
08 November, 2026
Updated
08 November, 2026
MD5 checksum
1D1953F501278B96204BE83A564DE1AC

About this manual

This document is a laboratory manual for the Biol 5221 course, authored by Alan Rogers and Jon Seger. It serves as a guide for students to perform computational simulations using Python.

What's inside

  • Simulating Genetic Drift and Mutation
  • Simulating Gene Genealogies
  • Using Simulation to Test a Statistical Hypothesis
  • Simulating Selection and Drift
  • Using HapMap
  • Heterozygosity of HapMap SNPs
  • Linkage Disequilibrium in the Human Genome
  • Linkage Disequilibrium Near the Human Lactase Gene
  • More Python
  • Tabulating Frequency Distributions

Frequently asked questions

What is the purpose of the bnldev function in the simulation?

The bnldev function generates random values from the binomial distribution to simulate the number of copies of an allele in the next generation.

What are the parameters required for the bnldev command?

The command requires N, which is the number of trials, and p, which is the probability of success on each trial.

How many generations should the simulation run to completion?

The program should run to completion in 100 generations or so.

Download PDF (410 KB)

Also Manuals