code: def _install_data(data_dir, path_flavor, args):
      
      try:
         from bcbio import install as bcb
      except:
          raise ImportError("It needs bcbio to do the quick installation.")
  
      bio_data = op.join(path_flavor, "../biodata.yaml")
      s = {"flavor": path_flavor,
           # "target": "[brew, conda]",
           "vm_provider": "novm",
           "hostname": "localhost",
           "fabricrc_overrides": {"edition": "minimal",
                                  "use_sudo": "false",
                                  "keep_isolated": "true",
                                  "conda_cmd": bcb._get_conda_bin(),
                                  "distribution": "__auto__",
                                  "dist_name": "__auto__"}}
      s["actions"] = ["setup_biodata"]
      s["fabricrc_overrides"]["data_files"] = data_dir
      s["fabricrc_overrides"]["galaxy_home"] = os.path.join(data_dir, "galaxy")
      cbl = bcb.get_cloudbiolinux(bcb.REMOTES)
      s["genomes"] = _get_biodata(bio_data, args)
      sys.path.insert(0, cbl["dir"])
      cbl_deploy = __import__("cloudbio.deploy", fromlist=["deploy"])
      cbl_deploy.deploy(s)
docs: Upgrade required genome data files in place.