def local_system_config(systemconfig, datadir, work_dir):
    config = _get_system_config(systemconfig, datadir)
    system_cfile = os.path.join(work_dir, "bcbio_system-prep.yaml")
    with open(system_cfile, "w") as out_handle:
        yaml.dump(config, out_handle, default_flow_style=False, allow_unicode=False)
    return system_cfile
Create a ready to run local system configuration file.
dataset/ETHPy150Open chapmanb/bcbio-nextgen-vm/bcbiovm/docker/run.py/local_system_config