forked from openproblems-bio/task_perturbation_prediction
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add clipping to layer (openproblems-bio#57)
* add a clipped layer to the limma component * add scripts * fix labels
- Loading branch information
Showing
8 changed files
with
58 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
IN="resources" | ||
OUT="output" | ||
|
||
[[ ! -d "$OUT" ]] && mkdir -p "$OUT" | ||
|
||
# run benchmark | ||
# 'input_states' looks for state.yaml files corresponding to datasets | ||
export NXF_VER=23.04.2 | ||
|
||
nextflow run . \ | ||
-main-script target/nextflow/workflows/run_benchmark/main.nf \ | ||
-profile docker \ | ||
-resume \ | ||
--publish_dir "$OUT" \ | ||
--output_state "state.yaml" \ | ||
-entry auto \ | ||
--input_states "$IN/**/state.yaml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash | ||
|
||
RUN_ID="layerclip_$(date +%Y-%m-%d_%H-%M-%S)" | ||
publish_dir="s3://openproblems-data/resources/dge_perturbation_prediction/results/${RUN_ID}" | ||
|
||
cat > /tmp/params.yaml << HERE | ||
id: dge_perturbation_task | ||
input_states: s3://openproblems-bio/public/neurips-2023-competition/workflow-resources/neurips-2023-data/state.yaml | ||
output_state: "state.yaml" | ||
publish_dir: "$publish_dir" | ||
rename_keys: "de_train_h5ad:de_train_h5ad,de_test_h5ad:de_test_h5ad,id_map:id_map" | ||
settings: '{"layer": "clipped_sign_log10_pval"}' | ||
HERE | ||
|
||
tw launch https://github.com/openproblems-bio/task-dge-perturbation-prediction.git \ | ||
--revision main_build \ | ||
--pull-latest \ | ||
--main-script target/nextflow/workflows/run_benchmark/main.nf \ | ||
--workspace 53907369739130 \ | ||
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \ | ||
--params-file /tmp/params.yaml \ | ||
--entry-name auto \ | ||
--config src/common/nextflow_helpers/labels_tw.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters