python/methylnet/model_interpretability.py
def grab_lola_db_cache(output_dir):
    """Download core and extended LOLA databases for enrichment tests."""
    os.makedirs(output_dir,exist_ok=True)
    core_dir = join(output_dir,'core')
    extended_dir = join(output_dir,'extended')
    subprocess.call("wget http://big.databio.org/regiondb/LOLACoreCaches_180412.tgz && wget http://big.databio.org/regiondb/LOLAExtCaches_170206.tgz && mv *.tgz {0} && tar -xvzf {0}/LOLAExtCaches_170206.tgz && mv {0}/scratch {1} && tar -xvzf {0}/LOLACoreCaches_180412.tgz && mv {0}/nm {2}".format(output_dir,extended_dir,core_dir),shell=True)
Download core and extended LOLA databases for enrichment tests.
Download core and extended LOLA databases for enrichment tests.
Download core and extended LOLA databases for enrichment tests .
def grab_lola_db_cache(output_dir):
    os.makedirs(output_dir,exist_ok=True)
    core_dir = join(output_dir,'core')
    extended_dir = join(output_dir,'extended')
    subprocess.call("wget http://big.databio.org/regiondb/LOLACoreCaches_180412.tgz && wget http://big.databio.org/regiondb/LOLAExtCaches_170206.tgz && mv *.tgz {0} && tar -xvzf {0}/LOLAExtCaches_170206.tgz && mv {0}/scratch {1} && tar -xvzf {0}/LOLACoreCaches_180412.tgz && mv {0}/nm {2}".format(output_dir,extended_dir,core_dir),shell=True)
def grab_lola_db_cache ( output_dir ) : os . makedirs ( output_dir , exist_ok = True ) core_dir = join ( output_dir , 'core' ) extended_dir = join ( output_dir , 'extended' ) subprocess . call ( "wget http://big.databio.org/regiondb/LOLACoreCaches_180412.tgz && wget http://big.databio.org/regiondb/LOLAExtCaches_170206.tgz && mv *.tgz {0} && tar -xvzf {0}/LOLAExtCaches_170206.tgz && mv {0}/scratch {1} && tar -xvzf {0}/LOLACoreCaches_180412.tgz && mv {0}/nm {2}" . format ( output_dir , extended_dir , core_dir ) , shell = True )
Download core and extended LOLA databases for enrichment tests.
Download core and extended LOLA databases for enrichment tests .
"""Download core and extended LOLA databases for enrichment tests."""
output_dir