You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(starrynight): consolidate fiji setup and update markdown linting
- Move Fiji installation instructions from getting-started.md to
example-pipeline-cli.md where they are contextually needed for stitching
- Update markdownlint config to disable MD040 and MD046 rules
- Fix stitchcrop command parameters and add warning for failing SBS step
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
Copy file name to clipboardExpand all lines: .markdownlint.yaml
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ MD038: true
105
105
MD039: true
106
106
107
107
# MD040/fenced-code-language : Fenced code blocks should have a language specified : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md040.md
108
-
MD040: true
108
+
#MD040: true
109
109
110
110
# MD042/no-empty-links : No empty links : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md042.md
# MD047/single-trailing-newline : Files should end with a single newline character : https://github.com/DavidAnson/markdownlint/blob/v0.33.0/doc/md047.md
## Download and Setup Fiji (Required for Stitching)
165
+
166
+
Before running the stitch and crop steps, you need to download and set up Fiji/ImageJ:
167
+
168
+
!!! info "Fiji Installation"
169
+
Fiji (Fiji Is Just ImageJ) is required for the stitching and cropping steps in both the CP and SBS tracks. CellProfiler cannot handle the large image sizes from stitched 6-well plates, so Fiji is used for this memory-intensive processing.
170
+
171
+
Download Fiji from the [official download page](https://imagej.net/software/fiji/downloads) and extract it. Then set the path to the executable:
@@ -173,24 +189,20 @@ Stitch multi-site Cell Painting images together and crop them for analysis. This
173
189
mkdir -p ${WKDIR}/fiji/pipeline/cp/stitchcrop
174
190
mkdir -p ${WKDIR}/fiji_temp
175
191
176
-
# Generate Fiji pipeline files
177
-
# FIXME: TBD whether the uow below is needed
178
-
# The default appears to be batch_id,plate_id,well_id,site_id, which is likely the wrong grouping for this step
192
+
# Generate fiji pipeline
179
193
starrynight stitchcrop pipeline \
180
194
-i ${WKDIR}/index/index.parquet \
181
195
-o ${WKDIR}/fiji/pipeline/cp/stitchcrop \
182
-
-w ${WKDIR} \
196
+
-w ${WKDIR}/stitchcrop \
183
197
--images ${WKDIR}/illum/cp/illum_apply \
184
198
--exp_config ${WKDIR}/experiment.json \
185
199
--use_legacy \
186
200
--uow batch_id,plate_id,well_id
187
201
188
-
# Execute the stitching and cropping with Fiji
189
-
# This will create stitched/, cropped/, and downsampled/ subdirectories
190
-
# FIXME: This is currently failing
202
+
# Execute fiji
191
203
starrynight stitchcrop fiji \
192
-
-p ${WKDIR}/fiji/pipeline/cp/stitchcrop \
193
-
-j 20 # Number of parallel jobs
204
+
-p ${WKDIR}/fiji \
205
+
-f ${FIJI_PATH}
194
206
```
195
207
196
208
## SBS Illumination Calculation
@@ -298,15 +310,22 @@ starrynight cp \
298
310
299
311
## SBS Stitch and Crop
300
312
313
+
!!! warning "Failing"
314
+
This step is currently failing, so skip it for now
315
+
301
316
Stitch multi-site SBS images together and crop them for analysis. Similar to the CP track, this step combines multiple fields of view from each well into stitched images suitable for barcode calling and analysis:
0 commit comments