Hi!
This could probably be also a good question for the Chimera forum, but I try it here first.
Today I was struggling with something that usually would take me 15 minutes to do: mask creation.
I have after long time realized what was the problem. I created a simulated map from model using Chimera molmap with the onGrid option to have the same box size as the reconstruction map from cryoSPARC. I then imported the new volume on cryoSPARC successfully and attempted to use Volume Tools job to covert map to mask.
I was then surprised by this error:
[CPU: 223.9 MB] Traceback (most recent call last):
File âcryosparc_worker/cryosparc_compute/run.pyâ, line 85, in cryosparc_compute.run.main
File â/home/angr5008/Software/cryosparc/cryosparc_worker/cryosparc_compute/jobs/utilities/run_volume_tools.pyâ, line 90, in run
vol_f = fourier.fft(vol)
File â/home/angr5008/Software/cryosparc/cryosparc_worker/cryosparc_compute/fourier.pyâ, line 110, in fft
return fftcenter3(x, fft_threads)
File â/home/angr5008/Software/cryosparc/cryosparc_worker/cryosparc_compute/fourier.pyâ, line 69, in fftcenter3
assert all([d%2 == 0 for d in vol.shape])
AssertionError
I tried to figure the error, but it is not very self-explanatory.
I then returned to chimera and performed a vop resample onGrid command on the simulated map I originally imported on cryoSPARC. Turns out that when I followed this âtraditionalâ way there was no error.
Why does cryoSPARC require resampled volumes? At least in real space, the volume looked as it should (right box size, centered), but I am curious to understand the concept/reason for resampling, especially because Volume tools job should be able to resample the volume right?
Cheers,
André