Skip to content

Commit e320bae

Browse files
committed
Add tagorder in calls for different classes cell and gene
1 parent aea51fe commit e320bae

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tools/TagSort/src/partial_file_merge.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,12 @@ std::unique_ptr<MetricGatherer> maybeMakeMetricGatherer(INPUT_OPTIONS_TAGSORT co
106106
if (options.metric_type == MetricType::Cell)
107107
{
108108
return std::make_unique<CellMetricGatherer>(
109-
options.metric_output_file, options.gtf_file,
110-
options.mitochondrial_gene_names_filename);
109+
options.metric_output_file, getTagOrder(options),
110+
options.gtf_file, options.mitochondrial_gene_names_filename);
111111
}
112112
else if (options.metric_type == MetricType::Gene)
113-
return std::make_unique<GeneMetricGatherer>(options.metric_output_file, options.gtf_file,
114-
options.mitochondrial_gene_names_filename);
113+
return std::make_unique<GeneMetricGatherer>(options.metric_output_file, getTagOrder(options),
114+
options.gtf_file, options.mitochondrial_gene_names_filename);
115115
else if (options.metric_type == MetricType::Umi)
116116
return std::make_unique<UmiMetricGatherer>(options.metric_output_file, getTagOrder(options),
117117
options.gtf_file, options.mitochondrial_gene_names_filename);

0 commit comments

Comments
 (0)