Skip to content

Commit 2e7a111

Browse files
committed
Merge branch 'master'
2 parents 551c092 + cbd6c9f commit 2e7a111

File tree

28 files changed

+1250
-977
lines changed

28 files changed

+1250
-977
lines changed

config/pyp_config.toml

Lines changed: 619 additions & 496 deletions
Large diffs are not rendered by default.

docs/changelog.rst

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,57 @@ Changelog
44

55
**Legend**: :fa:`star,text-success` New feature, :fa:`plus-square,text-primary` Improvement, :fa:`bug,text-danger` Bug fix
66

7+
v0.6.3 (3/01/2024)
8+
******************
9+
10+
:fa:`plus-square,text-primary` Allow import of clean particles obtained after 3D classification into pre-processing block.
11+
12+
:fa:`plus-square,text-primary` Stop saving unnecessary metadata files during constrained refinement.
13+
14+
:fa:`plus-square,text-primary` Implement particle list picker that was missing from some import blocks.
15+
16+
:fa:`plus-square,text-primary` Implement parameter groups in UI to better handle conditional parameters.
17+
18+
:fa:`plus-square,text-primary` Add links to download tomograms and metadata for ArtiaX plugin.
19+
20+
:fa:`plus-square,text-primary` Provide more granular information when determining handedness of tilt-series.
21+
22+
:fa:`plus-square,text-primary` Allow users to control the timeout for deleting the scratch folder of zombie jobs.
23+
24+
:fa:`plus-square,text-primary` Add new parameter to control size of patches during patch-tracking to prevent tiltxcorr errors.
25+
26+
:fa:`plus-square,text-primary` Upgrade program versions to MotionCor3 1.1.1 and AreTomo2 1.1.2.
27+
28+
:fa:`plus-square,text-primary` Allow use of environment variables when specifying the local scratch directory.
29+
30+
:fa:`bug,text-danger` Hide the export tab from particle filtering blocks for tomography projects.
31+
32+
:fa:`bug,text-danger` Fix bug that ocurred when skipping frame alignment during movie processing.
33+
34+
:fa:`bug,text-danger` Fix bug in function used to export sessions to .star format.
35+
36+
:fa:`bug,text-danger` Fix bug in tomography sessions that ocurred when using size-based particle picking.
37+
38+
:fa:`bug,text-danger` Fix bug when exporting metadata in star format that saved the files to the incorrect folder.
39+
40+
:fa:`bug,text-danger` Fix bug when setting number of patches when running AreTomo2.
41+
42+
:fa:`bug,text-danger` Fix inconsistencies in the determination of parameter changes between consecutive runs.
43+
44+
:fa:`bug,text-danger` Stop trying to launch external programs for sub-tomogram averaging after particle extraction.
45+
46+
:fa:`bug,text-danger` Fix issue with missing metadata entries during tilt-series re-processing.
47+
48+
:fa:`bug,text-danger` Correctly discard particles that are too close to gold fiducials.
49+
50+
:fa:`bug,text-danger` Fix issue with management of virion selection thresholds that affected geometric particle picking.
51+
52+
:fa:`bug,text-danger` Fix bug when creating montages that ocurred when particle radius was equal to half the box size.
53+
54+
:fa:`bug,text-danger` Fix bug when re-running pre-processing after virion selection.
55+
56+
:fa:`bug,text-danger` Fix bug with links used to download maps for older iterations.
57+
758
v0.6.2 (2/01/2024)
859
******************
960

docs/guide/chimerax_artiax.rst

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,17 @@ Visualization in ChimeraX/ArtiaX
77
Step 1: Download the necessary files
88
------------------------------------
99

10-
Select the refinement block where you will extract the particle locations from. Click on the ``Edit`` menu for that block and select the ``Show filesystem location`` to find out the location of the project in the filesystem.
10+
You will need to download the following files to your local computer:
1111

12-
From this location, you will need to download the following files to your local computer:
12+
- Tomogram reconstruction (``*.rec``)
13+
- Refined map (``*.mrc``)
14+
- Corresponding particle orientations (``*.star``)
1315

