

def findJobStoreForUrl(url):
    '\n    Returns the AbstractJobStore subclass that supports the given URL.\n\n    :param urlparse.ParseResult url: The given URL\n    :rtype: toil.jobStore.AbstractJobStore\n    '
    for cls in getJobStoreClasses():
        if cls._supportsUrl(url):
            return cls
    raise RuntimeError(("No existing job store supports the URL '%s'" % url))

dataset/ETHPy150Open BD2KGenomics/toil/src/toil/jobStores/abstractJobStore.py findJobStoreForUrl/original