def zmw_from_subread(subread):
    """Given a subread 'movie/zmw/start_end', return 'movie/zmw'"""
    try:
        return '/'.join(subread.split('/')[0:2])
    except Exception:
        raise ValueError("Could not convert read %s to zmw" % subread)