Stack for classification
For the first, select phase-flip as a CTF correction and the perturb step option (the reason why we need to use this option will become apparent during the classification).
Stack for reconstruction
Tick the CTF correct option and select CTFTILT , and then Convolve in the next drop-down menu. Tick also the Astigmatism correction , and the Invert, Normalization, Row normalization, Centering and Rotation options. Since the Unbending will introduce interpolation and thereby resolution loss, we will not use it at this stage and leave the option un-ticked
"select phase-flip as a CTF correction"
Hi,
about the spring tutorial http://www.sachse.embl.de/emspring/_images/tutorial.pdf
which is a nice documentation, where emphasis has also been put to explain the theoretical/practical points. Nevertheless I do find the tutorial to be time to time too implicit rather than explicit for fluent progression.
For instance in step 4. "Segmentation of TMV particles" it is stated that
Stack for classification
For the first, select phase-flip as a CTF correction and the perturb step option (the reason why we need to use this option will become apparent during the classification).
Stack for reconstruction
Tick the CTF correct option and select CTFTILT , and then Convolve in the next drop-down menu. Tick also the Astigmatism correction , and the Invert, Normalization, Row normalization, Centering and Rotation options. Since the Unbending will introduce interpolation and thereby resolution loss, we will not use it at this stage and leave the option un-ticked
To what does "For the first" (line 2) refer to? To the first stack (classification) - does one need to run the stack generation twice and if so how should these output files be passed as inputs in the next steps?
I assume that
"select phase-flip as a CTF correction"
equates (labels in the GUI have changed since the tutorial was made?)
* Select "Intermediate" for "Additional parameters (level)",
* check "CTF correct option"
* for "CTFFIND or CTFTILT" select "Ctffind"(?)
* for "convolve or phase-flip" select "Phase-flip"
+
one should probably specify(?)
* the <output.hdf> for "Image output stack"
* some folder for "Temporary directory"
* check "Spring database option"
* specify input for "spring.db file"
Should one then proceed ( <=> press "OK") before moving on the "stack for reconstructions"?
INFO:username:/home/username/programs/spring_v0-84-1470/parts/openmpi/bin/mpirun -np 5 /home/username/programs/spring_v0-84-1470/bin/segmentalign2d_mpi --f parfile_7524.par --d segmentalign2d01
logged on Tue, 08 Mar 2016 16:23:18
INFO:CPU0:spring_align2d:progress state: 56 % [======================> ]
INFO:CPU0:sx_kmeans:
INFO:username:/home/username/programs/spring_v0-84-1470/parts/openmpi/bin/mpirun -np 5 /home/username/programs/spring_v0-84-1470/bin/springenv /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py segmentalign2d01/tmv_4class2binnedali.hdf sxk_means02 rectmask.hdf --K=10 --maxit=500 --rand_seed=-1 --crit=D --MPI
logged on Tue, 08 Mar 2016 16:23:43
INFO:CPU0:sx_kmeans:springenv /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py segmentalign2d01/tmv_4class2binnedali.hdf sxk_means02 rectmask.hdf --K=10 --maxit=500 --rand_seed=-1 --crit=D --MPI
logged on Tue, 08 Mar 2016 16:23:49
Traceback (most recent call last):
File "/home/username/programs/spring_v0-84-1470/bin/segmentclass", line 152, in <module>
sys.exit(spring.segment2d.segmentclass.main())
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/segment2d/segmentclass.py", line 732, in main
stack.classify()
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/segment2d/segmentclass.py", line 706, in classify
avgstack, varstack = self.sx_kmeans(aligned_stack, self.maskfile, self.noclasses)
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/segment2d/segmentclass.py", line 451, in sx_kmeans
external_kmeans_run.check_expected_output_file(program_to_be_launched, avgstack)
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/csinfrastr/csproductivity.py", line 543, in check_expected_output_file
raise IOError(error_message)
IOError: /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py did not finish successfully. The output file sxk_means02/averages.hdf was not found, please check logfile of /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py for details.
Reference image option = False
Image reference stack = ref720pix.hdf
Custom filter option = False
Custom-built filter file = filter_function.dat
Dear Carsten,
Thank you for the clarification. I got bit further with tutorial. I didn't actually realize, that all the default parameters for each step were listed in the Appendix. Unfortunately I did run into trouble in step 6. Classification. Apparently the program fails to create averages.hdf output:
INFO:username:/home/username/programs/spring_v0-84-1470/parts/openmpi/bin/mpirun -np 5 /home/username/programs/spring_v0-84-1470/bin/segmentalign2d_mpi --f parfile_7524.par --d segmentalign2d01
logged on Tue, 08 Mar 2016 16:23:18
INFO:CPU0:spring_align2d:progress state: 56 % [======================> ]
INFO:CPU0:sx_kmeans:
INFO:username:/home/username/programs/spring_v0-84-1470/parts/openmpi/bin/mpirun -np 5 /home/username/programs/spring_v0-84-1470/bin/springenv /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py segmentalign2d01/tmv_4class2binnedali.hdf sxk_means02 rectmask.hdf --K=10 --maxit=500 --rand_seed=-1 --crit=D --MPI
logged on Tue, 08 Mar 2016 16:23:43
INFO:CPU0:sx_kmeans:springenv /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py segmentalign2d01/tmv_4class2binnedali.hdf sxk_means02 rectmask.hdf --K=10 --maxit=500 --rand_seed=-1 --crit=D --MPI
logged on Tue, 08 Mar 2016 16:23:49
Traceback (most recent call last):
File "/home/username/programs/spring_v0-84-1470/bin/segmentclass", line 152, in <module>
sys.exit(spring.segment2d.segmentclass.main())
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/segment2d/segmentclass.py", line 732, in main
stack.classify()
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/segment2d/segmentclass.py", line 706, in classify
avgstack, varstack = self.sx_kmeans(aligned_stack, self.maskfile, self.noclasses)
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/segment2d/segmentclass.py", line 451, in sx_kmeans
external_kmeans_run.check_expected_output_file(program_to_be_launched, avgstack)
File "/home/username/programs/spring_v0-84-1470/lib/python2.7/site-packages/emspring-0.84.1470-py2.7.egg/spring/csinfrastr/csproductivity.py", line 543, in check_expected_output_file
raise IOError(error_message)
IOError: /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py did not finish successfully. The output file sxk_means02/averages.hdf was not found, please check logfile of /home/username/programs/spring_v0-84-1470/parts/EMAN2/bin/sxk_means.py for details.
Perhaps this error is related(?) to the fact that I skipped reference image option
Reference image option = False
Image reference stack = ref720pix.hdf
and custom filter option
Custom filter option = False
Custom-built filter file = filter_function.dat
since I don't known when/where such files are generated/located... =S