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
Copy file name to clipboardExpand all lines: docs/docs/stages/denoise.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,12 @@ Denoising can vastly improve particle picking by helping to increase signal to n
12
12
13
13
### Required Parameters
14
14
15
-
| Parameter | Description | Example |
16
-
|-----------|-------------|---------|
17
-
|`--source`| Directory containing motion-corrected micrographs in MRC format |`/data/partinet_picking/motion_corrected`|
18
-
|`--project`| Parent project directory where all outputs will be saved |`/data/partinet_picking`|
15
+
| Parameter | Role | Example |
16
+
|-----------|------|---------|
17
+
|`--source`| Input folder for this stage (motion-corrected `.mrc` files) |`/data/partinet_picking/motion_corrected`|
18
+
|`--project`| Dataset root where outputs and logs are written |`/data/partinet_picking`|
19
+
20
+
Denoised micrographs are always written to `<project>/denoised/`. The `--source` directory is never modified.
19
21
20
22
### Optional Parameters
21
23
@@ -166,7 +168,7 @@ partinet denoise \
166
168
167
169
168
170
### Different Output Formats
169
-
By default PartiNet outputs denoised images in `png` format. This is necessary for compatibility with the detection architecture. `png` is a lossless compression, however micrographs are normalised from 32bit depth `mrc` files to 8bit `png`. `jpg` is also available (as a legacy format) but is not recommended for use due to lossy compression.
171
+
By default PartiNet outputs denoised images in `png` format. This is the recommended format for the Detect stage. `png` is lossless; micrographs are normalised from 32-bit MRC to 8-bit PNG. `jpg` is available but not recommended due to lossy compression.
170
172
171
173
```shell
172
174
# JPEG format (smaller file size, lossy compression)
Use `raw_micrographs.pt` only with raw MRC inputs. For denoised PNG, use `denoised_micrographs.pt`.
130
+
131
+
When generating a STAR file after skip-denoise, set `--images` to the **same folder** used as detect `--source` (e.g. `motion_corrected/`, not `denoised/`).
110
132
111
133
### Directory Structure
112
134
@@ -133,16 +155,16 @@ partinet_picking/
133
155
│ ├── micrograph2.mrc
134
156
│ └── ...
135
157
├── denoised/ # 🧹 Created by denoise stage
136
-
│ ├── micrograph1.mrc
137
-
│ ├── micrograph2.mrc
158
+
│ ├── micrograph1.png
159
+
│ ├── micrograph2.png
138
160
│ └── ...
139
161
├── exp/ # 🎯 Created by detect stage
140
162
│ ├── labels/ # 📋 Detection coordinates
141
163
│ │ ├── micrograph1.txt
142
164
│ │ ├── micrograph2.txt
143
165
│ │ └── ...
144
-
│ ├── micrograph1.mrc # 🖼️ Micrographs with detections drawn
145
-
│ ├── micrograph2.mrc
166
+
│ ├── micrograph1.png # 🖼️ Micrographs with detections drawn
Copy file name to clipboardExpand all lines: docs/docs/stages/star.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,12 +40,14 @@ docker run --gpus all -v /data:/data \
40
40
| Parameter | Type | Required | Description |
41
41
|-----------|------|----------|-------------|
42
42
|`--labels`| Path | Yes | Directory containing the particle coordinate files (`.txt` format) from the detection stage |
43
-
|`--images`| Path | Yes | Directory containing the denoised micrographs corresponding to the labels|
43
+
|`--images`| Path | Yes | Directory containing micrographs used during Detect — usually `<project>/denoised/`; if you skipped denoise, use the same folder as detect `--source`|
44
44
|`--output`| Path | Yes | Output path for the generated STAR file |
**Important:**`--images` must match the folder passed to `partinet detect --source`. After the standard pipeline that is `<project>/denoised/`; after skip-denoise on raw MRC it is `<project>/motion_corrected/` (or wherever your `.mrc` files live).
50
+
49
51
At this stage of the pipeline, your directory structure should look like:
0 commit comments