Skip to content

Commit 4df3ed6

Browse files
src/utils/merge-methcounts.cpp: fixing a bug that used greater than min reads instead of greater than or equal to min reads when filtering sites for using fractional in tabular output
1 parent f4468a0 commit 4df3ed6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/merge-methcounts.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ write_line_for_tabular(const bool write_fractional,
183183
if (write_fractional) {
184184
for (size_t i = 0; i < n_files; ++i) {
185185
const size_t r = sites[i].n_reads;
186-
if (to_print[i] && r > min_reads)
186+
if (to_print[i] && r >= min_reads)
187187
out << '\t' << sites[i].meth;
188188
else
189189
out << '\t' << "NA";

0 commit comments

Comments
 (0)