class_docstr: Class for writing to native VCF files.
  
  Most users will want VcfWriter, which will write to either native VCF
  files or TFRecords files, based on the output filename's extensions.
class_docstr_tok: ["Class","for","writing","to","native","VCF","files",".","Most","users","will","want","VcfWriter",",","which","will","write","to","either","native","VCF","files","or","TFRecords","files",",","based","on","the","output","filename","'s","extensions","."]
code: def write_somatic(self, proto):
      self._writer.write_somatic(proto)
  
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 3 for calling the NativeVcfWriter obj's underlying member method code with example usage: obj.write_somatic(proto) without return types