class_docstr: Abstract base class for writing genomics data.
  
  A GenomicsWriter only has one method, write, which writes a single
  protocol buffer to a file.
class_docstr_tok: ["Abstract","base","class","for","writing","genomics","data",".","A","GenomicsWriter","only","has","one","method",",","write",",","which","writes","a","single","protocol","buffer","to","a","file","."]
docstr: Writes proto to the file.
  
  Args:
    proto:  A protocol buffer.
docstr_tok: ["Writes","proto","to","the","file",".","Args",":","proto",":","A","protocol","buffer","."]
code: def write(self, proto):
      """Writes proto to the file.
  
      Args:
        proto:  A protocol buffer.
      """
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import errno
  from absl import logging
  from third_party.nucleus.io.python import tfrecord_writer
label_desc: Use image node_id 1 for calling the GenomicsWriter obj's underlying member method code with example usage: obj.write(proto) without return types