Skip to content

Commit f8b0db9

Browse files
committed
adapt pbmm2 and pbindex resources to GREGoR data
1 parent 3e93ef1 commit f8b0db9

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

wdl/pipelines/PacBio/Utility/ProcessOnInstrumentDemuxedChunk.wdl

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

127127
# 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
start_time=$(date +%s)
@@ -992,16 +991,16 @@ task Align {
992991

993992
#########################
994993
995-
Int disk_size = 1 + 3*ceil(size(bam, "GiB") + size(ref_fasta, "GiB"))
994+
Int disk_size = 1 + 4*ceil(size(bam, "GiB") + size(ref_fasta, "GiB"))
996995
Int cpus = 16
997-
Int mem = 24
996+
Int mem = 64
998997

999998
RuntimeAttr default_attr = object {
1000999
cpu_cores: cpus,
10011000
mem_gb: mem,
10021001
disk_gb: disk_size,
10031002
boot_disk_gb: 10,
1004-
preemptible_tries: 2,
1003+
preemptible_tries: 1,
10051004
max_retries: 0,
10061005
docker: "us.gcr.io/broad-dsp-lrma/lr-smrttools:12.0.0.176214"
10071006
}
@@ -1044,22 +1043,22 @@ task PBIndex {
10441043

10451044
#########################
10461045
1047-
Int disk_size = 10 + ceil(size(bam, "GB"))
1046+
Int disk_size = 10 + ceil(size(bam, "GiB"))
10481047

10491048
RuntimeAttr default_attr = object {
10501049
cpu_cores: 2,
10511050
mem_gb: 4,
10521051
disk_gb: disk_size,
10531052
boot_disk_gb: 10,
10541053
preemptible_tries: 1,
1055-
max_retries: 1,
1054+
max_retries: 0,
10561055
docker: "us.gcr.io/broad-dsp-lrma/lr-smrttools:12.0.0.176214"
10571056
}
10581057
RuntimeAttr runtime_attr = select_first([runtime_attr_override, default_attr])
10591058
runtime {
10601059
cpu: select_first([runtime_attr.cpu_cores, default_attr.cpu_cores])
10611060
memory: select_first([runtime_attr.mem_gb, default_attr.mem_gb]) + " GiB"
1062-
disks: "local-disk " + select_first([runtime_attr.disk_gb, default_attr.disk_gb]) + " SSD"
1061+
disks: "local-disk " + select_first([runtime_attr.disk_gb, default_attr.disk_gb]) + " HDD"
10631062
bootDiskSizeGb: select_first([runtime_attr.boot_disk_gb, default_attr.boot_disk_gb])
10641063
preemptible: select_first([runtime_attr.preemptible_tries, default_attr.preemptible_tries])
10651064
maxRetries: select_first([runtime_attr.max_retries, default_attr.max_retries])

0 commit comments

Comments
 (0)