code: def complement_alleles(self):
          
          self.alleles = self._encode_alleles(
              [complement_alleles(i) for i in self.alleles]
          )
docs: Complement the alleles of this variant.
  
          This will call this module's `complement_alleles` function.
  
          Note that this will not create a new object, but modify the state of
          the current instance.