Rewritten to be more tolerant of job failures
Moved get_all_allele_ids_table_maker out of this module, because it does not really belong here