KuangshiAi commited on
Commit
a28d422
·
1 Parent(s): 4fe94e5

compose basic action operations into tasks

Browse files
eval_cases/molecular_vis/actions/basic_actions.yaml CHANGED
@@ -1,6 +1,13 @@
1
  # Basic Actions for Molecular Visualization Benchmark
2
  # These actions test core functionality of molecular visualization tools
3
- #https://www.rcsb.org/structure/1CRN
 
 
 
 
 
 
 
4
 
5
  # Loading a CIF file
6
  - vars:
@@ -47,6 +54,13 @@
47
  cache: false
48
  runSerially: true
49
 
 
 
 
 
 
 
 
50
  # Coloring by element
51
  - vars:
52
  question: |
@@ -92,6 +106,13 @@
92
  cache: false
93
  runSerially: true
94
 
 
 
 
 
 
 
 
95
  # Selecting and coloring specific residues
96
  - vars:
97
  question: |
@@ -122,6 +143,13 @@
122
  cache: false
123
  runSerially: true
124
 
 
 
 
 
 
 
 
125
  # Multiple representations
126
  - vars:
127
  question: |
@@ -167,6 +195,13 @@
167
  cache: false
168
  runSerially: true
169
 
 
 
 
 
 
 
 
170
  # Coloring by B-factor (temperature factor)
171
  - vars:
172
  question: |
@@ -227,6 +262,13 @@
227
  cache: false
228
  runSerially: true
229
 
 
 
 
 
 
 
 
230
  # Selecting and highlighting active site
231
  - vars:
232
  question: |
@@ -272,6 +314,13 @@
272
  cache: false
273
  runSerially: true
274
 
 
 
 
 
 
 
 
275
  # Selecting specific atom types in a range
276
  - vars:
277
  question: |
@@ -302,6 +351,13 @@
302
  cache: false
303
  runSerially: true
304
 
 
 
 
 
 
 
 
305
  # Selecting and hiding specific residues
306
  - vars:
307
  question: |
@@ -362,6 +418,13 @@
362
  cache: false
363
  runSerially: true
364
 
 
 
 
 
 
 
 
365
  # Selecting aromatic residues
366
  - vars:
367
  question: |
@@ -392,6 +455,13 @@
392
  cache: false
393
  runSerially: true
394
 
 
 
 
 
 
 
 
395
  # Multiple selections with different representations
396
  - vars:
397
  question: |
@@ -422,6 +492,13 @@
422
  cache: false
423
  runSerially: true
424
 
 
 
 
 
 
 
 
425
  # Selecting and coloring by distance from specific atom
426
  - vars:
427
  question: |
@@ -467,6 +544,13 @@
467
  cache: false
468
  runSerially: true
469
 
 
 
 
 
 
 
 
470
  # Coloring by residue number
471
  - vars:
472
  question: |
@@ -527,6 +611,13 @@
527
  cache: false
528
  runSerially: true
529
 
 
 
 
 
 
 
 
530
  # Selecting and coloring by atom selection - backbone with sidechain by element
531
  - vars:
532
  question: |
@@ -631,3 +722,6 @@
631
  options:
632
  cache: false
633
  runSerially: true
 
 
 
 
1
  # Basic Actions for Molecular Visualization Benchmark
2
  # These actions test core functionality of molecular visualization tools
3
+ # https://www.rcsb.org/structure/1CRN
4
+ #
5
+ # Taxonomy Level: Task (small-scale visualization task involving a few operations)
6
+ # Each task is marked with a comment indicating the end of the task and the task name
7
+
8
+ # ============================================================
9
+ # TASK 1: 1CRN - Load & Basic Representations
10
+ # ============================================================
11
 
12
  # Loading a CIF file
13
  - vars:
 
54
  cache: false
55
  runSerially: true
56
 
57
+ # END OF TASK 1: 1CRN - Load & Basic Representations
58
+ # Operations: Load CIF file, Van der Waals representation, Licorice representation
59
+
60
+ # ============================================================
61
+ # TASK 2: 1CRN - Color by Properties
62
+ # ============================================================
63
+
64
  # Coloring by element
65
  - vars:
66
  question: |
 
106
  cache: false
107
  runSerially: true
108
 
109
+ # END OF TASK 2: 1CRN - Color by Properties
110
+ # Operations: Color by element, color by chain, color by residue type
111
+
112
+ # ============================================================
113
+ # TASK 3: 1CRN - Region Selection
114
+ # ============================================================
115
+
116
  # Selecting and coloring specific residues
117
  - vars:
118
  question: |
 
143
  cache: false
144
  runSerially: true
145
 
146
+ # END OF TASK 3: 1CRN - Region Selection
147
+ # Operations: Select and color specific residues, select and color specific atoms
148
+
149
+ # ============================================================
150
+ # TASK 4: 1CRN - Multi-Representation
151
+ # ============================================================
152
+
153
  # Multiple representations
154
  - vars:
155
  question: |
 
195
  cache: false
196
  runSerially: true
197
 
198
+ # END OF TASK 4: 1CRN - Multi-Representation
199
+ # Operations: Create multiple representations (cartoon + licorice), adjust material properties (opaque), adjust representation parameters (radius)
200
+
201
+ # ============================================================
202
+ # TASK 5: 1CRN - Advanced Coloring
203
+ # ============================================================
204
+
205
  # Coloring by B-factor (temperature factor)
206
  - vars:
207
  question: |
 
262
  cache: false
263
  runSerially: true
264
 
265
+ # END OF TASK 5: 1CRN - Advanced Coloring
266
+ # Operations: Color by B-factor, select and color water molecules, color by charge, color by hydrophobicity
267
+
268
+ # ============================================================
269
+ # TASK 6: 1CRN - Active Site Selection
270
+ # ============================================================
271
+
272
  # Selecting and highlighting active site
273
  - vars:
274
  question: |
 
314
  cache: false
315
  runSerially: true
316
 
317
+ # END OF TASK 6: 1CRN - Active Site Selection
318
+ # Operations: Distance-based selection (5Å around residue), distinguish protein vs non-protein components, adjust view settings (background color)
319
+
320
+ # ============================================================
321
+ # TASK 7: 1CRN - Spatial Queries
322
+ # ============================================================
323
+
324
  # Selecting specific atom types in a range
325
  - vars:
326
  question: |
 
351
  cache: false
352
  runSerially: true
353
 
354
+ # END OF TASK 7: 1CRN - Spatial Queries
355
+ # Operations: Select specific atom types in residue ranges, distance-based atom selection
356
+
357
+ # ============================================================
358
+ # TASK 8: 1CRN - Visibility Control
359
+ # ============================================================
360
+
361
  # Selecting and hiding specific residues
362
  - vars:
363
  question: |
 
418
  cache: false
419
  runSerially: true
420
 
421
+ # END OF TASK 8: 1CRN - Visibility Control
422
+ # Operations: Hide specific residues, show only specific element types, show only backbone, show only side chains
423
+
424
+ # ============================================================
425
+ # TASK 9: 1CRN - Residue Selection
426
+ # ============================================================
427
+
428
  # Selecting aromatic residues
429
  - vars:
430
  question: |
 
455
  cache: false
456
  runSerially: true
457
 
458
+ # END OF TASK 9: 1CRN - Residue Selection
459
+ # Operations: Select aromatic residues, select charged residues with differential coloring
460
+
461
+ # ============================================================
462
+ # TASK 10: 1CRN - Combined Representations
463
+ # ============================================================
464
+
465
  # Multiple selections with different representations
466
  - vars:
467
  question: |
 
492
  cache: false
493
  runSerially: true
494
 
495
+ # END OF TASK 10: 1CRN - Combined Representations
496
+ # Operations: Multiple representations with different color schemes (cartoon by chain + VdW by element), multiple representations with structural segmentation (backbone vs side chains)
497
+
498
+ # ============================================================
499
+ # TASK 11: 1CRN - Distance-based Selection
500
+ # ============================================================
501
+
502
  # Selecting and coloring by distance from specific atom
503
  - vars:
504
  question: |
 
544
  cache: false
545
  runSerially: true
546
 
547
+ # END OF TASK 11: 1CRN - Distance-based Selection
548
+ # Operations: Distance from specific atom (CA of residue), combined criteria (element type AND residue range), element-specific coloring (sulfur atoms)
549
+
550
+ # ============================================================
551
+ # TASK 12: 1CRN - Gradient Coloring
552
+ # ============================================================
553
+
554
  # Coloring by residue number
555
  - vars:
556
  question: |
 
611
  cache: false
612
  runSerially: true
613
 
614
+ # END OF TASK 12: 1CRN - Gradient Coloring
615
+ # Operations: Color by residue number (gradient), element selection in residue ranges, element + residue type combination (oxygen in polar residues), distance-based with element filter
616
+
617
+ # ============================================================
618
+ # TASK 13: 1CRN - Multi-Criteria Selection
619
+ # ============================================================
620
+
621
  # Selecting and coloring by atom selection - backbone with sidechain by element
