Suppose qtlcart is the filename stem, and use
as the integer code for the model,
for the hypothesis test, and for the number of repetitions, then
this snippet of psuedo-code will do a bootstrap analysis
Zmapqtl -A -V -X qtlcart -M
SSupdate.pl -I qtlcart.z qtlcart.z.boot
move qtlcart.z qtlcart.z.save
while {
Prune -A -V -i qtlcart.cro -b 1
Zmapqtl -A -V -M -i qtlcart.crb
SSupdate.pl -I -f qtlcart.z.boot qtlcart.z qtlcart.z.new
move qtlcart.z.new qtlcart.z.boot
delete qtlcart.z
}
SSupdate.pl -I -c -f qtlcart.z.boot qtlcart.z.booted
move qtlcart.z.save qtlcart.z
Except for the while loop line, he symbols above are for input and output redirection. SSupdate.pl is a Perl script available with the distribution of the programs (look in doc/scripts subdirectory). Note that the work is done in the while loop. For each repetition, a bootstrapped data set is created with Prune. This data will be placed in the file ending with .crb. Zmapqtl then analyzes this bootstrapped data. The script SSupdate.pl reads the results of the Zmapqtl run and updates a file with the sum and sum of squares of the test statistic and estimates of effects. Also, SSupdate.pl is run to initialize the boot file, so you will need to run Zmapqtl on the original data before doing the bootstrap. When this is finished, the script runs SSupdate.pl with the -c option to get the mean and variance of the likelihood ratio, additive effect and dominance effect at each test site. There is a C shell script called Bootstrap in the scripts subdirectory of the distribution that implements the above idea.