We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59fe08c commit d7dee7bCopy full SHA for d7dee7b
include/Likelihood.hpp
@@ -117,7 +117,7 @@ class LL_WOR21 : public Likelihood<T> {
117
// Create mask identifying groups that have at least 1 alignment
118
for (size_t i = 0; i < num_ecs; ++i) {
119
for (size_t j = 0; j < n_groups; ++j) {
120
- group_hit_counts[j] += (alignment(j, i) > 0);
+ group_hit_counts[j] += (alignment(j, i) > 0) * alignment.reads_in_ec(i);
121
}
122
123
for (size_t i = 0; i < n_groups; ++i) {
0 commit comments