code: def split_independent_variants(variants_and_genotypes):
      """Splits variants_and_genotypes into an overlapping group and remaining."""
      if not variants_and_genotypes:
          raise ValueError(
              "Expected at least one value in variants_and_genotypes"
          )
  
      overlaps = [variants_and_genotypes[0]]
      for i in range(1, len(variants_and_genotypes)):
          vgi = variants_and_genotypes[i].variant
          if any(
              variant_utils.variants_overlap(vg.variant, vgi)
              for vg in overlaps
          ):
              overlaps.append(variants_and_genotypes[i])
          else:
              return overlaps, variants_and_genotypes[i:]
      return overlaps, []
  
imports: import collections
  import copy
  import enum
  import heapq
  import itertools
  from absl import logging
  from deepvariant.labeler import variant_labeler
  from deepvariant.protos import deepvariant_pb2
  from third_party.nucleus.io import fasta
  from third_party.nucleus.util import ranges
  from third_party.nucleus.util import variant_utils
  from third_party.nucleus.util import variantcall_utils
label_desc: Use image node_id 7 for calling a global function with example usage: split_independent_variants(variants_and_genotypes) and returns: overlaps,  list, overlaps,  variants_and_genotypes