Skip to content

Commit

Permalink
Add tagorder in calls for different classes cell and gene
Browse files Browse the repository at this point in the history
  • Loading branch information
aawdeh committed Jan 22, 2024
1 parent aea51fe commit e320bae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/TagSort/src/partial_file_merge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ std::unique_ptr<MetricGatherer> maybeMakeMetricGatherer(INPUT_OPTIONS_TAGSORT co
if (options.metric_type == MetricType::Cell)
{
return std::make_unique<CellMetricGatherer>(
options.metric_output_file, options.gtf_file,
options.mitochondrial_gene_names_filename);
options.metric_output_file, getTagOrder(options),
options.gtf_file, options.mitochondrial_gene_names_filename);
}
else if (options.metric_type == MetricType::Gene)
return std::make_unique<GeneMetricGatherer>(options.metric_output_file, options.gtf_file,
options.mitochondrial_gene_names_filename);
return std::make_unique<GeneMetricGatherer>(options.metric_output_file, getTagOrder(options),
options.gtf_file, options.mitochondrial_gene_names_filename);
else if (options.metric_type == MetricType::Umi)
return std::make_unique<UmiMetricGatherer>(options.metric_output_file, getTagOrder(options),
options.gtf_file, options.mitochondrial_gene_names_filename);
Expand Down

0 comments on commit e320bae

Please sign in to comment.