Skip to content

Commit 336175e

Browse files
committed
grn evaluation was addded pathway args
1 parent 021cd8a commit 336175e

4 files changed

Lines changed: 62 additions & 31 deletions

File tree

scripts/run_all.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
set -e
22

33
datasets=( 'replogle' 'op' 'nakatake' 'adamson' 'norman' 'xaira_HEK293T' 'xaira_HCT116' 'parsebioscience' 'ibd_uc' 'ibd_cd' '300BCG' ) #'replogle' 'op' 'nakatake' 'adamson' 'norman' 'xaira_HEK293T' 'xaira_HCT116' 'parsebioscience' 'ibd_uc' 'ibd_cd' '300BCG') #
4-
# datasets=( 'ibd_uc' 'ibd_cd' ) #'replogle' 'op' 'nakatake' 'adamson' 'norman' 'xaira_HEK293T' 'xaira_HCT116' 'parsebioscience' 'ibd_uc' 'ibd_cd' '300BCG') #
4+
datasets=( 'replogle' 'op' ) #'replogle' 'op' 'nakatake' 'adamson' 'norman' 'xaira_HEK293T' 'xaira_HCT116' 'parsebioscience' 'ibd_uc' 'ibd_cd' '300BCG') #
55
run_local=false # set to true to run locally, false to run on AWS
66

77
run_grn_inference=false
@@ -56,7 +56,7 @@ for dataset in "${datasets[@]}"; do
5656
fi
5757

5858
echo "Running GRN evaluation for dataset: $dataset"
59-
# bash scripts/run_grn_evaluation.sh --dataset=$dataset --run_local=$run_local --build_images=false
59+
bash scripts/run_grn_evaluation.sh --dataset=$dataset --run_local=$run_local --build_images=false
6060
fi
6161

6262
if [ "$run_download" = true ]; then

src/utils/dataset_config.env

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,19 @@ CELLTYPE_xaira_HCT116="HCT116"
1010
CELLTYPE_op="PBMC"
1111
CELLTYPE_parsebioscience="PBMC"
1212
CELLTYPE_300BCG="PBMC"
13-
CELLTYPE_ibd="PBMC"
13+
CELLTYPE_ibd_uc="PBMC"
14+
CELLTYPE_ibd_cd="PBMC"
1415
CELLTYPE_nakatake=""
1516

1617
# Metrics (comma-separated)
17-
METRICS_replogle="regression,ws_distance,tf_recovery,tf_binding"
18-
METRICS_adamson="regression,ws_distance,tf_binding"
19-
METRICS_norman="regression,ws_distance,tf_binding"
20-
METRICS_nakatake="regression"
21-
METRICS_op="regression,vc,rc_tf_act,tf_binding"
22-
METRICS_300BCG="regression,vc,rc_tf_act,tf_binding"
23-
METRICS_ibd="regression,vc,tf_binding"
24-
METRICS_parsebioscience="regression,vc,rc_tf_act,tf_binding"
25-
METRICS_xaira_HEK293T="regression,ws_distance,tf_recovery,tf_binding"
26-
METRICS_xaira_HCT116="regression,ws_distance,tf_recovery,tf_binding"
18+
METRICS_replogle="regression,ws_distance,tf_recovery,tf_binding,sem,gs_recovery"
19+
METRICS_adamson="regression,tf_binding,sem,gs_recovery"
20+
METRICS_norman="regression,ws_distance,tf_binding,sem,gs_recovery"
21+
METRICS_nakatake="regression,sem,gs_recovery"
22+
METRICS_op="regression,vc,rc_tf_act,tf_binding,sem,rc,anchor_regression,gs_recovery"
23+
METRICS_300BCG="regression,vc,rc_tf_act,tf_binding,sem,rc,anchor_regression,gs_recovery"
24+
METRICS_ibd_uc="regression,vc,tf_binding,sem,anchor_regression,gs_recovery"
25+
METRICS_ibd_cd="regression,vc,tf_binding,sem,anchor_regression,gs_recovery"
26+
METRICS_parsebioscience="regression,vc,rc_tf_act,tf_binding,sem,rc,anchor_regression,gs_recovery"
27+
METRICS_xaira_HEK293T="regression,ws_distance,tf_recovery,tf_binding,sem,gs_recovery"
28+
METRICS_xaira_HCT116="regression,ws_distance,tf_recovery,tf_binding,sem,gs_recovery"

src/workflows/run_evaluation/config.vsh.yaml renamed to src/workflows/run_grn_evaluation/config.vsh.yaml

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -71,23 +71,46 @@ argument_groups:
7171
must_exist: false
7272
required: false
7373
example: resources_test/grn_benchmark/prior/ws_distance_background_norman.csv
74-
# - name: --ground_truth_unibind
75-
# type: file
76-
# direction: input
77-
# must_exist: false
78-
# required: false
79-
# - name: --ground_truth_chipatlas
80-
# type: file
81-
# direction: input
82-
# must_exist: false
83-
# required: false
84-
# - name: --ground_truth_remap
85-
# type: file
86-
# direction: input
87-
# must_exist: false
88-
# required: false
89-
90-
74+
- name: --ground_truth_unibind
75+
type: file
76+
direction: input
77+
must_exist: false
78+
required: false
79+
- name: --ground_truth_chipatlas
80+
type: file
81+
direction: input
82+
must_exist: false
83+
required: false
84+
- name: --ground_truth_remap
85+
type: file
86+
direction: input
87+
must_exist: false
88+
required: false
89+
- name: --geneset_hallmark_2020
90+
type: file
91+
required: false
92+
description: Hallmark 2020 geneset GMT file
93+
- name: --geneset_kegg_2021
94+
type: file
95+
required: false
96+
description: KEGG 2021 geneset GMT file
97+
- name: --geneset_reactome_2022
98+
type: file
99+
required: false
100+
description: Reactome 2022 geneset GMT file
101+
- name: --geneset_go_bp_2023
102+
type: file
103+
required: false
104+
description: GO Biological Process 2023 geneset GMT file
105+
- name: --geneset_bioplanet_2019
106+
type: file
107+
required: false
108+
description: BioPlanet 2019 geneset GMT file
109+
- name: --geneset_wikipathways_2019
110+
type: file
111+
required: false
112+
description: WikiPathways 2019 geneset GMT file
113+
91114
- name: Outputs
92115
arguments:
93116
- name: "--scores"
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,13 @@ workflow run_wf {
6262
layer: "layer",
6363
ground_truth_unibind: "ground_truth_unibind",
6464
ground_truth_chipatlas: "ground_truth_chipatlas",
65-
ground_truth_remap: "ground_truth_remap"
65+
ground_truth_remap: "ground_truth_remap",
66+
geneset_hallmark_2020: "geneset_hallmark_2020",
67+
geneset_kegg_2021: "geneset_kegg_2021",
68+
geneset_reactome_2022: "geneset_reactome_2022",
69+
geneset_go_bp_2023: "geneset_go_bp_2023",
70+
geneset_bioplanet_2019: "geneset_bioplanet_2019",
71+
geneset_wikipathways_2019: "geneset_wikipathways_2019"
6672
],
6773
// use 'toState' to publish that component's outputs to the overall state
6874
toState: { id, output, state, comp ->

0 commit comments

Comments
 (0)