code: def flip(self):
          
  
          maj_count = self.maj_allele_count
          self.maj_allele_count = self.min_allele_count
          self.min_allele_count = maj_count
  
          alleles = self.alleles
          self.alleles = [alleles[1], alleles[0]]
docs: This will switch major/minor around, regardless of frequency truth.
  
          This is intended for forcing one of two populations to relate correctly
          to the same genotype definitions. When flipped, Ps and Qs will be
          backward, and the maf will no longer relate to the "minor" allele
          frequency. However, it does allow clients to use the same calls for each
          population without having to perform checks during those calculations.