def seq_2_features(seq, indices):
    """converts a single sequence to a list of features
    based on indices
    """
    result = []
    for idxs in indices:
        feature = ''.join([seq[i] for i in idxs])
        result.append(feature)
    return result