Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ph pd 2514 multiome on terra #1223

Closed
wants to merge 17 commits into from

Conversation

phendriksen100
Copy link
Contributor

@phendriksen100 phendriksen100 commented Feb 29, 2024

Description

Updated Multiome.wdl and atac.wdl to include a cloud_provider parameter. This enhancement enables us to specify the preferred cloud service provider for workflow execution, determining the appropriate Docker images and storage file locations accordingly.

PD-2514

Checklist

If you can answer "yes" to the following items, please add a checkmark next to the appropriate checklist item(s) and notify our WARP documentation team by tagging either @ekiernan or @kayleemathews in a comment on this PR.

  • Did you add inputs, outputs, or tasks to a workflow?
  • Did you modify, delete or move: file paths, file names, input names, output names, or task names?
  • If you made a changelog update, did you update the pipeline version number?

Copy link

Remember to squash merge!

File azure_gex_whitelist = "https://datasetpublicbroadref.blob.core.windows.net/dataset/RNA/resources/arc-v1/737K-arc-v1_gex.txt"
File azure_atac_whitelist = "https://datasetpublicbroadref.blob.core.windows.net/dataset/RNA/resources/arc-v1/737K-arc-v1_atac.txt"

Determine which whitelist files to use based on cloud provider
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Determine which whitelist files to use based on cloud provider
# Determine which whitelist files to use based on cloud provider

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oof, good catch

# Docker image names
String warp_tools_2_0_0 = "warp-tools:2.0.0"
String cutadapt_docker = "cutadapt:1.0.0-4.4-1709146458"
String sam_tools_docker = "samtools-dist-bwa:3.0.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
String sam_tools_docker = "samtools-dist-bwa:3.0.0"
String samtools_docker = "samtools-dist-bwa:3.0.0"

@@ -91,21 +113,24 @@ workflow ATAC {
output_base_name = input_id,
nthreads = num_threads_bwa,
mem_size = mem_size_bwa,
cpu_platform = cpu_platform_bwa
cpu_platform = cpu_platform_bwa,
docker_path = docker_prefix + sam_tools_docker
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
docker_path = docker_prefix + sam_tools_docker
docker_path = docker_prefix + samtools_docker

String docker_prefix = if cloud_provider == "gcp" then gcr_docker_prefix else acr_docker_prefix

# Define docker images
snap_atac_docker_image = "snapatac2:1.0.4-2.3.1-1700590229"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
snap_atac_docker_image = "snapatac2:1.0.4-2.3.1-1700590229"
String snap_atac_docker_image = "snapatac2:1.0.4-2.3.1-1700590229"

Copy link

Remember to squash merge!

Copy link

Remember to squash merge!

Copy link

Remember to squash merge!

@@ -3,6 +3,7 @@ version 1.0
import "../../../tasks/skylab/MergeSortBam.wdl" as Merge
import "../../../tasks/skylab/FastqProcessing.wdl" as FastqProcessing
import "../../../tasks/skylab/PairedTagUtils.wdl" as AddBB
"../../../tasks/broad/Utilities.wdl" as utils
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"../../../tasks/broad/Utilities.wdl" as utils
import "../../../tasks/broad/Utilities.wdl" as utils

Copy link

Remember to squash merge!

@kayleemathews
Copy link
Contributor

@phendriksen100 this will require minor doc updates

nikellepetrillo and others added 2 commits March 6, 2024 13:21
* add logic to choose which docker

* fix param_meta and import

* add cloud provider to checkinput

* handle hard coded white list paths in CheckInputs.wdl

* last few dockers

* last few dockers

* last few dockers

* change error msg

* use ubuntu image

* use ubuntu image

* change whitelists

* point to azure public whitelists

* add sas token

* echo whitelist

* echo whitelist

* testing for coa

* testing for coa

* change back to terra buckets for whitelists

* change whitelists to point at public azure bucket

* files to strings

* print statemtns to checkinputs

* string to files

* change to terra bucket paths

* strings not files

* append sas token

* append sas token

* append sas  and use strings

* back to bucket urls

* back to bucket urls

* use google cloud urls

* using public urls

* trying to export sas_token

* trying to export sas_token

* trying to export sas_token

* terra on gcp

* update azure whitelist files

* changelogs

* changelogs

* changelogs

* changelogs

* fix some inputs

* fix some inputs

* fix some inputs

* fix some inputs

* update optimus dockers

* warp_tools_docker_path for staralign

* stop using ice lake as default

* update pipeline docs

* 2 threads

* counting mode

* changelogs

---------

Co-authored-by: phendriksen100 <[email protected]>
Co-authored-by: kayleemathews <[email protected]>
@nikellepetrillo
Copy link
Contributor

closing this as it is now part of this pr: #1239

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants