def main():

    username = raw_input('Enter your ESGF Username:\n')
    password = raw_input('Enter your ESGF Password:\n')

    # step 1: obtain short-term certificate
    print 'Retrieving ESGF certificate...'
    # logon using client-side MyProxy libraries
    if logon(username, password):
        print "...done."

    # step 2: execute faceted search for files
    urls = main_obs4mips()
    #urls = main_cmip5()
    
    # step 3: download file(s)
    for i, url in enumerate(urls):
        if i>=1:
            break
        download(url, toDirectory=DATA_DIRECTORY)
summarize effects on a per-gene level.
dataset/ETHPy150Open apache/climate/ocw/esgf/main.py/main--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_snps.py/summarizeSVsPerGene