filter
If filter is TRUE
, only reads from valid fragment
ends are summed up for each fragment. This means if only one fragment end
is valid only counts from this end are considered.
If filter is FALSE
, counts from both fragment ends are summed up
without any filtering.