Skip to content

Commit

Permalink
run grn pipeline updated
Browse files Browse the repository at this point in the history
  • Loading branch information
janursa committed Jan 23, 2025
1 parent 5e2bfea commit 3147fb2
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run_benchmark_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ HERE
# --params-file ./params/benchmark_donor_0_default.yaml `
# --config src/common/nextflow_helpers/labels_tw.config

./tw launch https://github.com/openproblems-bio/task_grn_inference \
tw launch https://github.com/openproblems-bio/task_grn_inference \
--revision build/main \
--pull-latest \
--main-script target/nextflow/workflows/run_benchmark/main.nf \
Expand Down
3 changes: 3 additions & 0 deletions scripts/run_grn_evaluation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,10 @@ append_entry() {
num_workers: $num_workers
tf_all: ${resources_dir}/prior/tf_all.csv
regulators_consensus: ${resources_dir}/prior/regulators_consensus_${dataset}.json
ws_consensus: ${resources_dir}/prior/ws_consensus_${dataset}.json
ws_distance_background: ${resources_dir}/prior/ws_distance_background_${dataset}.json
prediction: ${grn_models_folder}/${dataset}/$1.csv
layer: "X_norm"
HERE
}

Expand Down
8 changes: 8 additions & 0 deletions src/workflows/run_grn_evaluation/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@ functionality:
type: file
required: true
direction: input
- name: --prediction
type: file
required: true
direction: input
- name: --layer
type: string
required: true
direction: input
- name: --method_id
type: string
required: true
Expand Down
3 changes: 2 additions & 1 deletion src/workflows/run_grn_evaluation/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ workflow run_wf {
main:

// construct list of metrics
metrics_regression = [
metrics = [
regression_1,
regression_2
]
Expand Down Expand Up @@ -61,6 +61,7 @@ workflow run_wf {
method_id: "method_id",
num_workers: "num_workers",
regulators_consensus: "regulators_consensus",
ws_consensus: "ws_consensus",
layer: "layer",
tf_all: "tf_all"
],
Expand Down

0 comments on commit 3147fb2

Please sign in to comment.