apiVersion: batch/v1 kind: Job metadata: name: nf-bd3da3119c14490a4a342e194b2c11c3-ddc0b namespace: nextflow labels: &id001 {nextflow.io/processName: NFCORE_SAREK_SAREK_BAM_QC_SEX_ESTIMATION_BAM_ESTIMATE_SEX, nextflow.io/runName: somacnv-bwcompat-20260608-203934, nextflow.io/sessionId: uuid-84e639a1-9cbe-4ee1-9b8d-62897ff989ce, pltf/run-name: somacnv-bwcompat-20260608-203934, capacityType: spot, pltf/run-component: task, nextflow.io/app: nextflow, nextflow.io/taskName: NFCORE_SAREK_SAREK_BAM_QC_SEX_ESTIMATION_BAM_ESTIMATE_SEX_HCC1, pltf/run-id: ff141994, pltf/run-engine: nextflow, instanceLocalNvme: 'false', pltf/run-creator: ubuntu} annotations: &id002 {ad.datadoghq.com/nextflow.logs: '[{"source":"nextflow","service":"nextflow-task","log_processing_rules":[{"type":"multi_line","name":"nextflow_task_multiline","pattern":"^\\x00NEVER_MATCH"}]}]', ad.datadoghq.com/tags: '{"run_name":"somacnv-bwcompat-20260608-203934","run_id":"ff141994","run_creator":"ubuntu","run_component":"task","task_process":"NFCORE_SAREK:SAREK:BAM_QC_SEX_ESTIMATION:BAM_ESTIMATE_SEX","task_name":"NFCORE_SAREK:SAREK:BAM_QC_SEX_ESTIMATION:BAM_ESTIMATE_SEX (HCC1395_tumor)"}', karpenter.sh/do-not-disrupt: 'true'} ownerReferences: - {apiVersion: v1, kind: Pod, name: somacnv-bwcompat-20260608-203934-ff141994-fmwkv, uid: ee172b6f-0e78-43c5-bdd9-b9acb3ce3730, controller: true, blockOwnerDeletion: true} spec: backoffLimit: 0 template: metadata: name: nf-bd3da3119c14490a4a342e194b2c11c3-ddc0b namespace: nextflow labels: *id001 annotations: *id002 spec: restartPolicy: Never containers: - name: nextflow image: 292967571998.dkr.ecr.us-west-2.amazonaws.com/quay/biocontainers/samtools:1.21--h50ea8bc_0 args: [/bin/bash, -o, pipefail, -c, 'trap "{ ret=$?; /opt/s5cmd/bin/s5cmd --log error cp .command.log s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/bd/3da3119c14490a4a342e194b2c11c3/.command.log||true; exit $ret; }" EXIT; /opt/s5cmd/bin/s5cmd --log error cat s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/bd/3da3119c14490a4a342e194b2c11c3/.command.run | bash 2>&1 | tee .command.log'] workingDir: /tmp imagePullPolicy: Always env: - {name: SSL_CERT_DIR, value: /opt/s5cmd/ssl/certs} - {name: SSL_CERT_FILE, value: /opt/s5cmd/ssl/ca-certificates.crt} resources: requests: {cpu: 1, memory: 4096Mi, ephemeral-storage: 204800Mi} limits: {memory: 4096Mi, ephemeral-storage: 204800Mi} volumeMounts: - {name: vol-77, mountPath: /tmp} - {name: vol-78, mountPath: /app} - {name: vol-79, mountPath: /mnt/secrets} - {name: vol-80, mountPath: /opt/s5cmd} nodeSelector: {workload: nextflow-task, karpenter.sh/capacity-type: spot} affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - {key: eks.amazonaws.com/instance-gpu-count, operator: DoesNotExist} serviceAccountName: sa-nextflow securityContext: {runAsUser: 1000} tolerations: - {key: workload, operator: Equal, value: nextflow-task, effect: NoSchedule} activeDeadlineSeconds: 14400 volumes: - name: vol-77 emptyDir: [] - name: vol-78 emptyDir: [] - name: vol-79 secret: {secretName: aws-secrets-manager} - name: vol-80 hostPath: {path: /opt/s5cmd} ttlSecondsAfterFinished: 28800