[pergola] last line was lost when converting to bedGraph