def generate_nlmsa_edges(self, *args, **kwargs):
    for seq in self.seqs:
        myslice = self[seq]
        for results in myslice.edges(*args, **kwargs):
            yield results
iterate over all edges for all sequences in the alignment.
dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py/generate_nlmsa_edges