Created
April 13, 2017 08:11
-
-
Save s4553711/10ee2167ef3926b89312fb81ab2aafe8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef map<int, map<long int, vector<Allele> > >::iterator it_type; | |
for (it_type it = inputVariantAlleles.begin(); it != inputVariantAlleles.end(); it++) { | |
cerr << "CK variant input 1 level key:" << it->first << endl; | |
typedef map<long int, vector<Allele> >::iterator it_type2; | |
for (it_type2 it2 = it->second.begin(); it2 != it->second.end(); it2++) { | |
cerr << "CK variant input 2 level key:" << it2->first << endl; | |
cerr << "CK variant input 2 level value:" << it2->second << endl; | |
vector<Allele>& inputalleles = it2->second; | |
for (vector<Allele>::iterator a = inputalleles.begin(); a != inputalleles.end(); ++a) { | |
Allele& allele = *a; | |
resultAlleles.push_back(allele); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment