Skip to content

Commit

Permalink
Add is not mito do intergenic condition
Browse files Browse the repository at this point in the history
  • Loading branch information
aawdeh committed Feb 6, 2024
1 parent 71022f6 commit 57b3d4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/TagSort/src/metricgatherer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ void CellMetricGatherer::ingestLine(std::string const& str)
perfect_cell_barcodes_ += fields.cell_barcode_perfect;

bool is_mito = isMitochondrial(fields);
if (fields.alignment_location == 7 && fields.number_mappings == 1 && is_mito)
if (fields.alignment_location == 7 && fields.number_mappings == 1 && !is_mito)
reads_mapped_intergenic_ += 1;
else if (fields.alignment_location == 0)
reads_unmapped_ += 1;
Expand Down

0 comments on commit 57b3d4d

Please sign in to comment.