def grab_children_from_sequence(seq, t_i):
    """
        Given a sequence of nodes and a sequence of coordinates
        return the corresponding children. This allows us to access a
        root node's children given the indices which that node has stored
        during the ast_to_nodelist.
    """
    return [seq[t] for t in t_i]