Skip to content

Commit 0e2cb73

Browse files
committed
adapt pbmm2 and pbindex resources to GREGoR data
1 parent 8dd4d1f commit 0e2cb73

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

wdl/pipelines/PacBio/Utility/ProcessOnInstrumentDemuxedChunk.wdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ workflow ProcessOnInstrumentDemuxedChunk {
120120
# prep work
121121
122122
# where to store final results
123-
String workflow_name = "ProcessOnInstrumentDemuxedChunk"
123+
String workflow_name = "Realign"
124124
String outdir = sub(gcs_out_root_dir, "/$", "") + "/" + workflow_name
125125

126126
# String bc_specific_out = outdir + '/' + readgroup_id

wdl/tasks/Utility/PBUtils.wdl

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,6 @@ task Align {
940940

941941
Boolean fix_library_entry = if defined(library) then true else false
942942

943-
944943
command <<<
945944
set -euxo pipefail
946945
@@ -984,16 +983,16 @@ task Align {
984983

985984
#########################
986985
987-
Int disk_size = 1 + 3*ceil(size(bam, "GiB") + size(ref_fasta, "GiB"))
986+
Int disk_size = 1 + 4*ceil(size(bam, "GiB") + size(ref_fasta, "GiB"))
988987
Int cpus = 16
989-
Int mem = 24
988+
Int mem = 64
990989

991990
RuntimeAttr default_attr = object {
992991
cpu_cores: cpus,
993992
mem_gb: mem,
994993
disk_gb: disk_size,
995994
boot_disk_gb: 10,
996-
preemptible_tries: 2,
995+
preemptible_tries: 1,
997996
max_retries: 0,
998997
docker: "us.gcr.io/broad-dsp-lrma/lr-smrttools:12.0.0.176214"
999998
}
@@ -1036,22 +1035,22 @@ task PBIndex {
10361035

10371036
#########################
10381037
1039-
Int disk_size = 10 + ceil(size(bam, "GB"))
1038+
Int disk_size = 10 + ceil(size(bam, "GiB"))
10401039

10411040
RuntimeAttr default_attr = object {
10421041
cpu_cores: 2,
10431042
mem_gb: 4,
10441043
disk_gb: disk_size,
10451044
boot_disk_gb: 10,
10461045
preemptible_tries: 1,
1047-
max_retries: 1,
1046+
max_retries: 0,
10481047
docker: "us.gcr.io/broad-dsp-lrma/lr-smrttools:12.0.0.176214"
10491048
}
10501049
RuntimeAttr runtime_attr = select_first([runtime_attr_override, default_attr])
10511050
runtime {
10521051
cpu: select_first([runtime_attr.cpu_cores, default_attr.cpu_cores])
10531052
memory: select_first([runtime_attr.mem_gb, default_attr.mem_gb]) + " GiB"
1054-
disks: "local-disk " + select_first([runtime_attr.disk_gb, default_attr.disk_gb]) + " SSD"
1053+
disks: "local-disk " + select_first([runtime_attr.disk_gb, default_attr.disk_gb]) + " HDD"
10551054
bootDiskSizeGb: select_first([runtime_attr.boot_disk_gb, default_attr.boot_disk_gb])
10561055
preemptible: select_first([runtime_attr.preemptible_tries, default_attr.preemptible_tries])
10571056
maxRetries: select_first([runtime_attr.max_retries, default_attr.max_retries])

0 commit comments

Comments
 (0)