Resolution analysis

From EosPedia
Jump to: navigation, search

Resolution analysis is Integration Command for analysis of 3D image's resolution.


Fourier Shell Correlation

If you have .3dlst file, it is divided 2 groups at random as the following, and you can calculate FSC by using Integration Command for analysis of 3D image.


NSEED=0

.3dlst.3dFSC:
	awk 'BEGIN {srand($(NSEED))} { printf("%10.7f %s\n", rand(), $$0); }' $*.3dlst \
		| sort \ 
		| awk '{ printf("%s %s %15.6f %15.6f %15.6f %15.6f\n", $$2,$$3,$$4,$$5,$$6,$$7)}' \
		> $*.3dlst.sort
	N1=`wc -l $*.3dlst.sort | awk '{print     int($$1/2)}'`; echo $$N1; \
	N2=`wc -l $*.3dlst.sort | awk '{print $$1-int($$1/2)}'`; echo $$N2; \
	head -n $$N1 $*.3dlst.sort > $*.1.3dlst; \
	tail -n $$N2 $*.3dlst.sort > $*.2.3dlst
	printf "%s\n%s\n" $*.1.3d $*.2.3d | xargs -L 1 -P 2 make 
	mrcImageFourierShellCorrelation -i1 $*.1.3d -i2 $*.2.3d -d $(DelR) > $*.3dFSC