
ECL 290
Population Genetic Software
January 19, 2007
Whichloci tutorial
Generating Simulated Datasets (AKA Resampled Files)
1) Open Whichloci
2) Click the Select Baseline File button
3) Open your microsatellite dataset that’s in Genepop format (generated during the Convert
tutorial).
4) An Allele Frequencies File is automatically generated. You can save this file if you
wish (using the File menu) and later, when you use the program again, just import it
instead of the baseline file.
5) Click the Resample button. This will create your simulated populations based on the
allele frequencies just calculated, assuming HWE and no LD. You have options for how
many datasets to generate and how large you want the populations to be.
6) Click Ok. A new window will appear with your resampled data set. Save it (again using
the File menu) using a name like resampled_100a to remember what it is, then close
the window.
7) For today’s demonstration, repeat steps five and six to generate two more resampled files
with population sizes of 100 and one file with population sizes of 500.
8) Whichloci is now ready to perform analysis on these files. Below are four examples of
analyses that could be done.
What percentage of individuals in these datasets can be correctly assigned?
1) Click the Resampled File button. Open the first resampled file that you generated
above.
2) Uncheck the Loci Ranked By box. Some options should grey out. Assignment
Stringency should be at 0 and Use Critical Population Method should not be checked.
3) Click Execute. A report file will appear. You can save it if you like.
4) Scroll down to the bottom to see what percentage of simulated individuals were assigned
to the correct population.
5) Keep the report open but close your resampled file. Open a different resampled file and
repeat steps two through four.
6) Notice that the results are slightly different for each simulated dataset. The dataset with
the larger population gives more precise results.
7) If you have extra time, try clicking the Resample button and entering a number greater
than one for the number of datasets to generate. These resampled files will not appear in
windows, as the program is now running in batch mode. Click Execute. In the report
that is generated, you will now see more statistical information about the results, such as
mean and variance.
Raising the Assignment Stringency
1) Open the resampled file of your choice.