def METHOD_NAME(self, lines, seqs, names, length):
    for line in lines:
        if length == 0:
            line = line.rstrip()
            name = line[:_PHYLIP_ID_WIDTH].strip()
            seq = line[_PHYLIP_ID_WIDTH:].strip()
            names.append(name)
            seqs.append([])
        else:
            seq = line.strip()
        seq = seq.replace(" ", "")
        seqs[-1].append(seq)
        length += len(seq)
        if length == self._length_of_seqs:
            length = 0
    return length