@@ -55,60 +55,21 @@ jobs:
5555
5656 - name : Preparing the data
5757 run : |
58- mkdir spatial spatial/ingestion spatial/ingestion/data
59- cd spatial/ingestion/data
60- mkdir V1_Human_Heart V1_Human_Lymph_Node
61- cd V1_Human_Heart
62- curl -O https://cf.10xgenomics.com/samples/spatial-exp/1.0.0/V1_Human_Heart/V1_Human_Heart_filtered_feature_bc_matrix.h5
63- curl -O https://cf.10xgenomics.com/samples/spatial-exp/1.0.0/V1_Human_Heart/V1_Human_Heart_spatial.tar.gz
64- tar -xf V1_Human_Heart_spatial.tar.gz
65- cd ../V1_Human_Lymph_Node
66- curl -O https://cf.10xgenomics.com/samples/spatial-exp/1.0.0/V1_Human_Lymph_Node/V1_Human_Lymph_Node_filtered_feature_bc_matrix.h5
67- curl -O https://cf.10xgenomics.com/samples/spatial-exp/1.0.0/V1_Human_Lymph_Node/V1_Human_Lymph_Node_spatial.tar.gz
68- tar -xf V1_Human_Lymph_Node_spatial.tar.gz
58+ mkdir spatial spatial/preprocess spatial/preprocess/data
59+ cd spatial/preprocess/data
60+
61+ curl -L -o V1_Human_Heart_unfilt.zarr.zip https://figshare.com/ndownloader/files/52236521
62+ unzip V1_Human_Heart_unfilt.zarr.zip
63+ rm V1_Human_Heart_unfilt.zarr.zip
64+ curl -L -o V1_Human_Lymph_Node_unfilt.zarr.zip https://figshare.com/ndownloader/files/52236575
65+ unzip V1_Human_Lymph_Node_unfilt.zarr.zip
66+ rm V1_Human_Lymph_Node_unfilt.zarr.zip
67+
6968
7069 # Note: we run the following to test that the commands works
7170 - name : Preparing the configuration file
7271 shell : bash -el {0}
7372 run : |
74- cd spatial/ingestion
75- panpipes qc_spatial config
76-
77- - name : Preparing the submission file
78- run : |
79- cd spatial/ingestion
80- curl -o sample_file_qc_visium.txt https://raw.githubusercontent.com/DendrouLab/panpipes-tutorials/sarah_spatialData/docs/ingesting_visium_data/sample_file_qc_visium.txt
81- - name : Preparing the yaml file
82- run : |
83- cd spatial/ingestion
84- curl -o pipeline.yml https://raw.githubusercontent.com/DendrouLab/panpipes-tutorials/sarah_spatialData/docs/ingesting_visium_data/pipeline.yml
85-
86- - name : File tree
87- if : env.debug == 'true'
88- run : tree spatial/ingestion
89-
90- - name : Review pipeline tasks
91- shell : bash -el {0}
92- run : |
93- cd spatial/ingestion
94- panpipes qc_spatial show full --local
95-
96- - name : Run pipeline tasks
97- shell : bash -el {0}
98- run : |
99- cd spatial/ingestion
100- panpipes qc_spatial make full --local
101-
102- - name : File tree
103- if : env.debug == 'true'
104- run : tree spatial/ingestion
105-
106-
107- # Note: we run the following to test that the commands works
108- - name : Preparing the configuration file
109- shell : bash -el {0}
110- run : |
111- mkdir spatial/preprocess
11273 cd spatial/preprocess
11374 panpipes preprocess_spatial config
11475
@@ -117,6 +78,11 @@ jobs:
11778 cd spatial/preprocess
11879 curl -o pipeline.yml https://raw.githubusercontent.com/DendrouLab/panpipes-tutorials/main/docs/preprocess_spatial_data/pipeline.yml
11980
81+ - name : Replace template contents in configuration file
82+ run : |
83+ cd spatial/preprocess
84+ sed -i 's+../ingestion/qc.data/+./data/+g' pipeline.yml
85+
12086 - name : File tree
12187 if : env.debug == 'true'
12288 run : tree spatial/preprocess
0 commit comments