def reference_contexts_for_variants(
        variants,
        context_size,
        transcript_id_whitelist=None):
    result = OrderedDict()
    for variant in variants:
        result[variant] = reference_contexts_for_variant(
            variant=variant,
            context_size=context_size,
            transcript_id_whitelist=transcript_id_whitelist)
    return result