

def generate_nlmsa_edges(self, *args, **kwargs):
    'iterate over all edges for all sequences in the alignment.\n    Very slow for a big alignment!'
    for seq in self.seqs:
        myslice = self[seq]
        for results in myslice.edges(*args, **kwargs):
            (yield results)

dataset/ETHPy150Open cjlee112/pygr/pygr/nlmsa_utils.py generate_nlmsa_edges/original