-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting Fits to Particle Pick Locations #7
Comments
Hi @jgermain22, Thanks for the feedback :) Could you please specify more what you mean by "saving the protein locations"? The feature you requested is (sort of) implemented but not part of the GUI yet, partially because I am not sure which format would be best for integration with subsequent software. Personally, I needed STAR files for my workflow, and I used the following code to create surface oversampling inputs from the collapsed parameterizations. Star file writer
Rotation handling code I copied from pyTME (https://github.com/KosinskiLab/pyTME/blob/296c1a58e958a48782edad2fdfbceae4cd323858/tme/matching_utils.py#L906) Rotation handling
After you copied the helper functions above to your notebook, you can perform surface oversampling like so:
Hope that gives you an idea where to start and feel free to reach out in case of issues :) Best, |
Thank you so much! Is this Relion 4 or Relion 5 coordinates? |
I have only used this with Relion 4 so far. Going over the release notes, version 5 appears to be compatible with these star files though |
Relion 5 coordinate system is quite different it seems as they set 0,0 as the center of the tomogram rather than the IMOD convention. It looks like its an easy conversion but the coordinate system is in Angstrom rather than pix which is odd. I havent tried it myself but I will soon. |
Ah, yes, you will need to add the shift.
Something like this should do the trick
|
Sure Ill give this a try! Are you planning on incorporating this into the GUI? |
Yes, this will be added to the GUI :) However, the timeline isn't set yet, as we are also working on other features, like support for triangular meshes on top of the available parametrizations |
Hello! I was wondering what the angel convention is when saving the 'protein locations'?
Also I was wondering if it would be possible to to add functionality to convert the membrane fits to oversampled particle pick locations. Basically making the fits into a grid with a defined sampling then getting the normal vectors for downstream STA. Right now I am using this package (https://github.com/EuanPyle/Membrane_Associated_Picking) but it would be amazing if this kind of functionality was available in colabseg! Thank you again for making a great tool!!
Best
Jason
The text was updated successfully, but these errors were encountered: