class_docstr: Class for writing to native BedGraph files.
  
  Most users will want BedGraphWriter, which will write to either native
  BedGraph files or TFRecord files, based on the output filename's extension.
class_docstr_tok: ["Class","for","writing","to","native","BedGraph","files",".","Most","users","will","want","BedGraphWriter",",","which","will","write","to","either","native","BedGraph","files","or","TFRecord","files",",","based","on","the","output","filename","'s","extension","."]
docstr: Initializer for NativeBedGraphWriter.
  
  Args:
    output_path: str. The path to which to write the BedGraph file.
docstr_tok: ["Initializer","for","NativeBedGraphWriter",".","Args",":","output_path",":","str",".","The","path","to","which","to","write","the","BedGraph","file","."]
code: def __init__(self, output_path, header=None):
      """Initializer for NativeBedGraphWriter.
  
      Args:
        output_path: str. The path to which to write the BedGraph file.
      """
      super(NativeBedGraphWriter, self).__init__()
      self._writer = bedgraph_writer.BedGraphWriter.to_file(output_path)
  
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 bedgraph_reader
  from third_party.nucleus.io.python import bedgraph_writer
  from third_party.nucleus.protos import bedgraph_pb2
label_desc: Use image node_id 1 to create a new NativeBedGraphWriter object from inherited base classes: genomics_writer with example: obj = NativeBedGraphWriter(output_path, header)