def _modify_raw_data(sample_data, is_basepairs):
    """ Modify counts or base pairs according to `read_count_multiplier`
        or `base_count_multiplier`.
    """
    return OrderedDict(
        (_modify_raw_val(x, is_basepairs), _modify_raw_val(y, is_basepairs))
        for x, y in sample_data.items()
    )