def __iter__(self):
        """
        Iterate through all readsAlignments, yielding those that pass any
        filters that have been added.

        @return: A generator that yields readsAlignments.
        """
        for readsAlignments in self.iter():
            for filterFunc in self._filters:
                filteredReadsAlignments = filterFunc(readsAlignments)
                if filteredReadsAlignments is False:
                    break
                else:
                    readsAlignments = filteredReadsAlignments
            else:
                yield readsAlignments
def __iter__ ( self ) : for readsAlignments in self . iter ( ) : for filterFunc in self . _filters : filteredReadsAlignments = filterFunc ( readsAlignments ) if filteredReadsAlignments is False : break else : readsAlignments = filteredReadsAlignments else : yield readsAlignments
Iterate through all readsAlignments, yielding those that pass any
        filters that have been added.

        @return: A generator that yields readsAlignments.