数据存储服务(DRS)

DRS的Cromwell配置如下:

文件系统配置

drs {
    # A reference to a potentially different auth required to contact DRS Resolution service.
    auth = "application-default"
}

auth字段指的是用于对DRS解析服务的请求进行身份验证的认证模式。

drs 部分需要添加到 - engine.filesystems 块 - PapiV2 后端的 filesystems

本地化配置

必须配置DRS本地化以使用docker镜像。

drs {
    localization {
        docker-image = "broadinstitute/drs-localizer:latest"
    }
}

示例

DRS文件系统的示例配置可能如下所示:

engine {
  filesystems {
    # ... other filesystems here, probably gcs, and then ...
    drs {
      auth = "application-default"
    }
  }
}

backend {
    # ... other global backend config here, probably just setting the default ...
    providers {
        # ... other providers here ...
        Papi {
            actor-factory = "cromwell.backend.google.pipelines.v2beta.PipelinesApiLifecycleActorFactory"
            config {
                # ... other config here ...
                filesystems {
                    # ... other filesystems here, probably gcs, and then ...
                    drs {
                        auth = "application-default"
                    }
                }
            }
        }
    }
}

drs {
    localization {
        docker-image = "broadinstitute/drs-localizer:latest"
    }
}