

def save_NLMSA_downloaders(url, fileFilter=(lambda x: x.endswith('.txt.gz')), resourceStem='Bio.MSA.UCSC.', fileDocumenter=None, fileNamer=None):
    'save NLMSA downloader / builder objects for a set\n    of downloadable textdump files'
    if (fileDocumenter is None):
        fileDocumenter = (lambda x: ('NLMSA alignment ' + x))
    if (fileNamer is None):
        fileNamer = (lambda x: (resourceStem + x[:(- 3)]))
    from pygr.nlmsa_utils import NLMSABuilder
    from pygr.downloader import SourceURL
    d = catalog_downloads(url, fileFilter, fileNamer, fileDocumenter, SourceURL)
    for (resID, o) in d.items():
        nlmsa = NLMSABuilder(o)
        nlmsa.__doc__ = fileDocumenter(resID)
        d[resID[:(- 4)]] = nlmsa
    from pygr import worldbase
    worldbase.add_resource(d)
    worldbase.commit()
    return d

dataset/ETHPy150Open cjlee112/pygr/pygr/apps/catalog_downloads.py save_NLMSA_downloaders/original