14-
- Tomogram reconstruction (``mrc/tile_series_name.rec``)
15-
- Refined map (``frealign/maps/block_name_r{class_number}_{iteration_number}_crop.mrc``)
16-
- Corresponding particle orientations (``frealign/artiax/tile_series_name_K1.star``)
16+
You can get these files as follows:
17+
18+
- Go to the Pre-processing block, click on the **Tilt-series** tab, select a tilt-series and go to the **Reconstruction** tab. Download the ``.rec`` file by clicking on the gray/green badge
19+
- Go to the Particle refinement block, select the **Reconstruction** tab and select the ``Cropped Map`` option from the dropdown menu
20+
- In the same Particle refinement block, go the **Metadata** tab, type the name of the tilt-series and click ``Search``. Download the ``.star`` file by clicking on the gray/green badge
1721

1822
Step 2: Load data into ChimeraX/ArtiaX
1923
--------------------------------------

docs/tutorials/spa_empiar_10025.rst

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -223,12 +223,12 @@ Step 4: Reference-based refinement
223223

224224
- Set the location of the ``Initial model`` by clicking on the icon :fa:`search, text-primary`, navigating to the folder where you downloaded the data for the tutorial, selecting the file `EMPIAR-10025_init_ref.mrc`, and clicking :badge:`Choose File,badge-primary`
225225

226-
- Set ``Last iteration`` to 5
227-
228226
- Set ``Max resolution (A)`` to 8:7:6
229227

230228
- Check ``Use signed correlation``
231229

230+
- Set ``Last iteration`` to 5
231+
232232
- Check ``Show advanced options``
233233

234234
- Check ``Use alignment priors``
@@ -346,14 +346,14 @@ Step 7: Particle refinement
346346

347347
- Select the ``Input parameter file`` by clicking on the icon :fa:`search, text-primary` and selecting the file `sp-fine-refinement-*_r01_02_clean.par.bz2`
348348

349-
- Set ``Last iteration`` to 6
350-
351-
- Set ``Search mode`` to local
352-
353349
- Set ``Max resolution (A)`` to 6:4:3
354350

355351
- Check ``Use signed correlation``
356352

353+
- Set ``Last iteration`` to 6
354+
355+
- Set ``Search mode`` to local
356+
357357
* Click :badge:`Save,badge-primary`, :badge:`Run,badge-primary`, and :badge:`Start Run for 1 block,badge-primary` to launch the job
358358

359359
* Click inside the :badge:`Particle refinement,badge-secondary` block to inspect the results:
@@ -461,12 +461,12 @@ Step 11: Movie frame refinement
461461

462462
- Select the ``Input parameter`` by clicking on the icon :fa:`search, text-primary` and selecting the file `sp-coarse-refinement-*_r01_07.par.bz2`
463463

464+
- Set ``Max resolution (A)`` to 3
465+
464466
- Set ``Last iteration`` to 3
465467

466468
- Check ``Skip refinement``
467469

468-
- Set ``Max resolution (A)`` to 3
469-
470470
- Go to the **Constrained refinement** tab
471471

472472
.. tabbed:: Constrained refinement
@@ -475,8 +475,6 @@ Step 11: Movie frame refinement
475475

476476
- Check ``Movie frame refinement``
477477

478-
- Check ``Show advanced options``
479-
480478
- Check ``Regularize translations``
481479

482480
- Set ``Spatial sigma`` to 15

docs/tutorials/tomo_empiar_10164.rst

Lines changed: 49 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -134,26 +134,26 @@ Step 3: Pre-processing
134134

135135
- Set ``Max resolution`` to 5.0
136136

137-
- Click on the **Virion/spike detection** tab
138-
139-
.. tabbed:: Virion/spike detection
140-
141-
- Set ``Virion detection method`` to auto
142-
143-
- Set ``Virion radius (A)`` to 500.0
144-
145137
- Click on the **Tomogram reconstruction** tab
146138

147139
.. tabbed:: Tomogram reconstruction
148-
149-
- Click ``Show advanced options``
150140

151141
- Set ``Binning factor for reconstruction`` to 8
152142

143+
- Click ``Show advanced options``
144+
153145
- Set ``Thickness of reconstruction (unbinned voxels)`` to 2048
154146

147+
- Click on the **Virion/spike detection** tab
148+
149+
.. tabbed:: Virion/spike detection
150+
151+
- Set ``Virion radius (A)`` to 500.0
152+
153+
- Set ``Virion detection method`` to auto
154+
155155
- Click on the **Resources** tab
156-
156+
157157
.. tabbed:: Resources
158158

159159
- Set ``Threads per task`` to 7
@@ -305,14 +305,14 @@ Step 6: Reference-based refinement
305305

