class_docstr: Class for reading from native VCF files.
  
  Most users will want to use VcfReader instead, because it dynamically
  dispatches between reading native VCF files and TFRecord files based
  on the filename's extensions.
class_docstr_tok: ["Class","for","reading","from","native","VCF","files",".","Most","users","will","want","to","use","VcfReader","instead",",","because","it","dynamically","dispatches","between","reading","native","VCF","files","and","TFRecord","files","based","on","the","filename","'s","extensions","."]
docstr: Initializer for NativeVcfReader.
  
  Args:
    input_path: str. The path to the VCF file to read.
    excluded_info_fields: list(str). A list of INFO field IDs that should not
      be parsed into the Variants. If None, all INFO fields are included.
    excluded_format_fields: list(str). A list of FORMAT field IDs that should
      not be parsed into the Variants. If None, all FORMAT fields are
      included.
    store_gl_and_pl_in_info_map: bool. If True, the "GL" and "PL" FORMAT
      fields are stored in the VariantCall.info map rather than as top-level
      values in the VariantCall.genotype_likelihood field.
    header: If not None, specifies the variants_pb2.VcfHeader. The file at
      input_path must not contain any header information.
docstr_tok: ["Initializer","for","NativeVcfReader",".","Args",":","input_path",":","str",".","The","path","to","the","VCF","file","to","read",".","excluded_info_fields",":","list","(","str",")",".","A","list","of","INFO","field","IDs","that","should","not","be","parsed","into","the","Variants",".","If","None",",","all","INFO","fields","are","included",".","excluded_format_fields",":","list","(","str",")",".","A","list","of","FORMAT","field","IDs","that","should","not","be","parsed","into","the","Variants",".","If","None",",","all","FORMAT","fields","are","included",".","store_gl_and_pl_in_info_map",":","bool",".","If","True",",","the","``","GL","''","and","``","PL","''","FORMAT","fields","are","stored","in","the","VariantCall.info","map","rather","than","as","top-level","values","in","the","VariantCall.genotype_likelihood","field",".","header",":","If","not","None",",","specifies","the","variants_pb2.VcfHeader",".","The","file","at","input_path","must","not","contain","any","header","information","."]
code: def __init__(
      self,
      input_path,
      excluded_info_fields=None,
      excluded_format_fields=None,
      store_gl_and_pl_in_info_map=False,
      header=None,
  ):
      """Initializer for NativeVcfReader.
  
      Args:
        input_path: str. The path to the VCF file to read.
        excluded_info_fields: list(str). A list of INFO field IDs that should not
          be parsed into the Variants. If None, all INFO fields are included.
        excluded_format_fields: list(str). A list of FORMAT field IDs that should
          not be parsed into the Variants. If None, all FORMAT fields are
          included.
        store_gl_and_pl_in_info_map: bool. If True, the "GL" and "PL" FORMAT
          fields are stored in the VariantCall.info map rather than as top-level
          values in the VariantCall.genotype_likelihood field.
        header: If not None, specifies the variants_pb2.VcfHeader. The file at
          input_path must not contain any header information.
      """
      super(NativeVcfReader, self).__init__()
  
      options = variants_pb2.VcfReaderOptions(
          excluded_info_fields=excluded_info_fields,
          excluded_format_fields=excluded_format_fields,
          store_gl_and_pl_in_info_map=store_gl_and_pl_in_info_map,
      )
      if header is not None:
          self._reader = vcf_reader.VcfReader.from_file_with_header(
              input_path.encode("utf8"), options, header
          )
      else:
          self._reader = vcf_reader.VcfReader.from_file(
              input_path.encode("utf8"), options
          )
  
      self.header = self._reader.header
      self.field_access_cache = VcfHeaderCache(self.header)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from third_party.nucleus.io import genomics_reader
  from third_party.nucleus.io import genomics_writer
  from third_party.nucleus.io.python import vcf_reader
  from third_party.nucleus.io.python import vcf_writer
  from third_party.nucleus.protos import variants_pb2
  from third_party.nucleus.util import ranges
  from third_party.nucleus.util import variant_utils
  from third_party.nucleus.util import vcf_constants
label_desc: Use image node_id 1 to create a new NativeVcfReader object from inherited base classes: genomics_reader with example: obj = NativeVcfReader(input_path, excluded_info_fields, excluded_format_fields, store_gl_and_pl_in_info_map, header)