WORKFLOW sarscov2_biosample_load
| File Path |
pipes/WDL/workflows/sarscov2_biosample_load.wdl
|
|---|---|
| WDL Version | 1.0 |
| Type | workflow |
Imports
| Namespace | Path |
|---|---|
ncbi_tools
|
../tasks/tasks_ncbi_tools.wdl
|
sarscov2
|
../tasks/tasks_sarscov2.wdl
|
utils
|
../tasks/tasks_utils.wdl
|
Workflow: sarscov2_biosample_load
Load Broad CRSP metadata and register samples with NCBI BioSample. Return attributes table, id map, etc.
Author: Broad Viral Genomics
Subworkflow Usage
This workflow is called as a subworkflow by 1 other workflow:
-
sarscov2_illumina_full
-
pipes/WDL/workflows/sarscov2_illumina_full.wdl
Inputs
| Name | Type | Description | Default |
|---|---|---|---|
sample_meta_crsp
|
File?
|
- | - |
id_salt
|
File
|
- | - |
biosample_submit_tsv
|
File?
|
- | - |
bioproject
|
String
|
- | - |
ftp_config_js
|
File
|
- | - |
14 optional inputs with default values |
|||
Outputs
| Name | Type | Expression |
|---|---|---|
biosample_attributes
|
File
|
tsv_join.out_tsv
|
id_map_tsv
|
File?
|
crsp_meta_etl.collab_ids_tsv
|
collab_ids_tsv
|
File?
|
crsp_meta_etl.collab_ids_tsv
|
collab_ids_addcols
|
Array[String]
|
select_first([crsp_meta_etl.collab_ids_addcols, []])
|
Calls
This workflow calls the following tasks or subworkflows:
CALL
TASKS
crsp_meta_etl
Input Mappings (3)
| Input | Value |
|---|---|
sample_meta_crsp
|
select_first([sample_meta_crsp])
|
salt
|
read_string(id_salt)
|
bioproject
|
bioproject
|
CALL
TASKS
md5sum
Input Mappings (1)
| Input | Value |
|---|---|
in_file
|
meta_submit_tsv
|
CALL
TASKS
biosample_tsv_filter_preexisting
Input Mappings (2)
| Input | Value |
|---|---|
meta_submit_tsv
|
meta_submit_tsv
|
out_basename
|
basename(meta_submit_tsv,'.tsv')
|
CALL
TASKS
biosample_submit_tsv_ftp_upload
Input Mappings (3)
| Input | Value |
|---|---|
meta_submit_tsv
|
biosample_tsv_filter_preexisting.meta_unsubmitted_tsv
|
config_js
|
ftp_config_js
|
target_path
|
"/~{prod_test}/biosample/~{basename(meta_submit_tsv,'.tsv')}/~{md5sum.md5}"
|
CALL
TASKS
tsv_join
Input Mappings (3)
| Input | Value |
|---|---|
input_tsvs
|
select_all([biosample_tsv_filter_preexisting.biosample_attributes_tsv, biosample_submit_tsv_ftp_upload.attributes_tsv, meta_submit_tsv])
|
id_col
|
"isolate"
|
out_basename
|
basename(meta_submit_tsv,'.tsv') + "-attributes"
|
Images
Container images used by tasks in this workflow:
ubuntu
ubuntu
Used by 1 task:
-
md5sum
Parameterized Image
⚙️ Parameterized
Configured via input:
docker
Used by 2 tasks:
-
biosample_tsv_filter_preexisting -
biosample_submit_tsv_ftp_upload
viral-core
quay.io/broadinstitute/viral-core:2.5.1
Used by 1 task:
-
tsv_join
Parameterized Image
⚙️ Parameterized
Configured via input:
docker
Used by 1 task:
-
crsp_meta_etl