Opened 5 years ago
Closed 5 years ago
#3367 closed enhancement (fixed)
Save position matrices for subtomogram boxes
Reported by: | Owned by: | Tom Goddard | |
---|---|---|---|
Priority: | moderate | Milestone: | |
Component: | Volume Data | Version: | |
Keywords: | Cc: | Elaine Meng | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Would like to be able to write out the position matrices for subtomogram boxes. This is useful after using volume resample to create tens of subvolumes in VR by moving around a template volume. Then those volumes are saved
save boxes%03d.mrc models #4-35
Would like to save the matrices too perhaps with
save boxes%03d.mrc models #4-35 matrices boxes.positions
and also just the matrices could be saved
save boxes.positions models #4-35
The written boxes.positions could have one line per model giving the model name followed by 12 numbers giving the 3x4 positioning matrix.
It would also be useful to read in these matrices and place copies of a new map (subtomogram average) at each of those positions.
Change History (1)
comment:1 by , 5 years ago
Cc: | added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
Added "positions" file format.
The positions file gives positions of any type of model (not just volumes) and has one line per model giving the model name and 12 numbers which are the position 3x4 matrix separated by commas. You can save this file with
I did not add the ability to save them at the same time as saving MRC files. You can also open the positions file applying the matrices to specified models as in
That ignores the names of the models and simply assigns the matrices in order. If you want it to match the model names then use the matchNames option
By default open and save of positions does not c onsider child models. So if volume are specified it won't save the surface submodels of the volume. That is good because the surface submodel is generally not moved relative to its parent volume model. But if you want to save child models or set positions of child models use the open/save option "childModels true".