Hey Torque,
If MySQL DBI has an easy way to to this I would prefer to do it through this, but I am not sure how to do it...I had created the database using a .sql script, and inserted values using a Perl script to parse a file. What I would like is just a frequency calculated from a count of alleles in one table for each variation, divided by a count of alleles where reference=1 in the same table for each variation, so something like:
varioation, allele_total, allele_minor, frequency_of_allele_minor
1, 120, 40, 0.33
2, 222, 32, 0.14
Hope this helps...
