a8fadfa8f46090930a3dc2befcea1e502de04b91,deepvariant/make_examples.py,OutputsWriter,__init__,#OutputsWriter#,1000
Before Change
if options.gvcf_filename:
logging.info("Writing a gvcf to %s", options.gvcf_filename)
self._add_writer("gvcfs",
io_utils.make_tfrecord_writer(options.gvcf_filename))
def _add_writer(self, name, writer):
self._writers[name] = writer
After Change
if options.gvcf_filename:
self._add_writer("gvcfs",
io_utils.RawProtoWriterAdaptor(
io_utils.make_tfrecord_writer(
options.gvcf_filename)))
def write_examples(self, *examples):
self._write("examples", *examples)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances
Project Name: google/deepvariant
Commit Name: a8fadfa8f46090930a3dc2befcea1e502de04b91
Time: 2018-01-17
Author: mdepristo@google.com
File Name: deepvariant/make_examples.py
Class Name: OutputsWriter
Method Name: __init__
Project Name: google/deepvariant
Commit Name: a8fadfa8f46090930a3dc2befcea1e502de04b91
Time: 2018-01-17
Author: mdepristo@google.com
File Name: deepvariant/core/genomics_io.py
Class Name:
Method Name: make_variant_writer