include required(classpath("application")) google { application-name = "cromwell" auths = [ { name = "application-default" scheme = "application_default" } ] } engine { filesystems { gcs { auth = "application-default" project = "lucid-office-217102" } } } backend { default = "JES" providers { JES { actor-factory = "cromwell.backend.impl.jes.JesBackendLifecycleActorFactory" config { // Google project project = "lucid-office-217102" // Base bucket for workflow executions root = "gs://ngb_cloud/cromwell-execution" // Polling for completion backs-off gradually for slower-running jobs. // This is the maximum polling interval (in seconds): maximum-polling-interval = 600 // Optional Dockerhub Credentials. Can be used to access private docker images. dockerhub { // account = "" // token = "" } genomics { // A reference to an auth defined in the `google` stanza at the top. This auth is used to create // Pipelines and manipulate auth JSONs. auth = "application-default" // Endpoint for APIs, no reason to change this unless directed by Google. endpoint-url = "https://genomics.googleapis.com/" // This allows you to use an alternative service account to launch jobs, by default uses default service account compute-service-account = "default" // Pipelines v2 only: specify the number of times localization and delocalization operations should be attempted // There is no logic to determine if the error was transient or not, everything is retried upon failure // Defaults to 3 localization-attempts = 3 } filesystems { gcs { // A reference to a potentially different auth for manipulating files via engine functions. auth = "application-default" project = "lucid-office-217102" } } } } SGE { actor-factory = "cromwell.backend.impl.sfs.config.ConfigBackendLifecycleActorFactory" config { concurrent-job-limit = 100 runtime-attributes = """ Int cpu = 3 Float? memory_gb String? sge_queue String? sge_project """ submit = """ qsub \ -terse \ -V \ -b y \ -N ${job_name} \ -wd ${cwd} \ -o ${out}.qsub \ -e ${err}.qsub \ -pe make ${cpu} \ ${"-l mem_free=" + memory_gb + "g"} \ ${"-q " + sge_queue} \ ${"-P " + sge_project} \ /usr/bin/env bash ${script} """ job-id-regex = "(\\d+)" kill = "qdel ${job_id}" check-alive = "qstat -j ${job_id}" } } } } webservice { port = 8080 #interface = 0.0.0.0 #binding-timeout = 5s #instance.name = "reference" } akka { # } system{ abort-jobs-on-terminate = true workflow-restart = true max-concurrent-workflows = 5000 max-workflow-launch-count = 50 #new-workflow-poll-rate = 20 #number-of-workflow-log-copy-workers = 10 #number-of-cache-read-workers = 25 } database { profile = "slick.jdbc.MySQLProfile$" db { driver = "com.mysql.jdbc.Driver" url = "jdbc:mysql://localhost/cromwell?rewriteBatchedStatements=true&useSSL=false" user = "root" password = "ngenebio1!" connectionTimeout = 5000 } } call-caching { enabled = true invalidate-bad-cache-results = true }