Creating simulation data
Previous  Top  Next

To use WinQTLCart's results graphing abilities, you need data for it to work on. If you haven't collected any data, though, you can still simulate a dataset that WinQTLCart can work with.

To create a data simulation file, select File>Simulation. This displays the Create Simulation Data series of dialogs.

Simulation-1

Fill in the blanks for yourself, or accept the defaults.

Sample size

Trait mean

Random seed.
Click the button to generate a new random seed.

Map function. Haldane (assumes no crossover interference) or Kosambi (assumes some crossover interference).

Cross Information. Select an experimental design option. You can select only one option to modify at a time. (At this time, only the three options below are available for selection.)
·B1. Backcross, with 1=parental line to which the F1 line was crossed.  
·B2. Backcross, with 2=parental line to which the F1 line was crossed.  
·SF. Selfed intercross line. Enter an integer indicating the generation. Limit is 2.  

Translation table. Edit or add tokens you want to use for these genotype markers; you can enter any alphanumeric character(s) as a token.
 
Note WinQTLCart assumes that the A allele is diagnostic for the High (parental 1) line and the a allele is diagnostic for the Low (parental 2) line. A minus sign (-) means the allele is unknown. WinQTLCart uses the numbers (2, 1, 0, 12, 10, -1) to determine how to encode the output of the genotypes. The alphanumeric tokens you enter here indicate how you have coded the markers in the source data. See the topic MCD file format for more information.  

Chromosome and marker information
·Total chromosome number. The total number of chromosomes. Click the spin dial to the right of this field to select more or fewer.  
·Current chromosome. Shows the active chromosome you're working on. Click the spin dial to the right of this field to select a new chromosome. You'll see the new chromosome's information in the Distance and Label boxes to the right.  
·Markers for chromosome. Total number of markers for this chromosome.  
·Average space between markers (cM). Produces marker positions randomly.  
·Variations of the marker positions (%). How many deviations are allowed, on average  
·Check Read marker positions from a text file and click Browse to select a text file containing that information. Also, select a marker distance type.  
·Position. Indicates that the numbers indicate positions from the left telomere of the current chromosome. This means the numbers should be in increasing order.  
·Interval. Indicates that the numbers are for the interval distance after a marker. This means that the last number, and the last number only, should be zero.  

Simulation-2


QTL numbers. Set the number of QTLs to appear in the file.
Heritability. Requires a value in the range 0.0 to 1.0. Default is 0.8.
Vd/Va. Dominant variance/Additive variance
Vi/Va. Epistatic variance/Additive variance

For the Additive, Dominant, and Epistatic effects you want to see in the simulation, you can select the following:
Effects direction  
·Same—All values are positive  
·Both—Values are positive and negative  
·Sign's Ratio—Ratio of negative:positive.  
Effects distribution  
·Equal—All effects have the same value  
·Normal—Values derive from normal distribution  
·Gamma—Values derive from gamma distribution  
·Parameter—Value for gamma distribution  

Enter simulation source data filename. The file name of the MCD file that will be created.

NoteFor more information on effects distribution and the additive, dominant, and epistatic effects, please refer to the QTL Cartographer's manual.  

Simulation-3

After inputting the parameters in the previous two dialogs, the final dialog presents the data simulation model you have built. Click in any cell to see that cell's values represented in the fields below.

Use the fields to edit a cell's contents. Click the Update button to write the change to the model.
·Click Save… to save your model to a .QPE (position and effects) file. The current working directory is selected as the default. (Click the X in the dialog's upper right corner to close without saving.)  
·Click Load… to load a .QPE file to this window. The file's values replace the values you see in the current window.  
·Click Adjustment to adjust values for the entire genome.  

Click OK to produce the simulation data file. You can then use that file for analysis.

Related topics
Showing QTL information