Skip to content

Commit ae390d9

Browse files
committed
update script
1 parent 4bdf8d4 commit ae390d9

1 file changed

Lines changed: 20 additions & 6 deletions

File tree

scripts/run_benchmark/run_full_seqeracloud.sh

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,31 @@ set -e
1010

1111
# generate a unique id
1212
RUN_ID="run_$(date +%Y-%m-%d_%H-%M-%S)"
13-
publish_dir="s3://openproblems-data/resources/temp_ist_preprocessing/results/${RUN_ID}"
13+
publish_dir="s3://openproblems-data/resources/task_ist_preprocessing/results/${RUN_ID}"
14+
15+
# input_dir="s3://openproblems-data/resources/task_ist_preprocessing/datasets"
16+
# cat > /tmp/params.yaml << HERE
17+
# param_list:
18+
19+
# - id: "mouse_brain_combined/rep1"
20+
# input_sp: "$input_dir/mouse_brain_combined/rep1/output_sp.zarr"
21+
# input_sc: "$input_dir/mouse_brain_combined/rep1/output_sc.h5ad"
22+
23+
# output_sc: "\$id/output_sc.h5ad"
24+
# output_sp: "\$id/output_sp.zarr"
25+
# output_state: "\$id/state.yaml"
26+
# publish_dir: "$publish_dir"
27+
# HERE
1428

1529
# write the parameters to file
1630
cat > /tmp/params.yaml << HERE
17-
input_states: s3://openproblems-data/resources/temp_ist_preprocessing/datasets/**/state.yaml
31+
input_states: s3://openproblems-data/resources/task_ist_preprocessing/datasets/**/state.yaml
1832
rename_keys: 'input_sc:output_sc;input_sp:output_sp'
1933
output_state: "state.yaml"
2034
publish_dir: "$publish_dir"
2135
HERE
2236

23-
tw launch https://github.com/openproblems-bio/temp_ist_preprocessing.git \
37+
tw launch https://github.com/openproblems-bio/task_ist_preprocessing.git \
2438
--revision build/main \
2539
--pull-latest \
2640
--main-script target/nextflow/workflows/run_benchmark/main.nf \
@@ -29,10 +43,10 @@ tw launch https://github.com/openproblems-bio/temp_ist_preprocessing.git \
2943
--params-file /tmp/params.yaml \
3044
--entry-name auto \
3145
--config common/nextflow_helpers/labels_tw.config \
32-
--labels temp_ist_preprocessing,full
46+
--labels task_ist_preprocessing,full
3347

3448
aws s3 sync \
35-
s3://openproblems-data/resources/temp_ist_preprocessing/results \
36-
resources/temp_ist_preprocessing/results \
49+
s3://openproblems-data/resources/task_ist_preprocessing/results \
50+
resources/task_ist_preprocessing/results \
3751
--profile op \
3852
--dryrun

0 commit comments

Comments
 (0)