Skip to content
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

Relion5 Ctf estimation: BUG: MDin should contain a rlnMicrographPreExposure label #1167

Closed
kexinliu0001 opened this issue Jul 23, 2024 · 9 comments

Comments

@kexinliu0001
Copy link

hi! I'm doing CtfFind using Relion5.
I did Import and MotionCorr as the tutorial, but when I'm doing CTF estimation with input tilt series corrected_tilt_series.star, it gave the error information "BUG: MDin should contain a rlnMicrographPreExposure label":

image

I checked the star files, and the star file for each tomogram contains the rlnMicrographPreExposure

image

How can I solve it?

Thanks!!!

@2019C
Copy link

2019C commented Jul 30, 2024

Hello, I am running into the same error message in RELION 5 tomo CTF estiomation job. Have you figured out the problem?

BUG: MDin should contain a rlnMicrographPreExposure label

Thanks,
Chen

@2019C
Copy link

2019C commented Aug 2, 2024

Hi,

My problem was fixed. It turned out that the CTFFIND4 couldn't run on the cluster. The solution is to add "export LC_ALL=C" to my ~/.bashrc.

Hope it helps.
Chen

@Li19970731
Copy link

I have added "export LC_ALL=C" to my ~/.bashrc, but this bug still here.

@xingxingjiukunkun
Copy link

"I have the same issue, have you resolved it?

@AssmannG
Copy link

AssmannG commented Oct 7, 2024

HI,
I had the same issue and could also resolve it with exporting LC_ALL=C inside the relion SLURM submission templates ...seems as if the $LANG setting that was set on the cluster was not not the standard "en_US.UTF-8". Accoringly, CtfFind failed.... you can check that with $ locale from where you are running the jobs...

@HDuyvesteyn
Copy link

HDuyvesteyn commented Nov 5, 2024

Hiya,
I am also encountering the same issue, even after trying exporting LC_ALL=C in my slurm submission script with relion-5.0-beta-3 and ctffind-4.1.14.

I tried an earlier version of ctffind4 (I am afraid that I cannot find exactly which version at present, as was using someone else's installation) and this ran absolutely fine, so might be an issue with the 2019 version of ctffind4?

@MXXXZ
Copy link

MXXXZ commented Nov 27, 2024

Thanks @HDuyvesteyn , I changed the ctffind version from 4.1.14 to 4.1.5 and the bug disappeared, so it is indeed likely a bug in the new version.

@huwjenkins
Copy link
Contributor

huwjenkins commented Nov 27, 2024

@HDuyvesteyn - did you try the version ctffind_4.1.14_centOS7.tar.gz from https://grigoriefflab.umassmed.edu? That works on our cluster but the other ctffind_4.1.14 binaries require a either a wrapper script that does:

#!/bin/bash
LC_ALL=C /path/to/bin/ctffind-4.1.14 $@

which I guess means or exporting LC_ALL=C in the SLURM job submission script also didn't work for me (sorry I don't remember)...

edited as I just tested and that does work.

biochem-fan added a commit that referenced this issue Nov 29, 2024
Raise an error when CTF estimation failed on all images; also add LC_ALL=C to avoid problems in CTFFIND. Fixes #1167. Thanks to @huwjenkins.
@biochem-fan
Copy link
Member

Repaired in #1212 by @huwjenkins.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants