class_docstr: Extracts the class of the variant (possible values are keys in
  
  `classes_dict`) from INFO/`info_field_name` field in VCF file.
docstr: Creates a new CustomizedClassesVariantLabeler.
  
  Args:
    truth_vcf_reader: a VcfReader object that points to our truth variant set.
    confident_regions: A RangeSet containing all of the confidently called
      regions. A variant that falls outside of one of these regions will be
      receive a special not-confident marker.
    classes_list: A common-separated string of classes.
    info_field_name: the name in INFO field where we should get the customized
      field from.
  
  Raises:
    ValueError: if vcf_reader is None.
code: def __init__(
      self,
      truth_vcf_reader,
      confident_regions,
      classes_list,
      info_field_name,
  ):
      """Creates a new CustomizedClassesVariantLabeler.
  
      Args:
        truth_vcf_reader: a VcfReader object that points to our truth variant set.
        confident_regions: A RangeSet containing all of the confidently called
          regions. A variant that falls outside of one of these regions will be
          receive a special not-confident marker.
        classes_list: A common-separated string of classes.
        info_field_name: the name in INFO field where we should get the customized
          field from.
  
      Raises:
        ValueError: if vcf_reader is None.
      """
      super(CustomizedClassesVariantLabeler, self).__init__(
          truth_vcf_reader=truth_vcf_reader,
          confident_regions=confident_regions,
      )
      self.classes_list = classes_list
      self.info_field_name = info_field_name
  
file_path: deepvariant/deepvariant/labeler/customized_classes_labeler.py
imports: from deepvariant.labeler import positional_labeler
  from deepvariant.labeler import variant_labeler
  from third_party.nucleus.util import struct_utils
label_desc: Use image node_id 1 to create a new CustomizedClassesVariantLabeler object from inherited base classes: positional_labeler with example: obj = CustomizedClassesVariantLabeler(truth_vcf_reader, confident_regions, classes_list, info_field_name)