def do_subclip(clip, op):
    """ Create a subclip.

        clip - original clip to create a subclip from
        start - timestamp indicating start of the clip
        end - timestamp indicating end of the clip, or None in order
            to use end of original clip
    """
    result = clip.subclip(op.start, op.end)
    return result
