   `seq_region_start` int(11) NOT NULL,
   `seq_region_end` int(11) NOT NULL,
   `level` tinyint(4) NOT NULL,
-  `individual_id` int(10) unsigned NOT NULL,
+  `sample_id` int(10) unsigned NOT NULL,
   KEY `seq_region_idx` (`seq_region_id`,`seq_region_start`)
 ) ENGINE=MyISAM ;
 

) ENGINE=MyISAM ;

CREATE TABLE `compressed_genotype_region` (
  `individual_id` int(10) unsigned NOT NULL,
  `seq_region_id` int(10) unsigned NOT NULL,
  `seq_region_start` int(11) NOT NULL,
  `seq_region_end` int(11) NOT NULL,
  `seq_region_strand` tinyint(4) NOT NULL,
  `genotypes` blob,
  KEY `pos_idx` (`seq_region_id`,`seq_region_start`),
  KEY `individual_idx` (`individual_id`)
) ENGINE=MyISAM ;

CREATE TABLE `compressed_genotype_var` (

  `father_individual_id` int(10) unsigned DEFAULT NULL,
  `mother_individual_id` int(10) unsigned DEFAULT NULL,
  `individual_type_id` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`individual_id`),
  KEY `father_individual_idx` (`father_individual_id`),
  KEY `mother_individual_idx` (`mother_individual_id`)
) ENGINE=InnoDB  ;

CREATE TABLE `individual_synonym` (
  `synonym_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
