-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add nf-tower cli for dataset loader * add mising directive labels for dataset loader * add missing directive labels process datasets * remove space in file name * update s3 bucket * increase yaml limit to 5mb * Fix dataset schema validation and remove unnecessary code to fix meta file size * Update dataset schema file path in config.vsh.yaml and main.nf * Add script for processing datasets on nf-tower in bat_int * Remove dataset_schema input from config.vsh.yaml * Add output_task_info to workflow configuration * Update publish directory in process_datasets.sh for bat_int * Update denoising process_datasets wf Former-commit-id: 82a6a4d
- Loading branch information
1 parent
8645e63
commit ce8252d
Showing
18 changed files
with
90 additions
and
32 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
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
25 changes: 25 additions & 0 deletions
25
src/tasks/batch_integration/nf_tower_scripts/process_datasets.sh
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,25 @@ | ||
#!/bin/bash | ||
|
||
cat > /tmp/params.yaml << HERE | ||
id: batch_integration_process_datasets | ||
input_states: s3://openproblems-nextflow/resources/datasets/openproblems_v1/**/state.yaml | ||
rename_keys: 'input:output_dataset' | ||
settings: '{"output_dataset": "dataset.h5ad", "output_solution": "solution.h5ad"}' | ||
publish_dir: s3://openproblems-nextflow/resources/batch_integration/datasets/openproblems_v1 | ||
HERE | ||
|
||
cat > /tmp/nextflow.config << HERE | ||
process { | ||
executor = 'awsbatch' | ||
} | ||
HERE | ||
|
||
tw launch https://github.com/openproblems-bio/openproblems-v2.git \ | ||
--revision main_build \ | ||
--pull-latest \ | ||
--main-script target/nextflow/batch_integration/workflows/process_datasets/main.nf \ | ||
--workspace 53907369739130 \ | ||
--compute-env 7IkB9ckC81O0dgNemcPJTD \ | ||
--params-file /tmp/params.yaml \ | ||
--entry-name auto \ | ||
--config /tmp/nextflow.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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
|
||
cat > /tmp/params.yaml << HERE | ||
id: denoising_process_datasets | ||
input_states: s3://openproblems-nextflow/resources/datasets/openproblems_v1/**/state.yaml | ||
rename_keys: 'input:output_dataset' | ||
settings: '{"output_train": "train.h5ad", "output_test": "test.h5ad"}' | ||
publish_dir: s3://openproblems-nextflow/resources/denoising/datasets/openproblems_v1 | ||
HERE | ||
|
||
cat > /tmp/nextflow.config << HERE | ||
process { | ||
executor = 'awsbatch' | ||
} | ||
HERE | ||
|
||
tw launch https://github.com/openproblems-bio/openproblems-v2.git \ | ||
--revision main_build \ | ||
--pull-latest \ | ||
--main-script target/nextflow/denoising/workflows/process_datasets/main.nf \ | ||
--workspace 53907369739130 \ | ||
--compute-env 7IkB9ckC81O0dgNemcPJTD \ | ||
--params-file /tmp/params.yaml \ | ||
--entry-name auto \ | ||
--config /tmp/nextflow.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