-
Notifications
You must be signed in to change notification settings - Fork 6
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
How to load a real world dataset? #3
Comments
Hi @dugu9sword Based on your error message, your star file is missing the 'rlnImageSize' column in the optics group. The easiest thing to get around this would be to modify your star file. Optics groups are defined on the relion wiki and have something like five columns if my memory serves. @fredericpoitevin I think I had run into this too, but haven't had time to work with cryoAI much : ( If I could suggest: This case could be easily caught using a dictionaries get method, which would return 'None' on key error. For some keys, like this one, the value is implicitly defined by the input data, so could be deduced by cryoAI. |
Hi @bHimes , Thanks a lot for your fruitful suggestions! I checked out the RELION's wiki and found some workaround. I re-used the parameters (of "optics": {
'rlnVoltage': {0: 300.0},
'rlnSphericalAberration': {0: 2.7},
'rlnAmplitudeContrast': {0: 0.1},
'rlnOpticsGroup': {0: 1},
'rlnImageSize': {0: 128},
'rlnImagePixelSize': {0: 3.77}
}, The reconstructed volume (at step 52648) seems poor. It is acceptable since amotized inference for pose estimation is a proof-of-concept technology in this area. I am wondering is there any advice or best practice for runing CryoAI on real-world data? Thanks! |
I ran into the same key error for missing the optics group in the input .star file when trying to load a real EMPIAR dataset. Based on what I have read in RELION's docs, it appears that the .star file parser used by CryoAI has been assuming a new feature added after RELION 3.1+ i.e. the optics group, which could be missing for cryo-em datasets released before 2020... Edit: 2022.12.11I have found a solution to op's issue of getting Luckily, among the preprocessed files of cryo-em datasets provided by Zhong, the Step 1. Install pyem Step 2. Run Step 3. If you open your converted Step 4. In your first run, if you encounter this particle invalid warning: Nevertheless, I'm also getting a poor reconstruction as op's: Reconstruction for empiar-10028 after 50 epochs (82000 steps): |
Hi,
I have downloaded the EMPIAR 10049 data following this link: https://github.com/zhonge/cryodrgn_empiar
But there are some questions:
.star
file, how can I resolve it?ctf.pkl
?Thanks!
The text was updated successfully, but these errors were encountered: