Skip to content

Commit

Permalink
Update assembly_stats_mapping.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cimendes committed Aug 18, 2022
1 parent 0a5ed2c commit 4533b58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/assembly_stats_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def get_covered_bases(covered_bases_list, ref_len):
for base in range(start, stop):
covered_bases.add(utils.adjust_reference_coord(base, ref_len))

return len(covered_bases)
return len(covered_bases) - 1 #0 based index


def get_aligned_bases(alignment_coods):
Expand Down

0 comments on commit 4533b58

Please sign in to comment.