Added condition to avoid testing duplicates for single IDs
@@ -120,6 +120,7 @@ namespace ebi
}
}
+ if (ids.size() > 1) {
std::map<std::string, int> counter;
for (auto & id : ids) {
counter[id]++;
@@ -128,6 +129,7 @@ namespace ebi
}
}
}
+ }
void Record::check_alternate_alleles() const
{
