def METHOD_NAME(self, bc):
    c, bamFile1, bamFile2, bamFile_PE, chrom, step_size, bin_length, func_args = self.ifiles(bc)
    c.binLength = 20
    c.stepSize = 20
    c.smoothLength = 60
    tempFile = c.writeBedGraph_worker(chrom, 100, 200, scaleCoverage, func_args)
    _foo = open(tempFile[3], 'r')
    res = _foo.readlines()
    _foo.close()
    expected = ['3R\t100\t120\t1\n', '3R\t120\t180\t1.33333\n', '3R\t180\t200\t1\n']
    assert f"{res}" == f"{expected}"
    os.remove(tempFile[3])