 create table allele_group(
 	allele_group_id int not null auto_increment,
 	variation_group_id int not null,
-	population_id int,
+	sample_id int,
 	name varchar(255),
 	source_id int,
 	frequency float,

#
# variation_feature_id_1 - FK, references variation_feature table
# variation_feature_id_2 - FK, references variation_feature table
# population_id - FK, references population
# seq_region_id_ - FK, references seq_region table
# seq_region_start_ - where the region start
# seq_region_end -  where the region ends

# allele_1 - first allele in the genotype
# allele_2 - second allele in the genotype
# frequency - frequency of the genotype in the population
# sample_id - foreign key, references population table
#

create table population_genotype (
