Restacking: Generate all necessary information to restack the input stack (i.e., particle image ID list, CTF parameters list, projection parameters list) while appling micrograph selection list. Optionally, the command can directly output the virtual stack. In addition, this command can be used to generate all parameters files for reboxing (i.e. original/centered particle coordinates list files, CTF parameters list, original/centered projection parameters list as well as micrograph selection file). Optionally, user can provided a 3D shift to recenter the projection parameters and so the particle coordinates.
Usage in command line
sp_pipe.py restacking input_bdb_stack_path output_directory --selection_list=FILE_PATH --shift3d_x=SHIFT3D_X --shift3d_y=SHIFT3D_Y --shift3d_z=SHIFT3D_Z --save_vstack --sv_vstack_basename=BASENAME --reboxing --rb_box_size=BOX_SIZE
sp_pipe restacking does not support MPI.
Do restacking to generate the virtual stack of only particle images associated to the micrographs in the selection list.
sp_pipe.py restacking 'bdb:outdir_window#data' 'outdir_pipe_restacking' --selection_list='micrograph_selection_list.txt' --save_vstack --sv_vstack_basename='vstack_selected'
Generate the reboxing information of all particle images in the input stack.
sp_pipe.py restacking 'bdb:outdir_window#data' 'outdir_pipe_restacking' --shift3d_z=20 --reboxing --rb_box_size=352
Generate the reboxing information of only particle images associated to the micrographs in the selection list.
sp_pipe.py restacking 'bdb:outdir_window#data' 'outdir_pipe_restacking' --selection_list='micrograph_selection_list.txt' --shift3d_z=20 --reboxing --rb_box_size=352
Do both restacking and reboxing to generate both the virtual stack and reboxing information of only particle images associated to the micrographs in the selection list.
sp_pipe.py restacking 'bdb:outdir_window#data' 'outdir_pipe_restacking' --selection_list='micrograph_selection_list.txt' --save_vstack --sv_vstack_basename='vstack_selected' --shift3d_z=20 --reboxing --rb_box_size=352
File Name | Discription | ||
micrographs_in_input_stack.txt | Micrograph selection text file containing the list of micrograph basenames extracted from the input stack. This file can be used as micrograph selection text file of sp_cter, sp_gui_cter, sp_window, and sp_pipe organize_micrographs. | ||
micrographs_in_output_dataset.txt | Micrograph selection text file containing the list of micrograph in the output dataset. This file can be used as micrograph selection text file of sp_cter, sp_gui_cter, sp_window, and sp_pipe organize_micrographs. | ||
input_stack_particle_id_for_output_dataset.txt | Particle selection text file containing the list of particle image IDs used for generating the output dataset from the input stack. This file can be used as particle selection list text file of e2bdb. | ||
ctf_params_for_output_dataset.txt | CTF parameters text file containing CTF parameters of all particle images in the output dateset. This projection parameters can be used as inputs of sp_window or imported to the reboxed stack using sp_header. | ||
original_proj_params_for_output_dataset.txt | Projection parameters text file containing original projection parameters of all particle images in the output dateset. This projection parameters can be imported to the reboxed stack using sp_header. | ||
centered_proj_params_for_output_dataset.txt | Projection parameters text file containing centered projection parameters of all particle images in the output dateset. This projection parameters can be imported to the reboxed stack using sp_header. | ||
original/${MICROGRAPH_ROOTNAME}_original.box | The list of original coordinates stored in the headers of particle images in the stack. These files can be used as inputs of sp_window. | ||
centered/${MICROGRAPH_ROOTNAME}_centered.box | The list of centered (or transformed) coordinates. These files can be used as inputs of sp_window. | ||
EMAN2DB/${VSTACK_BASENAME}.dbd | The output virtual stack. This stack can be directly used as input stack of sp_meridien local refinement. |
This command executes the following processes:
Wish list:
Christos Gatsogiannis and Toshio Moriya
Category 1:: APPLICATIONS
sparx/bin/sp_pipe.py
Alpha:: Under development.
There are no known bugs so far.