622
  - vars:
623
  question: |
 
722
  options:
723
  cache: false
724
  runSerially: true
725
+
726
+ # END OF TASK 13: 1CRN - Multi-Criteria Selection
727
+ # Operations: Multi-representation with element-specific coloring (backbone cartoon + side chain licorice by element), complex distance and element queries (carbon near nitrogen atoms), Boolean logic selection (OR criteria), complex multi-criteria with distance, CA-only visualization, heteroatom isolation, multiple element type filtering
eval_cases/napari/0_actions/eval_basic_napari_functions.yaml CHANGED
@@ -3,6 +3,13 @@
3
  # Each test focuses on testing one specific function with appropriate parameters
4
  # We suggest using https://www.ebi.ac.uk/bioimage-archive/galleries/S-BIAD7.html IM1 as dataset_001
5
  # We suggest using https://uk1s3.embassy.ebi.ac.uk/bia-integrator-data/pages/S-BIAD573.html IM1 as dataset_002
 
 
 
 
 
 
 
6
 
7
  # Test: open_file - Load a multi-dimensional image file (T, Z, Y, X, C)
8
  - vars:
@@ -60,6 +67,13 @@
60
  cache: false
61
  runSerially: true
62
 
 
 
 
 
 
 
 
63
  # Test: Z-stack Navigation - Scroll through different depths
64
  - vars:
65
  question: |
@@ -91,7 +105,14 @@
91
  options:
92
  cache: false
93
  runSerially: true
94
-
 
 
 
 
 
 
 
95
  # Test: set_colormap - Change layer colormap
96
  - vars:
97
  question: |
@@ -134,6 +155,13 @@
134
  cache: false
135
  runSerially: true
136
 
 
 
 
 
 
 
 
137
  # Test: auto_contrast - Auto-adjust contrast
138
  - vars:
139
  question: |
@@ -190,6 +218,13 @@
190
  cache: false
191
  runSerially: true
192
 
 
 
 
 
 
 
 
193
  # Test: toggle_view - Switch between 2D and 3D view
194
  - vars:
195
  question: |
@@ -260,6 +295,13 @@
260
  cache: false
261
  runSerially: true
262
 
 
 
 
 
 
 
 
263
  # Test: set_layer_visibility - Toggle layer visibility
264
  - vars:
265
  question: |
@@ -302,6 +344,13 @@
302
  cache: false
303
  runSerially: true
304
 
 
 
 
 
 
 
 
305
  # # Test: get_layer_statistics - Get layer statistics
306
  # - vars:
307
  # question: |
@@ -344,6 +393,13 @@
344
  cache: false
345
  runSerially: true
346
 
 
 
 
 
 
 
 
347
  # # Test: measure_distance - Measure distance between points - doesn't work
348
  # - vars:
349
  # question: |
@@ -400,6 +456,13 @@
400
  cache: false
401
  runSerially: true
402
 
 
 
 
 
 
 
 
403
  # Test: save_layers - Save layer to file
404
  - vars:
405
  question: |
@@ -428,6 +491,13 @@
428
  cache: false
429
  runSerially: true
430
 
 
 
 
 
 
 
 
431
  # Test: Error handling - Try to load non-existent file
432
  - vars:
433
  question: |
@@ -456,6 +526,13 @@
456
  cache: false
457
  runSerially: true
458
 
 
 
 
 
 
 
 
459
  # Test: 3D View and Iso-surface Rendering
460
  - vars:
461
  question: |
@@ -483,4 +560,7 @@
483
  value: "<0>"
484
  options:
485
  cache: false
486
- runSerially: true
 
 
 
 
3
  # Each test focuses on testing one specific function with appropriate parameters
4
  # We suggest using https://www.ebi.ac.uk/bioimage-archive/galleries/S-BIAD7.html IM1 as dataset_001
5
  # We suggest using https://uk1s3.embassy.ebi.ac.uk/bia-integrator-data/pages/S-BIAD573.html IM1 as dataset_002
6
+ #
7
+ # Taxonomy Level: Task (small-scale visualization task involving a few operations)
8
+ # Each task is marked with a comment indicating the end of the task and the task name
9
+
10
+ # ============================================================
11
+ # TASK 1: Napari - Load & Layer Management
12
+ # ============================================================
13
 
14
  # Test: open_file - Load a multi-dimensional image file (T, Z, Y, X, C)
15
  - vars:
 
67
  cache: false
68
  runSerially: true
69
 
