code: def license_export(data):
      
      resources = config_utils.get_resources("sentieon", data["config"])
      server = resources.get("keyfile")
      if not server:
          server = tz.get_in(["resources", "sentieon", "keyfile"], data)
      if not server:
          raise ValueError("Need to set resources keyfile with URL:port of license server, local license file or "
                           "environmental variables to export \n"
                           "http://bcbio-nextgen.readthedocs.io/en/latest/contents/configuration.html#resources\n"
                           "Configuration: %s" % pprint.pformat(data))
      if isinstance(server, six.string_types):
          return "export SENTIEON_LICENSE=%s && " % server
      else:
          assert isinstance(server, dict), server
          exports = ""
          for key, val in server.items():
              exports += "export %s=%s && " % (key.upper(), val)
          return exports
docs: Retrieve export statement for sentieon license server.