This is an old revision of the document!
Project and Subtract : Compute re-projections of map to be subtracted, and subtract them from the original images.
Usage in command line
sp_signalsubtract.py projsubtract --origparts=particle_stack --map2subtract=map_to_subtract --projparams=projection_parameters --outdir=output_subtraction_directory --nmontage=number_of_examples --inmem --saveprojs --stats --nonorm --verbosity=verbosity_level
sp_signalsubtract exists in both MPI and non-MPI versions (Running MPI version does not require –MPI flag).
sp_signalsubtract comprises the steps needed to subtract masked regions from a map in order to focus on the remaining features from that map. There are six steps for this process (five within SPHIRE):
1. Average and low-pass filter a map for segmentation
2. Locate regions to be subtracted
3. Mask a soft mask of the region to be excluded
4. Compute re-projections of map to be subtracted, and subtract them from the original images :
mpirun -np 16 sp_signalsubtract.py projsubtract --origparts=particle_stack --map2subtract=map_to_subtract --projparams=projection_parameters --outdir=output_subtraction_directory --nmontage=number_of_examples --inmem --saveprojs
The flag “–nmontage=number_of_examples” will write examples of original/projection/subtracted images.
The flag “–inmem” will store the projection images in memory. By default, the projections will be written to disk continuously. Storing them in memory will be about 5 to 10% faster, but may require MUCH more memory. A memory estimate will be displayed in the output.
By the default, the intermediate projections will be deleted after subtraction. To save them, use the “–saveprojs” flag.
5. Compute reconstruction of density remaining after signal-subtraction :
sp_meridien.py bdb:output_subtraction_directory#all_subtracted meridien_directory --do_final=iteration_number --voldir=output_subtraction_directory
This step will compute a reoncstruction using Meridien, i.e., with “smear” information. The iteration number, for the refinement in “meridien_directory”, is specified by the flag “–do_final”.
Note: If the “–voldir” flag is not specified, the resulting reconstructions will be written to the Meridien directory, which may overwrite existing files.
6. Center map of the remaining density
Bai XC, Yan C, Yang G, Lu P, Ma D, Sun L, Zhou R, Scheres SHW, Shi Y. (2015) “An atomic structure of human γ-secretase.” Nature 525: 212-217. doi: 10.1038/nature14892.
Tapu Shaikh
Based on a protocol developed by Zhong Huang and Pawel Penczek
Category 1:: APPLICATIONS
sphire/bin/sp_signalsubtract.py
Beta:: Under evaluation and testing. Please let us know if there are any bugs.