70
+ # END OF TASK 1: Napari - Load & Layer Management
71
+ # Operations: Load multi-dimensional file, delete layers, load single image file, retrieve layer information
72
+
73
+ # ============================================================
74
+ # TASK 2: Napari - 3D/4D Navigation
75
+ # ============================================================
76
+
77
  # Test: Z-stack Navigation - Scroll through different depths
78
  - vars:
79
  question: |
 
105
  options:
106
  cache: false
107
  runSerially: true
108
+
109
+ # END OF TASK 2: Napari - 3D/4D Navigation
110
+ # Operations: Z-stack navigation, time series navigation
111
+
112
+ # ============================================================
113
+ # TASK 3: Napari - Color & Opacity
114
+ # ============================================================
115
+
116
  # Test: set_colormap - Change layer colormap
117
  - vars:
118
  question: |
 
155
  cache: false
156
  runSerially: true
157
 
158
+ # END OF TASK 3: Napari - Color & Opacity
159
+ # Operations: Set colormap, adjust opacity, change blending mode
160
+
161
+ # ============================================================
162
+ # TASK 4: Napari - Contrast Adjustment
163
+ # ============================================================
164
+
165
  # Test: auto_contrast - Auto-adjust contrast
166
  - vars:
167
  question: |
 
218
  cache: false
219
  runSerially: true
220
 
221
+ # END OF TASK 4: Napari - Contrast Adjustment
222
+ # Operations: Auto-adjust contrast, set specific contrast limits, adjust gamma correction, change interpolation mode
223
+
224
+ # ============================================================
225
+ # TASK 5: Napari - Camera Control
226
+ # ============================================================
227
+
228
  # Test: toggle_view - Switch between 2D and 3D view
229
  - vars:
230
  question: |
 
295
  cache: false
296
  runSerially: true
297
 
298
+ # END OF TASK 5: Napari - Camera Control
299
+ # Operations: Switch 2D/3D view, get dimension info, get camera settings, reset camera, adjust camera zoom
300
+
301
+ # ============================================================
302
+ # TASK 6: Napari - Visibility & Screenshot
303
+ # ============================================================
304
+
305
  # Test: set_layer_visibility - Toggle layer visibility
306
  - vars:
307
  question: |
 
344
  cache: false
345
  runSerially: true
346
 
347
+ # END OF TASK 6: Napari - Visibility & Screenshot
348
+ # Operations: Hide layer, show layer, take screenshot
349
+
350
+ # ============================================================
351
+ # TASK 7: Napari - Annotations
352
+ # ============================================================
353
+
354
  # # Test: get_layer_statistics - Get layer statistics
355
  # - vars:
356
  # question: |
 
393
  cache: false
394
  runSerially: true
395
 
396
+ # END OF TASK 7: Napari - Annotations
397
+ # Operations: Add shape annotations
398
+
399
+ # ============================================================
400
+ # TASK 8: Napari - Scale Bar & Export
401
+ # ============================================================
402
+
403
  # # Test: measure_distance - Measure distance between points - doesn't work
404
  # - vars:
405
  # question: |
 
456
  cache: false
457
  runSerially: true
458
 
459
+ # END OF TASK 8: Napari - Scale Bar & Export
460
+ # Operations: Show scale bar with units, save screenshot to file
461
+
462
+ # ============================================================
463
+ # TASK 9: Napari - Export & Cleanup
464
+ # ============================================================
465
+
466
  # Test: save_layers - Save layer to file
467
  - vars:
468
  question: |
 
491
  cache: false
492
  runSerially: true
493
 
494
+ # END OF TASK 9: Napari - Export & Cleanup
495
+ # Operations: Save layer to file, remove layer
496
+
497
+ # ============================================================
498
+ # TASK 10: Napari - Error Handling
499
+ # ============================================================
500
+
501
  # Test: Error handling - Try to load non-existent file
502
  - vars:
503
  question: |
 
526
  cache: false
527
  runSerially: true
528
 
529
+ # END OF TASK 10: Napari - Error Handling
530
+ # Operations: Handle non-existent file, handle non-existent layer removal
531
+
532
+ # ============================================================
533
+ # TASK 11: Napari - 3D Rendering
534
+ # ============================================================
535
+
536
  # Test: 3D View and Iso-surface Rendering
537
  - vars:
538
  question: |
 
560
  value: "<0>"
561
  options:
562
  cache: false
563
+ runSerially: true
564
+
565
+ # END OF TASK 11: Napari - 3D Rendering
566
+ # Operations: Enable iso-surface rendering in 3D, remove test layers for cleanup