$sth=$dba->dbc->prepare("select count(assembly_exception_id) from assembly_exception")
||die"Could not get number of rows in assembly_exception";
my$count_assembly_exception_id;
$sth->execute||die"problem executing";
$sth->fetch()||die"problem fetching";
$sth->finish;
print"starting new seq_region at seq_region_id of $max_seq_region_id\n";
if(defined($max_assembly_exception_id)){
print"\nTo reset\ndelete from dna where seq_region_id > $max_seq_region_id\ndelete from seq_region where seq_region_id > $max_seq_region_id\ndelete from assembly_exception where assembly_exception_id > $max_assembly_exception_id\n\n";