log("Groups specified with --groups (\""+parameters.group1+"\", \""+parameters.group2+"\") were not found in popmap groups ("+print_groups(popmap)+")",LOG_ERROR);
exit(1);
}elseif(compareandpopmap.counts.size()==2){// If only two groups in popmap, use them (override user-specified groups for now)
}elseif(compareandpopmap.counts.size()==2){// Only two groups in popmap
autoi=std::begin(popmap.counts);
parameters.group1=i->first;
parameters.group2=(++i)->first;
if(parameters.group1==""andparameters.group2==""){// Fill groups from popmap if not specified by the user