def iter_variants_by_names(self, names):
        """Iterates over the genotypes for variants using a list of names.

        Args:
            names (list): The list of names for variant extraction.

        """
        for name in names:
            for result in self.get_variant_by_name(name):
                yield result
Iterates over the genotypes for variants using a list of names.

        Args:
            names (list): The list of names for variant extraction.