Population to Population Genetic Distance Calculator
This calculator gives various measures of distance between populations.
If you want to calculate the Dlr distance measure (a.k.a. assignment test) used in Paetkau et. al. (1997)'s Genetics paper, then follow this link.
New - avoiding the clipboard with local load/save
The Virtual Clipboard for large datasets
Note on multi-page text windows
(Click here to go to the individual-level genetic distance calculator instead)
|Size of unit repeated in alleles||a single number for all loci, or one number per locus.|
|Number of alleles||the number of alleles at each locus (i.e. one number per locus).|
|Allele state (number of bp)||in this order: L1A1 L1A2 ... L1An L2A1 L2A2 ... (i.e. allele within locus)|
|Allele frequencies or counts||in this order: L1P1A1 L1P1A2 ... L1P1An L1P2A1 L1P2A2... L2P1A1
(For each locus, list data for each population; for each population, list frequency of each allele at that locus; i.e. allele within population within locus)
You should be able to copy and paste in and out of these windows, and your browser might support a Select All function (under its Edit menu) that selects the entire contents of whatever field you are in.
The sample data for bear populations is from Petkau and Strobeck (19xx).
Click "Calculate!" to run this example, or "Clear Inputs" to enter your own data.
How to Read/Write Files on Your Machine
The virtual clipboard was a clunky work around for the security that Java-enabled browsers impose (with good reason!) on web-programs. Provided you trust that you are getting an unmodified copy of this program from our website, you can save a copy on your machine so that data can be read from or written to files directly on your machine, without going through the network and virtual clipboard. This procedure only works for Netscape browsers.
Virtual Clipboard (for large files)
The Virtual Clipboard lets you paste data into or copy data out of multi-page windows. The ---> VC and <--- VC buttons move data to and from the virtual clipboard. If you see a "Browse" button below, then your browser will also let you copy a file on your machine to the Virtual Clipboard. You can then paste it from the V.C. into the calculator's input windows.
Name of file:
The Virtual Clipboard is Brainless
Is your window full of garbage after pasting? Unfortunately, the Virtual Clipboard knows nothing about file formats, so cutting and pasting directly from an Excel file will fill your window with junk (ie. raw Excel file bytes). You can, however, copy from the open Excel worksheet to a text editor, then save as text in a new file which you can then copy to the Virtual Clipboard. You can also just save a copy of your Excel file in tab-delimited text format, and copy that file to the VC. The point of the VC is just to help work around the limitations on window size in Netscape, MS Explorer, and probably other browsers.
(back to top)
Some browsers limit the size of text windows, so this program allows for bigger input and output using multiple pages. Each page is limited to around 10000 characters. To see if you have filled a page, try typing more characters at the end of the window. When you copy/paste in and out of this program, you have to do so one page at a time; the program has no control over cut/paste, and so can't tell when your input is bigger than one page. Use the Virtual Clipboard above to copy/paste large files.
(back to top)