tried following instructions from below but having some issues.
After a 2D run I copied particles_selected.star to the same folder as particle stack (mrcs) and star files that went into cryosparc to begin. After inputting the command below I get the python error “unexpected keyword argument ‘signature’”.
hi again. Still not getting this to work. When I run the command I get an output file containing the parameters below. The script I think messes up, because I can’t re-extract those particles in relion. I repeatedly get errors about the particle “being outside of the micrographs”. I go looking for the particles in the csparc2star output and some X coordinate values may have decimal places shifted because values are in the range of 20000 pixels.
Also, I take it it’s not possible to also get the shifts and rotations per particle? Although it may not be the goal to have data moved between different programs, a cryosparc guy option to “export data” would be a phenomenal improvement. Thank you.
if anyone happens to see this thread, I still have a few questions…
after running csparc2star can the output be used directly in relion? I am getting weird 3D results in relion and suspect it may have to do with normalization of the particles. Does anything further need to be done after using the script?
is it possible to recover particle translation and rotation using this script?
@orangeboomerang converting alignment parameters for use in Relion is the primary application of the program. The input needs to contain the parameters in order for them to be converted. Look at the fields associated with your particles in cryoSPARC (or just use a refinement…).
You can also recover the coordinates for re-extraction. This requires either a passthrough file, for extractions from cryoSPARC, or an original .star file with coordinates (--copy-micrograph-coordinates) for particles imported from Relion.
If you want Relion to ignore normalization errors, add --dont_check_norm to the extra command line arguments. You could also re-extract the particles using Relion, which will let you re-center them (i.e. subtract origins from coordinates). Centering will help both Relion and cryoSPARC with refinements.
Hope people are still reading this thread, as we have a similar not exactly the same problem.
We used Topaz in cryoSPARC for particle picking. I converted the particle_exported.cs file to a star file using csparc2star.py. Everything seems to be fine and there was no error in the --loglevel debug. I did not get a “passthrough file may be required” warning either. However, when I used the converted coordinate star file to re-extract particles in Relion, I keep getting the "ERROR:
Preprocessing::extractParticlesFromOneFrame ERROR: particle1 lies completely outside micrograph ". Did I use the wrong cs file or am I missing a flag here?