class_docstr: Represents the reference genome spanned by overlapping Variants.
  
  Each Variant affects a portion of the reference genome that is determined by
  its start and end coordinates. For a given set of Variants, they are deemed
  compatible if the total area along the reference genome that is called as
  non-reference genotypes never exceeds the ploidy of the organism.
docstr: Constructor.
  
  Args:
    overlapping_variants: list(Variant). The Variant protos of interest.
docstr_tok: ["Constructor",".","Args",":","overlapping_variants",":","list","(","Variant",")",".","The","Variant","protos","of","interest","."]
code: def __init__(self, overlapping_variants):
      """Constructor.
  
      Args:
        overlapping_variants: list(Variant). The Variant protos of interest.
      """
      min_start = min(v.start for v in overlapping_variants)
      self.variant_indices = [
          (v.start - min_start, v.end - min_start)
          for v in overlapping_variants
      ]
      self.size = max(v.end - min_start for v in overlapping_variants)
  
imports: import copy
  import itertools
  from absl import flags
  from absl import logging
  import numpy
  from third_party.nucleus.util import genomics_math
  from third_party.nucleus.util import variant_utils
label_desc: Use image node_id 1 to create a new _VariantCompatibilityCalculator object from inherited base classes: object with example: obj = _VariantCompatibilityCalculator(overlapping_variants)