User Tools

Site Tools


pipeline:localres:sxlocres

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
pipeline:localres:sxlocres [2018/02/16 10:11]
127.0.0.1 external edit
pipeline:localres:sxlocres [2018/05/14 16:19]
127.0.0.1 external edit
Line 6: Line 6:
 \\ \\
 ===== Usage ===== ===== Usage =====
-Usage in command line: 
  
-  sxlocres.py  firstvolume  secondvolume  maskfile  outputfile  --wn=window_size  --step=shell_step_size  --cutoff=res_cutoff --res_overall=overall_resolution --radius=radius  --fsc=output_file_name  --MPI+Usage in command line 
 + 
 +  sxlocres.py  firstvolume  secondvolume  maskfile  outputfile  --fsc=OUTPUT_FILE_PATH  --wn=WINDOW_SIZE  --step=SHELL_STEP_SIZE  --cutoff=RES_CRITERION  --radius=RADIUS  --res_overall=RESOLUTION  --out_ang_res=OUTPUT_FILE_PATH  --apix=PIXEL_SIZE  --MPI
  
 \\ \\
 ===== Typical usage ===== ===== Typical usage =====
 +
 sxlocres exists in for both MPI and non-MPI versions. sxlocres exists in for both MPI and non-MPI versions.
  
-  mpirun -np 32  sxlocres.py refinementdir/main002/vol0.hdf  refinementdir/main002/vol2.hdf locres.hdf --cutoff=0.5 --radius=28 --res_overall=0.3  --fsc=fscvol.txt --MPI+  mpirun -np 32  sxlocres.py 'refinementdir/main002/vol0.hdf 'refinementdir/main002/vol2.hdf locres.hdf--cutoff=0.5 --radius=28 --res_overall=0.3  --fsc='fscvol.txt--MPI
  
 \\ \\
 ===== Input ===== ===== Input =====
 +=== Main Parameters ===
 +  ; firstvolume : First half-volume: Typically, generated by sxmeridien. (default required string)
 +  ; secondvolume : Second half-volume: Typically, generated by sxmeridien. (default required string)
 +  ; maskfile : 3D mask: Defines the region where the local filtering should be applied. (default none)
 +  ; outputfile : Output volume: Each voxel contains the resolution for this area in [[definitions:absolute_frequency_units|absolute frequency]] units. (default required string)
 +
 +  ; %%--%%fsc : FSC output file: Contains the overall FSC curve computed by rotational averaging of local resolution values. It is truncated to %%--%%res_overall. (default no curve) 
 +  ; %%--%%wn : FSC window size [Pixels]: Defines the size of window where the local real-space FSC (i.e. real-space CCC; cross-correlation coefficient) is computed. (default 7)
 +  ; %%--%%step : Fourier shell step size [Pixels]: Defines the finess of resolution measure. (default 1.0)
 +  ; %%--%%cutoff : Local resolution criterion: Specify local resolution criterion in terms of the real-space FSC (i.e. real-space CCC; cross-correlation coefficient). (default 0.5)
 +  ; %%--%%radius : Mask radius [Pixels]: In case no mask is provided, a hard sphere of this radius will be used. (default -1)
 +  ; %%--%%res_overall : Overall resolution [1/Pixel]: Specify overall (or global) resolution in absolute frequency (%%>=%%0.0 and %%<=%%0.5) for calibration of the average local resolution. Typically, use the absolute frequency corresponding to the conventional FSC resolution obtained by 3D refinement. See Description section in the wiki page for details. By default, the program will not calibrate the average local resolution. (default -1.0)
  
 \\ \\
-=== Main Parameters=== +=== Advanced Parameters === 
-  ; firstvolume : First half-volume: (default required string) +  ; %%--%%out_ang_res Save Angstrom local resolutionAdditionally creates a local resolution file in Angstroms. (default False
-  ; secondvolume : Second half-volume(default required string) +  ; %%--%%apix Pixel size of half-volumes [A]: Effective only with %%--%%out_ang_res options(default 1.0) 
-  ; maskfile 3D mask: Defines the region where the local filtering should be applied. (default none+  ; %%--%%MPI : Use MPI: (default False)
-  ; wn FSC window size: Defines the size of window where the local real-space FSC is computed. (default 7) +
-  ; step : Fourier shell step size [Pixels]: (default 1.0) +
-  ; cutoff : Resolution cut-off [1/Pixel]: Cut-off for the FSCBy default it goes to the Nyquist frequencies(default 0.5+
-  ; radius : Mask radius [Pixels]: In case no mask is provided, a hard sphere of this radius will be used. (default -1) +
-  ; res_overall : Overall resolution [1/Pixel]: A value between 0 to 0.5 for calibration of the average local resolution. See Description section in the wiki page for details. (default -1.0) +
-  ; MPI : Use MPI: (default False)+
  
 \\ \\
 ===== Output ===== ===== Output =====
-  ; outputfile : Output volume: Each voxel contains the resolution for this area in [[:Definitions:absolute_frequency_units|absolute frequency]] units. (default required string) 
-  ; fsc : FSC output file: Contains the overall FSC curve computed by rotational averaging of local resolution values. It is truncated to res_overall. (default no curve)  
  
 \\ \\
 ===== Description ===== ===== Description =====
-Local resolution values are computed within small windowed areas (size wn<sup>3<\sup>). Due to small sample size the values are inaccurate and tend to underestimate resolution. +Local resolution values are computed within small windowed areas (size wn<sup>3</sup>). Due to small sample size the values are inaccurate and tend to underestimate resolution. Therefore, the option %%--%%res_overall allows to calibrate the average value of all local resolutions to the overall resolution, as estimated by the FSC between two full size volumes. This value has to be independently obtained by the user. For exampleusing sximgstat.py to compute (masked) FSC from half-volumes and reading the absolute frequency corresponding to 0.5 (or other) cut-off value. 
-Therefore, the option --res_overall allows to calibrate the average value of all local resolutions to the overall resolution, as estimated by the FSC between two full size volumes. + 
-This value has to be independently obtained by the user, for example using sximgstat.py to compute (masked) FSC from half-volumes and reading the absolute frequency corresponding +\\ 
-to 0.5 (or other) cut-off value.+==== Method ==== 
 + 
 +\\ 
 +==== Reference ==== 
 + 
 +\\ 
 +==== Developer Notes ====
  
 \\ \\
 ==== Author / Maintainer ==== ==== Author / Maintainer ====
-Pawel Penczek+Pawel A. Penczek
  
 \\ \\
Line 53: Line 65:
 \\ \\
 ==== Files ==== ==== Files ====
-sxlocres.py+sparx/bin/sxlocres.py 
 + 
 +\\ 
 +==== See also ==== 
 +[[pipeline:meridien:sxmeridien|sxmeridien]], [[[pipeline:utilities:sxprocess|sxprocess]], and [[pipeline:localres:sxfilterlocal|sxfilterlocal]].
  
 \\ \\
 ==== Maturity ==== ==== Maturity ====
-Stable:: works for most people, has been tested; test cases/examples available.+Stable:: Has been evaluated and tested. Please let us know if there are any bugs.
  
 \\ \\
-==== Known Bugs ==== +==== Bugs ==== 
-None.+There are no known bugs so far.
  
 \\ \\
 +
pipeline/localres/sxlocres.txt · Last modified: 2019/04/02 10:43 by lusnig