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

CTFFIND4 compatibility #6

Closed
bforsbe opened this issue Jun 20, 2016 · 8 comments
Closed

CTFFIND4 compatibility #6

bforsbe opened this issue Jun 20, 2016 · 8 comments

Comments

@bforsbe
Copy link
Contributor

bforsbe commented Jun 20, 2016

Originally reported by: craigyk (Bitbucket: craigyk, GitHub: craigyk)


Hi,

I don't know if this is a CTFFIND4 version compatibility thing, but I've run into some problems with the run_ctffind on our version of CTFFIND4 4.0.16.

I've fixed these problems and could submit a pull request. It essentially boiled down to using bash instead of csh in the wrapper, and tweaking the delimiter and word counts used for parsing the output file.


@bforsbe
Copy link
Contributor Author

bforsbe commented Jun 20, 2016

Original comment by Sjors Scheres (Bitbucket: scheres, GitHub: scheres):


Hi Craigyk,
Sorry, cannot see your code right now. But did you use the CTFFIND3 or CTFFIND4.1 wrapper from the GUI? CTFFIND4.0 still needs to be run through the CTFFIND3-wrapper (using the --old_school_input argument as in relion-1.4). The CTFFIND4 wrapper is made for CTFFIND4.1 (which I understand from Alexis will come soon). There, the order/number of some words in the output file will change.
What was the problem with csh?

@bforsbe
Copy link
Contributor Author

bforsbe commented Jun 21, 2016

Original comment by craigyk (Bitbucket: craigyk, GitHub: craigyk):


OK, I thought it might be a version issue, unfortunately we only have 4.0 so I had to make the changes for now on our install.

Not sure what exactly the problem is with the generated .com files, but when run through csh they seem to occasionally return a non-zero result which writes warning to stderr. The executable seems to still complete successfully though. The returned exit codes look like they might be pids... but I did not verify. I fixed this (on my setup at least) by adding an exit 0 to the generated .com script and running it through bash. Sorry, I don't have more detailed info for you.

@bforsbe
Copy link
Contributor Author

bforsbe commented Jul 7, 2016

Original comment by Sjors Scheres (Bitbucket: scheres, GitHub: scheres):


Alexis Rohou mentioned a bug in ctffind 4.0 (and early versions of 4.1) to do with temporary files. This may be fixed in the latest 4.1 (to be released soon). Hopefully, his fix will solve this issue.

@bforsbe
Copy link
Contributor Author

bforsbe commented Jul 14, 2016

Original comment by Alexis Rohou (Bitbucket: arohou, GitHub: arohou):


Hi all - I would be interested in recruiting testers for ctffind 4.1. Please contact me directly if you'd like a preview version of this. I believe the relion2 wrapper for the new version will be available shortly.

@bforsbe
Copy link
Contributor Author

bforsbe commented Oct 21, 2016

Original comment by Özkan Yildiz (Bitbucket: oeyildiz, GitHub: Unknown):


We tested Ctffind4.1.5 within the relion GUI, but it behaves quite slow with roughly 1500 micrographs and it keeps on giving following error messages for every file several times:

1.02/63.22 hrs ~~(,_,">13:02:19: Error: File 'CtfFind/job325/Micrographs/160804_0001.txt' couldn't be removed (error 2: No such file or directory)

@bforsbe
Copy link
Contributor Author

bforsbe commented Dec 6, 2016

Original comment by Bjoern Forsberg (Bitbucket: bforsbe, GitHub: bforsbe):


@craigyk Can we resolve or does the problem persist?

@bforsbe
Copy link
Contributor Author

bforsbe commented Dec 6, 2016

Original comment by craigyk (Bitbucket: craigyk, GitHub: craigyk):


The last time I tried it with ctffind 4.1 and the latest Relion 2 source it worked. I'm not sure if ctffind 4.1 is officially released.

@bforsbe
Copy link
Contributor Author

bforsbe commented Dec 6, 2016

Original comment by Alexis Rohou (Bitbucket: arohou, GitHub: arohou):


ctffind 4.1 is released. I believe it's distributed as part of sbgrid for example. The binaries & source code are available from grigoriefflab.janelia.org. The current version (4.1.5) has a broken tar ball, which means you can look at the source but it won't build. This will be fixed with minor release 4.1.6, soon.

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

No branches or pull requests

2 participants