def is_valid(self, maxperiod=6, maxlength=READLEN, minscore=MINSCORE):
        return 1 <= self.period <= maxperiod and \
               (self.end - self.start + 1) <= maxlength and \
               self.score >= minscore
dataset/ETHPy150Open tanghaibao/jcvi/variation/str.py/STRLine.is_valid/original