code: def _mock_example_with_variant_and_alt_allele_indices(
      encoded_indices=b"\n\x01\x00", alleles=("A", "C")
  ):
      variant = test_utils.make_variant(
          chrom="X", alleles=alleles, start=10
      )
      feature = {
          "variant/encoded": _bytes_feature(
              [variant.SerializeToString()]
          ),
          "alt_allele_indices/encoded": _bytes_feature(
              [encoded_indices]
          ),
      }
      return example_pb2.Example(
          features=feature_pb2.Features(feature=feature)
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import glob
  import os
  from absl.testing import absltest
  from absl.testing import parameterized
  import numpy
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.testing import test_utils
  from third_party.nucleus.util import vis
  from tensorflow.core.example import example_pb2
  from tensorflow.core.example import feature_pb2
label_desc: Use image node_id 5 for calling a global function with example usage: _mock_example_with_variant_and_alt_allele_indices(encoded_indices, alleles) and returns: example_pb2