Skip to content

Commit

Permalink
bug in negative control fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
janursa committed Sep 10, 2024
1 parent 9f6646f commit cf3016f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 17 deletions.
22 changes: 11 additions & 11 deletions scripts/run_benchmark_single_omics.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

# RUN_ID="run_$(date +%Y-%m-%d_%H-%M-%S)"
RUN_ID="single_omics_test"
resources_dir="./resources_test/"
# resources_dir="s3://openproblems-data/resources_test/grn"
RUN_ID="single_omics_try2"
# resources_dir="./resources_test/"
resources_dir="s3://openproblems-data/resources/grn"
publish_dir="${resources_dir}/results/${RUN_ID}"


Expand All @@ -12,7 +12,7 @@ subsample=-2
max_workers=10
layer='pearson'
metric_ids="[regression_1, regression_2]"
method_ids="[tigress, ennet, scsgl]"
method_ids="[tigress, ennet, scsgl, pidc]"

param_file="./params/${RUN_ID}.yaml"

Expand All @@ -38,12 +38,12 @@ output_state: "state.yaml"
publish_dir: "$publish_dir"
HERE

nextflow run . \
-main-script target/nextflow/workflows/run_benchmark_single_omics/main.nf \
-profile docker \
-with-trace \
-c src/common/nextflow_helpers/labels_ci.config \
-params-file ${param_file}
# nextflow run . \
# -main-script target/nextflow/workflows/run_benchmark_single_omics/main.nf \
# -profile docker \
# -with-trace \
# -c src/common/nextflow_helpers/labels_ci.config \
# -params-file ${param_file}

# ./tw-windows-x86_64.exe launch `
# https://github.com/openproblems-bio/task_grn_inference.git `
Expand All @@ -52,7 +52,7 @@ nextflow run . \
# --main-script target/nextflow/workflows/run_benchmark_single_omics/main.nf `
# --workspace 53907369739130 `
# --compute-env 6TeIFgV5OY4pJCk8I0bfOh `
# --params-file ./params/single_omics_scgpt.yaml `
# --params-file ./params/single_omics_try2.yaml `
# --config src/common/nextflow_helpers/labels_tw.config


7 changes: 1 addition & 6 deletions src/api/comp_control_method.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ functionality:
__merge__: file_prediction.yaml
required: false
direction: output
- name: --tf_all
type: file
required: false
direction: input
example: resources_test/prior/tf_all.csv
default: resources/prior/tf_all.csv



test_resources:
Expand Down
6 changes: 6 additions & 0 deletions src/control_methods/baseline_corr/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@ functionality:
required: false
direction: input
example: resources_test/grn-benchmark/multiomics_rna.h5ad
- name: --tf_all
type: file
required: false
direction: input
example: resources_test/prior/tf_all.csv
default: resources/prior/tf_all.csv
resources:
- type: python_script
path: script.py
Expand Down
6 changes: 6 additions & 0 deletions src/control_methods/positive_control/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ functionality:
required: false
direction: input
default: resources/grn-benchmark/perturbation_data.h5ad
- name: --tf_all
type: file
required: false
direction: input
example: resources_test/prior/tf_all.csv
default: resources/prior/tf_all.csv

resources:
- type: python_script
Expand Down

0 comments on commit cf3016f

Please sign in to comment.