Hello all,
We are having problems importing particles (or coordinates to re-extract later) from CryoSPARC v3.3.1 to Relion (relion/4.0-beta2_cu10.2, from Sbgrid).
To do so we use PyEM (pyem/20220107, fro; Sbgrid).
Packages used:
-
pyem/20220107 (sbgrid module)
-
relion/4.0-beta2_cu10.2 (sbgrid module)
-
CryoSPARC v3.3.1
Basically, we can generate an .star file with optics information but lacking the coordinates. Or coordinates are there (_rlnCoordinateX #3, _rlnCoordinateY #4) but not good _rlnImageName #1 ?
$ csparc2star.py J184/extracted_particles.cs J184/P10_J184_passthrough_particles.cs particles_box.star –strip-uid
Angular alignment parameters not found
$ more particles_box.star
data_optics
loop_
_rlnVoltage #1
_rlnSphericalAberration #2
_rlnAmplitudeContrast #3
_rlnOpticsGroup #4
_rlnImageSize #5
_rlnImagePixelSize #6
_rlnImageDimensionality #7
300.000000 2.700000 0.100000 3 350 0.850000 2
data_particles
loop_
_rlnImageName #1
_rlnMicrographName #2
_rlnCoordinateX #3
_rlnCoordinateY #4
_rlnDefocusU #5
_rlnDefocusV #6
_rlnDefocusAngle #7
_rlnPhaseShift #8
_rlnCtfBfactor #9
_rlnOpticsGroup #10
000001@J184/extract/000004360215995426433_20211216_B2G1_ND_H__146-4_011_-0.0_Jan
28_rigid_aligned_particles.mrc J113/motioncorrected/000004360215995426433_202112
16_B2G1_ND_H__146-4_011_-0.0_Jan28_rigid_aligned.mrc 554 1578 19529.330078 19006
.982422 -21.646286 0.000000 0.000000 3
I can import this .star file but if I display these particles, it comes out with: Cannot read file J202/extract/014424738750866394221_20211216_B2G1_ND_H__106_002_-0.0_Jan27_rigid_aligned_particles.mrc It does not exist
I could change .mcr to .mrcs in the star file and then it is able to read particles imported, I can sub-select them, but coordinates are not there anyway if I want to re-extract them.
=================
Extracting particles from the micrographs …
0/ 0 sec …~~(,_,">
Joining metadata of all particles from 2080 micrographs in one STAR file…
The pixel size of the extracted particles in optics group 1 is 0.85 Angstrom/pixel.
Written out STAR file with 0 particles in Extract/job067/particles.star
Done preprocessing!
Furthermore:
If I add -copy-micrograph-coordinates (before of after passthrough, no matter) does not work either.
$ csparc2star.py J184/extracted_particles.cs J184/P10_J184_particles.cs --copy-micrograph-coordinates particles_box.star --strip-uid
Defocus values not found
Angular alignment parameters not found
/opt/sbgrid/x86_64-linux/pyem/20220107/pyem_extlib/pyem-20220107-ulwm/pyem/star.py:538: FutureWarning: Columnar iteration over characters will be deprecated in future releases.
df[UCSF.IMAGE_INDEX], df[UCSF.IMAGE_PATH] = \
/opt/sbgrid/x86_64-linux/pyem/20220107/pyem_extlib/pyem-20220107-ulwm/pyem/star.py:546: FutureWarning: Columnar iteration over characters will be deprecated in future releases.
df[UCSF.IMAGE_ORIGINAL_INDEX], df[UCSF.IMAGE_ORIGINAL_PATH] = \
I would really appreciate if somebody can help us with this issue…
Best,
Borja