Skip to content

Commit

Permalink
fix scripts and components
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Sep 26, 2024
1 parent dc39223 commit 44f6171
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ cd "$REPO_ROOT"

set -e

publish_dir="s3://openproblems-data/resource/datasets"
publish_dir="s3://openproblems-data/resources/datasets"

cat > /tmp/params.yaml << HERE
param_list:
Expand Down Expand Up @@ -53,3 +53,7 @@ tw launch https://github.com/openproblems-bio/task_ist_preprocessing.git \
--params-file /tmp/params.yaml \
--config common/nextflow_helpers/labels_tw.config \
--labels datasets,allen_brain_cell_atlas

aws s3 sync \
s3://openproblems-data/resources/datasets/allen_brain_cell_atlas/2023_yao_mouse_brain_scrnaseq_10xv2 \
resources/datasets/allen_brain_cell_atlas/2023_yao_mouse_brain_scrnaseq_10xv2
1 change: 0 additions & 1 deletion scripts/create_resources/process_datasets.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ tw launch https://github.com/openproblems-bio/task_ist_preprocessing.git \
--workspace 53907369739130 \
--compute-env 6TeIFgV5OY4pJCk8I0bfOh \
--params-file /tmp/params.yaml \
--entry-name auto \
--config common/nextflow_helpers/labels_tw.config \
--labels task_ist_preprocessing,process_datasets
8 changes: 4 additions & 4 deletions scripts/create_test_resources/test_pipeline.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ mkdir -p $OUT_DIR

# run dataset preprocessor
viash run src/data_processors/process_dataset/config.vsh.yaml -- \
--input_scrnaseq $SC_DIR/dataset.h5ad \
--input_ist $SP_DIR/dataset.zarr \
--output_scrnaseq $OUT_DIR/scrnaseq_reference.h5ad \
--output_ist $OUT_DIR/raw_ist.zarr
--input_sc $SC_DIR/dataset.h5ad \
--input_sp $SP_DIR/dataset.zarr \
--output_sc $OUT_DIR/scrnaseq_reference.h5ad \
--output_sp $OUT_DIR/raw_ist.zarr

# run a segmentation method
viash run src/methods_segmentation/custom_segmentation/config.vsh.yaml -- \
Expand Down
2 changes: 2 additions & 0 deletions src/data_processors/process_dataset/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ engines:
runners:
- type: executable
- type: nextflow
directives:
label: [lowcpu, highmem, hightime]

0 comments on commit 44f6171

Please sign in to comment.