-
Notifications
You must be signed in to change notification settings - Fork 65
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
Folder hierarchy not fully preserved for *_topazpicks.star #84
Comments
This should be addressed by the "--per-micrograph" flag that I added to Topaz a few months ago. It causes the commands to write star files directly to the same location as the input files for better RELION compatibility and should simplify this issue dramatically. If you'd like to make a pull request updating the RELION scripts, I'm happy to accept it. @alexjnoble do you have any plans to update the RELION scripts? |
I anticipate that the current Relion scripts will be superseded by Topaz integration in the next official Relion release, version 3.2. So the current scripts will likely not be updated further, unless by user contribution. -Alex |
@alexjnoble Ok, are you able to test this user contribution? #85 |
I have very little experience with Relion so I don't have a proper test case for this or other contributions. Perhaps @rfleiro can help with this? |
Hi, agree with Alex, these scripts will be soon superseded by the new integration in Relion. I will test the new code |
I usually organize my cryo-EM data based on relion recommendations. See section 2.1 of Link.
For example, I put my tif files under Movies/10Feb2021 and import the movies into relion for the rest of the data analysis.
However, the relion wrapper of topaz only recognizes the last folder element in the hierarchy. In this case, 10Feb2021. This causes the picking result not able to display from relion gui.
The solution is to manually make a Movies folder under the External/jobXXX/ and move all the 10Feb2021/*_topazpicks.star files into it. However, it would be nice to recognize the folder hierarchy directly by the topaz wrapper.
This can be fixed by changing the following code
topaz/relion_run_topaz/run_topaz_pick.py
Line 96 in 617547c
to something like
os.system(str('''relion_star_printtable ''')+inargsMics+str(''' data_micrographs _rlnMicrographName | awk -F'job[0-9]*/' '{print $2}' | sed 's|/[^/]*.mrc||' > ''')+tmpfile)
The text was updated successfully, but these errors were encountered: