def removeGaps(self,
                   allowed_gaps=0,
                   minimum_gaps=1,
                   frame=1):

        self.removePattern(
            match_function=lambda x: x in self.mGapChars,
            allowed_matches=allowed_gaps,
            minimum_matches=minimum_gaps,
            delete_frame=frame)
remove gappy columns.
dataset/ETHPy150Open CGATOxford/cgat/CGAT/Mali.py/Mali.removeGaps