Hi all,
I am trying to set up a tomogram refinement workflow in Relion 5.0 with data pre-processed in Warp. I followed the routine workflow in our lab and adapted some of the steps:
My project structure looks like this (simplified):
My pipeline was:
Split IMOD tilt series into MRC images → WarpTools create_settings → WarpTools fs_ctf.
Generate .tomostar files using order list CSV
WarpTools create_settings → WarpTools ts_import_alignments → WarpTools ts_ctf.
Convert previous refined bin1 particles in Relion 4 to per-tomo .star files.
Export particle coordinates with WarpTools ts_export_particles.
Feed the resulting particle .star files into Relion 5 Refine3D.
Everything runs fine up to this point, but Refine3D always crashes immediately after the first iteration when I run bin1 refinement. The error message is:
Is ts_reconstruct a required step before running Refine3D on Warp-exported particles? I did not include it in the workflow. Of course I would do this step latter, but this may take a lot of time.
Has anyone seen similar errors in Relion? Because the dataset had been refined to 8.56 Å in bin1, I dont think it's Relion's fault...
Any advice or experience would be greatly appreciated!
Best wishes,
Wanlong
P.S. the following are detailed steps, if you are interested, you can find related scripts on github.
# Split IMOD-processed tilt series stacks into individual MRC images using .tlt angle files.
python script/split_tiltstack.py -i tomograms/ -o frames/ --workers 16 --recursive
WarpTools create_settings \
--folder_data frames \
--folder_processing warp_frameseries \
--output warp_frameseries.settings \
--extension "*.mrc" \
--angpix 1.571 \
--exposure 3
WarpTools fs_ctf \
--settings warp_frameseries.settings \
--grid 2x2x1 \
--range_max 7 \
--defocus_max 8 \
--use_sum \
--perdevice 4
WarpTools filter_quality --settings warp_frameseries.settings --histograms
cd warp_frameseries
ln -s ../frames average
cd ..
# Generate .tomostar files for Warp from IMOD-processed tilt series using order CSV and frame averages.
python script/generate_tomostar.py -i tomograms/ -f frames/ -o tomostar/--recursive --workers 16
# --tomo_dimensions is the original dimension defined in emClarity in this case (convert_emClarity2relion.m).
WarpTools create_settings \
--output warp_tiltseries.settings \
--folder_processing warp_tiltseries \
--folder_data tomostar \
--extension "*.tomostar" \
--angpix 1.571 \
--exposure 3 \
--tomo_dimensions 4096x4096x3000
WarpTools ts_import_alignments \
--settings warp_tiltseries.settings \
--alignments tomograms/ \
--alignment_angpix 6.284
WarpTools ts_defocus_hand --settings warp_tiltseries.settings --check
WarpTools ts_ctf \
--settings warp_tiltseries.settings \
--range_high 7 \
--defocus_max 8 \
--perdevice 4
WarpTools filter_quality --settings warp_tiltseries.settings --histograms
# Split particles from a multi-tomogram STAR into per-tomo STARs after applying recenter and local shift, then bin coordinates.
# In this case, the particles has been refined in bin1, so doing bin4 to match the aligned tomograms.
python script/generate_particlestar.py -i relion/Refine3D/job051/run_data.star -o particles -b 4
WarpTools ts_export_particles \
--settings warp_tiltseries.settings \
--input_directory particles \
--input_pattern "*.star" \
--coords_angpix 6.284 \
--output_star warp4relion/matching.star \
--output_angpix 1.571 \
--box 240 \
--diameter 240 \
--relative_output_paths \
--2d \
--perdevice 4
cd warp4relion
cp ../relion/Refine3D/job051/run_class001.mrc ./
ml relion/5.0_gpu_ompi4_cuda111
relion --tomo&
Refine3D:
Input optimisation set: matching_optimisation_set.star
Reference map: run_class001.mrc
Initial low-pass filter 20
Symmetry C10
Mask diameter 240
Initial angular sampling 1.8
Local searches from auto-sampling 1.8
Use GPU acceleration
--sigma_ang 2
I tried a lot of parameters in Relion 5, but all same errors...
On Sep 23, 2025, at 23:29, Wanlong Hu <yunluoc...@gmail.com> wrote:
Hi Alister,
--
You received this message because you are subscribed to the Google Groups "Warp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to warp-em+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/warp-em/17785ea2-f260-43db-86ea-48b74244d61cn%40googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/warp-em/40318cd7-13e9-44b6-83f6-d334ddd51b21n%40googlegroups.com.

On Oct 8, 2025, at 01:21, Wanlong Hu <yunluoc...@gmail.com> wrote:
Hi Alister,
I would like to report my progress and seek your advice.1. In some tomograms, the second tilt during data collection was deleted. Because the rlnTomoImportFractionalDose was computed by subtracting the dose of the first tilt from that of the second (source code line 893-903), it would generate wrong dose in this case. I manually corrected them.
2. I customized your warp-tm-vis for our dataset (tm-vis), and confirmed that the particle positions were wrong in Warp-reconstructed tomograms.
Furthermore, I found that the z-axis orientation of the Relion-reconstructed tomogram was opposite to that of the Warp-reconstructed tomogram, and particles looked right in Relion-reconstructed tomograms. You can check the attached screenshot: The left was generated by WarpTools ts_reconstruct, and the right by relion_tomo_reconstruct_tomogram.
Since there is no mdoc file, I made tomostar files by my own script (generate_tomostar), WarpTools create_settings, and then WarpTools ts_import_alignments. I don't know how I can generate z-flipped tomograms using Warp.
The other idea might be flipping the z of particles, but I am not sure what transformation I should do for Euler angles. Do you have any suggestions for these two paths? I appreciate your time and guidance.
Cheers,Wanlong
To view this discussion visit https://groups.google.com/d/msgid/warp-em/55200a01-6a82-4576-9a02-b0822f37e681n%40googlegroups.com.
<warp-relion-tomo-compare.png>
On Oct 13, 2025, at 02:04, Wanlong Hu <yunluoc...@gmail.com> wrote:
Hi all,
To view this discussion visit https://groups.google.com/d/msgid/warp-em/d72bb5b0-2854-42d1-8178-35c4379bab47n%40googlegroups.com.