Skip to content

ccp4 map axis order #9

@wojdyr

Description

@wojdyr

Reading ccp4 maps works only for some axis orders.
It's because C,R,S to X,Y,Z mapping is used instead of the opposite (X,Y,Z to C,R,S).
So it works if axis order is for instance XYZ, ZYX or YXZ, but it doesn't work with YZX, etc.
If you'd like to test it, the axes can be reordered using ccp4 mapmask:

  mapmask mapin 1mru_2mFo-DFc.ccp4 mapout 1mru_yzx.ccp4 << eof
  AXIS Y Z X
  MODE mapin
  eof

I'm opening this issue just for the record.
I made a fork of the viewer that looks like coot (it diverged from xtal.js quite far by now):
https://github.com/uglymol/uglymol
and I fixed it there.

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