Skip to content

Commit

Permalink
Merge branch 'develop' into km-buildindices-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kayleemathews committed Dec 20, 2023
2 parents 0f70c90 + 79fe930 commit cb32c0c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
4 changes: 4 additions & 0 deletions pipelines/skylab/multiome/Multiome.changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 3.0.2
2023-12-20 (Date of Last Commit)
* JoinMultiomeBarcodes now has dynamic memory and disk allocation

# 3.0.1
2023-12-12 (Date of Last Commit)
* ValidateVcfs now has optional memory parameter; this does not affect this pipeline
Expand Down
2 changes: 1 addition & 1 deletion pipelines/skylab/multiome/Multiome.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import "../../../tasks/skylab/H5adUtils.wdl" as H5adUtils
import "https://raw.githubusercontent.com/broadinstitute/CellBender/v0.3.0/wdl/cellbender_remove_background.wdl" as CellBender

workflow Multiome {
String pipeline_version = "3.0.1"
String pipeline_version = "3.0.2"

input {
String input_id
Expand Down
5 changes: 5 additions & 0 deletions pipelines/skylab/optimus/Optimus.changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 6.3.1
2023-12-20 (Date of Last Commit)

* JoinMultiomeBarcodes now has dynamic memory and disk allocation; this does affect the Optimus workflow

# 6.3.0
2023-12-04 (Date of Last Commit)

Expand Down
2 changes: 1 addition & 1 deletion pipelines/skylab/optimus/Optimus.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ workflow Optimus {

# version of this pipeline
String pipeline_version = "6.3.0"
String pipeline_version = "6.3.1"

# this is used to scatter matched [r1_fastq, r2_fastq, i1_fastq] arrays
Array[Int] indices = range(length(r1_fastq))
Expand Down
12 changes: 6 additions & 6 deletions tasks/skylab/H5adUtils.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -192,22 +192,22 @@ task JoinMultiomeBarcodes {
File gex_h5ad
File gex_whitelist
File atac_whitelist
Int disk_size = 500
Int mem_size = 16
Int nthreads = 1
String cpuPlatform = "Intel Cascade Lake"
}
String gex_base_name = basename(gex_h5ad, ".h5ad")
String atac_base_name = basename(atac_h5ad, ".h5ad")
String atac_fragment_base = basename(atac_fragment, ".tsv")

Int machine_mem_mb = ceil((size(atac_h5ad, "MiB") + size(gex_h5ad, "MiB") + size(atac_fragment, "MiB")) * 3) + 10000
Int disk = ceil((size(atac_h5ad, "GiB") + size(gex_h5ad, "GiB") + size(atac_fragment, "GiB")) * 5) + 10

parameter_meta {
atac_h5ad: "The resulting h5ad from the ATAC workflow."
atac_fragment: "The resulting fragment TSV from the ATAC workflow."
gex_h5ad: "The resulting h5ad from the Optimus workflow."
gex_whitelist: "Whitelist used for gene expression barcodes."
atac_whitelist: "Whitelist used for ATAC barcodes."
disk_size: "Disk size used in create fragment file step."
mem_size: "The size of memory used in create fragment file."
}

command <<<
Expand Down Expand Up @@ -280,8 +280,8 @@ task JoinMultiomeBarcodes {
runtime {
docker: "us.gcr.io/broad-gotc-prod/snapatac2:1.0.4-2.3.1-1700590229"
disks: "local-disk ${disk_size} SSD"
memory: "${mem_size} GiB"
disks: "local-disk ~{disk} HDD"
memory: "${machine_mem_mb} MiB"
cpu: nthreads
}
Expand Down

0 comments on commit cb32c0c

Please sign in to comment.