def _build_class_list(self):
    seq_per_class = {}
    for (seq_id, seq_name) in enumerate(self.sequence_list):
        class_name = seq_name.split('-')[0]
        if (class_name in seq_per_class):
            seq_per_class[class_name].append(seq_id)
        else:
            seq_per_class[class_name] = [seq_id]
    return seq_per_class
def _build_class_list(self):
    seq_per_class = {}
    for (seq_id, seq_name) in enumerate(self.sequence_list):
        class_name = seq_name.split('-')[0]
        if (class_name in seq_per_class):
            seq_per_class[class_name].append(seq_id)
        else:
            seq_per_class[class_name] = [seq_id]
    return seq_per_class