def complement_alleles(self):
        """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.

        """
        self.alleles = self._encode_alleles(
            [complement_alleles(i) for i in self.alleles]
        )
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.