I have allele frequency and geneotypic frequency data of allozymes in natural populations of Drosophila. By using these data, how can i calculate selective sweep?
Selective sweeps generally only affect genetic variation at very closely linked loci, but the stronger the selection, the greater the extent of the effect. So it is usually evidenced by extensive sequence data, say along most of the length of a chromosome. I think you would need unusually extensive and dense sampling of isozyme loci to see a convincing reduction in heterozygosity in a chromosomal region. Allozymes don't reveal synonymous substitution and loci are highly heterogeneous in levels of heterozygosity. So all in all, I don't these data are suited to the task.
I totally agree with Prof Wallis. But if you still want to test your data, you can use Fdist2 (http://popgen.net/soft/lositan/ I can not find the original website for the Fdist2 software, but Lositan uses it) or Bayescan (http://cmpg.unibe.ch/software/BayeScan/). You can also use Arlequin (http://cmpg.unibe.ch/software/arlequin35/) for a method similar to Fdist2 with a hierarchical genetic structure.