Skip to content

Commit

Permalink
Add WDL and json file for writing both inventories
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Jul 25, 2024
1 parent 5576618 commit 3cbd825
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
9 changes: 9 additions & 0 deletions primed_inventories.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"primed_inventories.workspaces": {
"primed-data-prevent-1/PRIMED_ARIC_DBGAP_PHS000280_V8_P2_HMB-IRB": "ARIC",
"primed-data-dprism-1/PRIMED_RPGEH_DBGAP_PHS000788_V2_P3_HMB-IRB-NPU": "GERA, RPGEH",
"primed-data-topmed-1/PRIMED_CARDIA_TOPMED_DBGAP_PHS001612_V1_P1_HMB-IRB": "CARDIA"
},
"primed_inventories.output_workspace_namespace": "primed-adrienne",
"primed_inventories.output_workspace_name": "primed-sandbox"
}
31 changes: 31 additions & 0 deletions primed_inventories.wdl
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version 1.0

import "primed_phenotype_inventory.wdl" as phenotype_inventory
import "primed_genotype_inventory.wdl" as genotype_inventory

workflow primed_inventories {
input {
Map[String, String] workspaces
String output_workspace_name
String output_workspace_namespace
}

call phenotype_inventory.write_primed_phenotype_inventory_table {
input: workspaces = workspaces,
output_workspace_name = output_workspace_name,
output_workspace_namespace = output_workspace_namespace,
output_table = "phenotype_inventory"
}

call genotype_inventory.write_primed_genotype_inventory_table {
input: workspaces = workspaces,
output_workspace_name = output_workspace_name,
output_workspace_namespace = output_workspace_namespace,
output_table = "genotype_inventory"
}

meta {
author: "Adrienne stilp"
email: "[email protected]"
}
}

0 comments on commit 3cbd825

Please sign in to comment.