Skip to content

Commit 0cffe52

Browse files
committed
Improve figures
1 parent 2233b5c commit 0cffe52

File tree

5 files changed

+28
-41
lines changed

5 files changed

+28
-41
lines changed

img/DAG.png

102 KB
Loading

img/TUI_draft.svg

Lines changed: 4 additions & 0 deletions
Loading

img/manual_pipeline.png

103 KB
Loading

img/photon_mosaic.png

64.3 KB
Loading

index.qmd

Lines changed: 24 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,11 @@ It was designed to:
5151
* Enable reproducibility via Snakemake
5252
* Be modular and extensible
5353
* Reduce manual clicks
54-
5554
---
5655

57-
## Current Status
56+
## What I want to generalise?
5857

59-
* ✅ Suite2p integration (via Snakemake rules)
60-
* ✅ Tests for core components
61-
* ✅ Docs with `sphinx`
62-
* ☑️ Read arbitrary folder structure
63-
* ☑️ Preprocessing steps
64-
* 💡 Idea for interactive terminal UI in progress
58+
![Estimated number of clicks per processing step per dataset: 5-30](img/manual_pipeline.png){fig-align="center"}
6559

6660
---
6761

@@ -112,30 +106,13 @@ Each rule specifies:
112106
113107
Snakemake builds a **DAG** (Directed Acyclic Graph) from these dependencies.
114108
115-
```{mermaid}
116-
flowchart LR
117-
raw["raw.tif"] --> derotated["derotated.tif"]
118-
derotated --> suite2p_out["F.npy"]
119-
suite2p_out --> postprocessed["delta_f_over_f.npy"]
120-
```
121-
122-
Only changed or missing outputs will be recomputed.
109+
![Only changed or missing outputs will be recomputed.](img/DAG.png){fig-align="center"}
123110
124111
---
125112
126113
## Modular Design
127114
128-
Organization of photon-mosaic:
129-
130-
```{mermaid}
131-
flowchart TD
132-
A1[dataset discovery]
133-
B1[rule: preprocessing]
134-
C1[rule: suite2p]
135-
D1[rule: postprocessing]
136-
137-
A1 --> B1 --> C1 --> D1
138-
```
115+
![Organization of photon-mosaic](img/photon_mosaic.png){fig-align="center"}
139116
140117
---
141118
@@ -243,6 +220,19 @@ sub-1_230802CAA1120182
243220
└── ses-1
244221
└── ...
245222
```
223+
---
224+
225+
## Current Status
226+
227+
* ✅ Every step launches a job on the cluster
228+
* ✅ Suite2p integration (via Snakemake rules)
229+
* ✅ Tests for core components
230+
* ✅ Docs with `sphinx`
231+
* ☑️ Read arbitrary folder structure
232+
* ☑️ Preprocessing steps
233+
* 💡 Idea for interactive terminal UI in progress
234+
235+
---
246236

247237
## Challenge: Complexity for Users
248238

@@ -258,27 +248,14 @@ Snakemake is powerful... but YAML, paths, and rule syntax can scare users.
258248

259249
A TUI (terminal user interface) could help:
260250

261-
* Connect to the cluster
251+
* Connect to the cluster 🤔
262252
* Select pipeline steps interactively
263253
* Auto-generate Snakemake config and edit it
264254
* Submit jobs or monitor execution
265255
* Debug failed rules with context
266256

267257
---
268258

269-
## TUI Concept Sketch
270-
271-
```{mermaid}
272-
flowchart TD
273-
A[User launches tui] --> B[Select modules]
274-
B --> C[Configure paths]
275-
C --> D[Preview DAG]
276-
D --> E[Launch Snakemake]
277-
E --> F[Live status + logs]
278-
```
279-
280-
---
281-
282259
## Feature: Add Custom User Scripts
283260

284261
In the TUI, we could let users:
@@ -291,6 +268,12 @@ This allows non-developers to integrate their analysis into the pipeline **witho
291268

292269
---
293270

271+
## TUI Concept Sketch
272+
273+
![Possible TUI](img/TUI_draft.svg){fig-align="center"}
274+
275+
---
276+
294277
## What's Next?
295278

296279
* [ ] Complete PR with preprocessing steps and dataset discovery

0 commit comments

Comments
 (0)