I was trying to Reference motion correct my particles but then I realized that half of my dataset has 50 frames while the other half has 51 frames. I am aware that I can distinguish them during import with header checks, but I’m wondering if there is a way to split the motion corrected and CTF estimated exposures based on different number of frames instead, so that I don’t have to go through the entire process all over again?
can you do both? subset the first half at import, then somehow use exposure sets to find the intersection and select shared exposures between the half set and the processed ones? I’m not sure exactly how to do this given they will have unique UID but it’s a line of thinking worth investigation
Thank you for your suggestion! I tried exposure set tools but seems like the raw data and the processed exposures don’t share UID nor path. So sadly there has been no intersection between my accepted imported raw data and the motion corrected + CTF estimated exposures T T
Hi @Izana,
As I suppose you’ve guessed, if you can split the exposures into two separate groups, you can run them through reference-based motion correction separately. Unfortunately though, I don’t think there’s a built-in way to split exposures by frame count in the way that you need. If you’re comfortable with Python programming, you can definitely do it with CryoSPARC tools, simply split the dataset in two based on the frame count in the ‘movie_blob/shape’ field, which is a 3-element array [Nframes, Ny, Nx].
–Harris
Dear Harris,
Thank you for reply! I was looking into CryoSPARC tools and fascinated by how much more it can do compared to csparc itself. Though eventually I realised that turning the Skip movies with wrong frame count option on in Reference Based Motion Correction then re-run the correction using the rejected particles and exposures with different number of frames is sufficient to fix my case.
Best,
Iz