Skip to content

Commit aedc43e

Browse files
committed
Changed G to gene_id
1 parent dfa5b8a commit aedc43e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/TagSort/src/metricgatherer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ void MetricGatherer::parseAlignedReadFields(LineFields const& fields, std::strin
107107
std::cout << "gene in parseAlignedReadFields " << std::string(fields.tag_triple.second) << "\n";
108108
std::cout << "gene in parseAlignedReadFields " << std::string(fields.tag_triple.third) << "\n";
109109

110-
// tag_order_str is a combination of BGU so find order of where G is
111-
size_t geneIndex = tag_order_str.find('G');
110+
// tag_order_str is a combination of BGU so find order of where gene_id is in gene_id,barcode,umi
111+
size_t geneIndex = tag_order_str.find('gene_id');
112112
std::map<size_t, std::string> indexToField_TagOrder = {
113113
{0, fields.tag_triple.first},
114114
{1, fields.tag_triple.second},

0 commit comments

Comments
 (0)