Skip to content

transforming star file  #123

Description

@pherepanov

Dear Daniel,

I am trying to transform a star file (from a single particle project, Relion 5.0) to superpose subparticles based on Chimera transformation matrix. I used both star.py and subparticles.py, which produce different results but neither allow reconstruction of correctly oriented and positioned particle. Here are two commands I used:

star.py --transform "[[-0.990457,-0.00727857,0.137627,352.06],[-0.00724027,0.999973,0.000778896,-45.7555],[-0.137629,-0.000224997,-0.990484,426.689]]" cryosparc_P3_J13_010_particles_mindist35A.star cryosparc_P3_J13_010_particles_mindist35A_moved1.star

subparticles.py --transform "[[-0.990457,-0.00727857,0.137627,352.06],[-0.00724027,0.999973,0.000778896,-45.7555],[-0.137629,-0.000224997,-0.990484,426.689]]" cryosparc_P3_J13_010_particles_mindist35A.star cryosparc_P3_J13_010_particles_mindist35A_moved1c.star --boxsize 400 --apix 0.95

I noticed that in either case, positions of particles in star file (rlnCoordinateX,Y and rlnOriginX/YAngst) did not change, so shifts were not applied. Moreover, reconstructed orientations did not match one another. With the second method, it seems that a 180 degree rotation around Y, plus a translation is required to bring the new volume in the correct position.

I double-checked my transformation matrix in Chimera using matrixset, which placed the volume precisely where it needs to be. So the problem is with the script or with the way I am trying to use it (?). BTW, are these two scripts expected to produce different results with the same transformation matrix? My guess is that star.py expects a matrix from ZYZ Euler sequence and subpartilcles.py expected a matrix from ZXZ (Chimera) - is this interpretation correct?

Our pyem installation is recent, from June this year (after star.py update). I did try an older version also, with the same result.

Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions