Skip to content

Commit

Permalink
parameterize ram and disk for FastqToUBAM
Browse files Browse the repository at this point in the history
  • Loading branch information
dpark01 committed Feb 6, 2025
1 parent 88f399c commit e5a8ab7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pipes/WDL/tasks/tasks_read_utils.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,11 @@ task FastqToUBAM {
String? sequencing_center
String? additional_picard_options
Int cpus = 2
Int mem_gb = 3
Int disk_size = 375
String docker = "quay.io/broadinstitute/viral-core:2.4.1"
}
Int disk_size = 375
parameter_meta {
fastq_1: { description: "Unaligned read1 file in fastq format", patterns: ["*.fastq", "*.fastq.gz", "*.fq", "*.fq.gz"] }
fastq_2: { description: "Unaligned read2 file in fastq format. This should be empty for single-end read conversion and required for paired-end reads. If provided, it must match fastq_1 in length and order.", patterns: ["*.fastq", "*.fastq.gz", "*.fq", "*.fq.gz"] }
Expand Down Expand Up @@ -401,8 +403,8 @@ task FastqToUBAM {
}
runtime {
docker: docker
cpu: 2
memory: "3 GB"
cpu: cpus
memory: mem_gb + " GB"
disks: "local-disk " + disk_size + " LOCAL"
disk: disk_size + " GB" # TES
dx_instance_type: "mem1_ssd1_v2_x2"
Expand Down

0 comments on commit e5a8ab7

Please sign in to comment.