I want to convert use csparc2star.py and star2bild.py to represent particle distribution in 3D.
It worked beautifully on an “older” (sorry can’t find the version number) version of pyem.
Now our IT person installed a new version (0.63) and the procedure doesn’t work at the star2bild.py with the error: KeyError: ‘rlnAngleTilt’
In the “older” version, the particle.star does have the rlnAngleTilt:
data_images
loop_
_rlnImageName #1
_rlnMicrographName #2
_rlnCoordinateX #3
_rlnCoordinateY #4
_rlnAngleRot #5
_rlnAngleTilt #6
_rlnAnglePsi #7
_rlnOriginX #8
_rlnOriginY #9
_rlnVoltage #10
_rlnMagnification #11
_rlnDetectorPixelSize #12
_rlnDefocusU #13
_rlnDefocusV #14
_rlnDefocusAngle #15
_rlnSphericalAberration #16
_rlnPhaseShift #17
_rlnAmplitudeContrast #18
_rlnCtfBfactor #19
_rlnOpticsGroup #20
_rlnRandomSubset #21
_rlnClassNumber #22
But the 0.63 version probably has rlnAnglePsi instead (??): (both input have been generated from the same cryosparc job, just on 2 different machines).
data_images
loop_
_rlnImageName #1
_rlnMicrographName #2
_rlnCoordinateX #3
_rlnCoordinateY #4
_rlnAngleRot #5
_rlnAngleTilt #6
_rlnAnglePsi #7
_rlnOriginX #8
_rlnOriginY #9
_rlnVoltage #10
_rlnMagnification #11
_rlnDetectorPixelSize #12
_rlnDefocusU #13
_rlnDefocusV #14
_rlnDefocusAngle #15
_rlnSphericalAberration #16
_rlnPhaseShift #17
_rlnAmplitudeContrast #18
_rlnCtfBfactor #19
_rlnOpticsGroup #20
_rlnRandomSubset #21
_rlnClassNumber #22
Could you point out if I’m missing a keyword?
Thank you
Vincent