Finished inserting tree, hmms and aln into the DB