code: protected void parseMappedStats(Variant variant, StudyEntry file, int numAllele, String reference, String[] alternateAlleles, Map<String, String> info) {
          Map<String, Map<String, String>> cohortStats = new LinkedHashMap<>();   // cohortName -> (statsName -> statsValue): EUR->(AC->3,2)
          for (Map.Entry<String, String> entry : info.entrySet()) {
              if (reverseTagMap.containsKey(entry.getKey())) {
                  String opencgaTag = reverseTagMap.get(entry.getKey());
                  String[] tagSplit = opencgaTag.split(DOT);
                  String cohortName = tagSplit[0];
                  String statName = tagSplit[1];
                  Map<String, String> parsedValues = cohortStats.get(cohortName);
                  if (parsedValues == null) {
                      parsedValues = new LinkedHashMap<>();
                      cohortStats.put(cohortName, parsedValues);
                  }
                  parsedValues.put(statName, entry.getValue());
              }
          }
  
          for (String cohortName : cohortStats.keySet()) {
              VariantStats vs = new VariantStats();
              calculate(variant, file, numAllele, reference, alternateAlleles, cohortStats.get(cohortName), vs);
              file.setStats(cohortName, vs);
          }
      }
docs: Looks in the info map for keys present as values in the tagMap passed in the constructor
  VariantAggregatedStatsCalculator(Properties tagMap), and calculates stats for each cohort described in the tagMap.
  @param variant
  @param file
  @param numAllele
  @param reference
  @param alternateAlleles
  @param info