306306
- Specify the location of the ``Initial model`` by clicking on the icon :fa:`search, text-primary`, navigating to the folder where you downloaded the data for the tutorial, and selecting the file `EMPIAR-10164_init_ref.mrc`
307307

308-
- Click :fa:`search,text-primary` in ``Input parameter file`` to select the initial parameters text file ``tomo-preprocessing-*_original_volumes.txt`` from :badge:`Pre-processing,badge-secondary`
309-
310-
- Check ``Skip refinement``
308+
- Click :fa:`search,text-primary` in ``Alignments from sub-volume averaging`` to select the initial parameters text file ``tomo-preprocessing-*_original_volumes.txt`` from :badge:`Pre-processing,badge-secondary`
311309

312310
- Set ``Max resolution (A)`` to 8.0
313311

314312
- Check ``Use signed correlation``
315313

314+
- Check ``Skip refinement``
315+
316316
- Click on the **Constrained refinement** tab
317317

318318
.. tabbed:: Constrained refinement
@@ -325,20 +325,20 @@ Step 6: Reference-based refinement
325325

326326
- Check ``Refine particle alignments``
327327

328-
- Set ``Particle Phi range (degrees)`` and ``Particle Theta range (degrees)`` to 10
328+
- Set ``Phi range (degrees)`` and ``Theta range (degrees)`` to 10
329329

330-
- Set ``Particle translation range (voxels)`` to 50
330+
- Set ``Translation range (voxels)`` to 50
331331

332-
- Click on the **Resources** tab
332+
- Click on the **Reconstruction** tab
333333

334334
.. tabbed:: Reconstruction
335335

336-
- Check ``Show advanced options``
337-
338336
- Set ``Max tilt-angle`` to 50
339337

340338
- Set ``Min tilt-angle`` to -50
341339

340+
- Click on the **Resources** tab
341+
342342
.. tabbed:: Resources
343343

344344
- Set ``Walltime per task`` to 9:00:00
@@ -367,10 +367,10 @@ Step 7. Fully constrained refinement
367367

368368
.. tabbed:: Refinement
369369

370-
- Set ``Last iteration`` to 5
371-
372370
- Set ``Max resolution (A)`` to 8:10:8:6
373371

372+
- Set ``Last iteration`` to 5
373+
374374
- Click on the **Constrained refinement** tab
375375

376376
.. tabbed:: Constrained refinement
@@ -383,7 +383,7 @@ Step 7. Fully constrained refinement
383383

384384
- Set ``Optimizer - Exhaustive search points`` to 0
385385

386-
- Set ``Particle Phi range``, ``Particle Psi range`` and ``Particle Theta range`` to 20.0
386+
- Set ``Phi range``, ``Psi range`` and ``Theta range`` to 20.0
387387

388388
- Click on the **Exposure weighting** tab
389389

@@ -491,12 +491,12 @@ Step 10. Region-based local refinement (before masking)
491491

492492
- Select the location of the ``Initial parameter file`` by clicking on the icon :fa:`search,text-primary` and selecting the file `tomo-fine-refinement-*_r01_02.par.bz2` (select the file ``tomo-fine-refinement-*_r01_02_clean.par.bz2`` if bad particles were permanently removed in the previous step)
493493

494+
- Set ``Max resolution (A)`` to 6:5
495+
494496
- Set ``Last iteration`` to 3
495497

496498
- Check ``Skip refinement``
497499

498-
- Set ``Max resolution (A)`` to 6:5
499-
500500
- Click on the **Constrained refinement** tab
501501

502502
.. tabbed:: Constrained refinement
@@ -505,9 +505,7 @@ Step 10. Region-based local refinement (before masking)
505505

506506
- Set ``Number of regions`` to 8,8,2
507507

508-
- Check ``Show advanced options``
509-
510-
- Set ``Particle translation range (voxels)`` to 20.0
508+
- Set ``Translation range (voxels)`` to 20.0
511509

512510
* Click :badge:`Save,badge-primary`, :badge:`Run,badge-primary`, and :badge:`Start Run for 1 block,badge-primary` to run the job
513511

@@ -559,12 +557,14 @@ Step 12: Region-based constrained refinement
559557

560558
.. tabbed:: Refinement
561559

560+
- Set ``Max resolution (A)`` to 6:5:5:4:3.5
561+
562+
- Uncheck ``Resume refinement``
563+
562564
- Set ``First iteration`` to 4
563565

