def seqify(flowgram, floworder):
    """
    Turns the flowgram into a string of bases.
    @param flowgram: an iterable container of integer flow values
    @param floworder: the flow order
    @return: a string representing the call
    """
    nflows = len(floworder)
    ret = []
    for ndx, ext in enumerate(flowgram):
        ret.append(floworder[ndx % nflows] * ext)
    return "".join(ret)