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

No imported tomograms #1187

Open
jjdjesus opened this issue Oct 2, 2024 · 1 comment
Open

No imported tomograms #1187

jjdjesus opened this issue Oct 2, 2024 · 1 comment

Comments

@jjdjesus
Copy link

jjdjesus commented Oct 2, 2024

During the data import this problem arose:

Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Wrote STAR files for 0 tilt-series. serialem.py:170

but the files seem to have been read fine (see below the error). (These same TS were processed in a previous version of relion 5 without any problems).
Apparently when the list of tomogram_ids updates, it goes blank. I solved the problem by commenting line 116 of the serialem.py script.

116 #tomogram_ids = matches

I don't know if this was the right way to solve the problem or if I need to import the data in another way.

Environment:

  • OS: Rocky Linux 8.9
  • RELION-5.0-beta-3-commit-12cf15

Job options:

  • Type of job: Import

relion_python_tomo_import SerialEM --tilt-image-movie-pattern "../FramesCollected/.tif" --mdoc-file-pattern "../mdoc/.mdoc" --nominal-tilt-axis-angle 84.1 --nominal-pixel-size 0.84 --voltage 300 --spherical-aberration 2.7 --amplitude-contrast 0.1 --tilt-image-movie-pattern "../FramesCollected/*.tif" --optics-group-name "" --dose-per-tilt-image 2.42 --prefix B5 --invert-defocus-handedness --output-directory Import/job126/ --pipeline_control Import/job126/

Error message:

[17:43:46] Started import_tilt_series job. serialem.py:76
Creating output directory at Import/job126/tilt_series serialem.py:80
Found 49 mdoc files and 2024 image files. serialem.py:86
Wrote tilt-series data STAR file serialem.py:147
Import/job126/tilt_series.star
writing per tilt-series STAR files... serialem.py:150
Working... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Wrote STAR files for 0 tilt-series. serialem.py:170

@noneed2cry-o
Copy link

I also had this problem while trying to import a tilt-series using the Relion5 pipeline. It appears to me that the program takes the file name from the .mdoc file and matches it to the names of the tilt image files. If the name matches it appends the name to an empty list and then sets the tomogram IDs based on this list. For those who cannot edit the code to run the job, I found a workaround by copying one of my image files and setting the name to match the .mdoc file. So, if my .mdoc file is “tiltseries1.mrc.mdoc”, I copied an image file and named it “tiltseries1.tif”. This way the program finds the name “tiltseries1” and appends it to the matches list resulting in the tomogram ID being “tiltseries1”. This shouldn’t affect downstream processing as it appears this code is just related to setting the tomogram ID name and the image file names that contribute to the tilt series are contained within the .mdoc file. However, I am only processing one tilt series at a time and have not tested this workaround for importing multiple tilt series in the same job.

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

2 participants