564566
- Set ``Last iteration`` to 6
565567

566-
- Set ``Max resolution (A)`` to 6:5:5:4:3.5
567-
568568
- Specify the location of the ``Shape mask`` produced in Step 11 by clicking on the icon :fa:`search, text-primary`, navigating to the location of the :badge:`Masking,badge-secondary` block by copying the path we saved above, and selecting the file `frealign/maps/mask.mrc`
569569

570570
* Click :badge:`Save,badge-primary`, :badge:`Run,badge-primary`, and :badge:`Start Run for 1 block,badge-primary` to run the job
@@ -588,24 +588,22 @@ Step 13: Particle-based CTF refinement
588588

589589
.. tabbed:: Refinement
590590

591-
- Set ``Last iteration`` to 7
592-
593591
- Set ``Max resolution (A)`` to 3.1
594592

593+
- Set ``Last iteration`` to 7
594+
595595
- Click on the **Constrained refinement** tab
596596

597597
.. tabbed:: Constrained refinement
598598

599+
- Set ``Last exposure for refinement`` to 10
600+
599601
- Uncheck ``Refine tilt-geometry``
600602

601603
- Uncheck ``Refine particle alignments``
602604

603605
- Check ``Refine CTF per-particle``
604606

605-
- Check ``Show advanced options``
606-
607-
- Set ``Last exposure for refinement`` to 10
608-
609607
* Click :badge:`Save,badge-primary`, :badge:`Run,badge-primary`, and :badge:`Start Run for 1 block,badge-primary`
610608

611609
* Click inside the :badge:`Particle refinement,badge-secondary` block to inspect the results
@@ -643,14 +641,12 @@ Step 14: Movie frame refinement
643641

644642
.. tabbed:: Constrained refinement
645643

644+
- Set ``Last exposure for refinement`` to 4
645+
646646
- Uncheck ``Refine CTF per-particle``
647647

648648
- Check ``Movie frame refinement``
649649

650-
- Check ``Show advanced options``
651-
652-
- Set ``Last exposure for refinement`` to 4
653-
654650
- Check ``Regularize translations``
655651

656652
- Set ``Spatial sigma`` to 200.0
@@ -673,7 +669,7 @@ Step 15: Refinement after movie frame refinement
673669
* Click on the menu icon :fa:`bars, text-primary` from the :badge:`Movie refinement,badge-secondary` block and choose the :fa:`edit, text-primary` Edit option.
674670

675671
* Go to the **Refinement** tab:
676-
672+
677673
.. tabbed:: Refinement
678674

679675
- Set ``Max resolution (A)`` to 3.3
@@ -682,25 +678,27 @@ Step 15: Refinement after movie frame refinement
682678

683679
.. tabbed:: Constrained refinement
684680

681+
- Check ``Show advanced options``
682+
683+
- Set ``Min number of projections for refinement`` to 2
684+
685685
- Check ``Refine tilt-geometry``
686686

687-
- Check ``Refine particle alignments``
687+
- Set ``Translation range (pixels)`` to 10.0
688688

689-
- Uncheck ``Movie frame refinement``
690-
691-
- Set ``Micrograph translation range (pixels)`` to 10.0
689+
- Set ``Tilt-angle range (degrees)`` and ``Tilt-axis range (degrees)`` to 1.0
692690

693-
- Set ``Micrograph tilt-angle range (degrees)`` and ``Micrograph tilt-axis range (degrees)`` to 1.0
691+
- Check ``Refine particle alignments``
694692

695-
- Set ``Particle Phi range (degrees)`` to 1.0
693+
- Set ``Phi range (degrees)`` to 1.0
696694

697-
- Set ``Particle Psi range (degrees)`` to 1.0
695+
- Set ``Psi range (degrees)`` to 1.0
698696

699-
- Set ``Particle Theta range (degrees)`` to 1.0
697+
- Set ``Theta range (degrees)`` to 1.0
700698

701-
- Set ``Particle translation range (voxels)`` to 10.0
702-
703-
- Set ``Min number of projections for refinement`` to 2
699+
- Set ``Translation range (voxels)`` to 10.0
700+
701+
- Uncheck ``Movie frame refinement``
704702

705703
* Click :badge:`Save,badge-primary`, :badge:`Run,badge-primary`, and :badge:`Start Run for 1 block,badge-primary`
706704

0 commit comments

Comments
 (0)