User Tools

Site Tools


pipeline:utilities:sxpipe_organize_micrographs

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:utilities:sxpipe_organize_micrographs [2018/02/21 15:36]
moriya
pipeline:utilities:sxpipe_organize_micrographs [2018/08/22 11:34]
fmerino
Line 2: Line 2:
  
 ===== sxpipe organize_micrographs ===== ===== sxpipe organize_micrographs =====
-Organize Micrographs/Movies: Organize micrographs/movies by moving micrographs/movies in a selecting file from a source directory (specified by source micrographs/movies pattern) to a destination directory.+Organize Micrographs/Movies: Organize micrographs/movies by moving micrographs/movies listed in a selecting file from a source directory (specified by source micrographs/movies pattern) to a destination directory.
  
 \\ \\
Line 16: Line 16:
 sxpipe organize_micrographs does not support MPI.  sxpipe organize_micrographs does not support MPI. 
  
-1. Normal Operation Mode: The program moves micrographs/movies in selecting list from the source directory to the destination directory.+1. Normal Operation Mode: The program moves micrographs/movies listed in selecting list from the source directory to the destination directory.
  
   sxpipe.py organize_micrographs 'CorrectedSums/corrsum/TcdA1-*_frames_sum.mrc' 'CTFest/Tutorial_micrographs_discard.txt' 'CorrectedSums/DISCARDED'   sxpipe.py organize_micrographs 'CorrectedSums/corrsum/TcdA1-*_frames_sum.mrc' 'CTFest/Tutorial_micrographs_discard.txt' 'CorrectedSums/DISCARDED'
  
-2. Reverse Operation Mode: The program moves micrographs/movies in selecting list from the destination directory to the source directory.+2. Reverse Operation Mode: The program moves micrographs/movies listed in selecting list from the destination directory to the source directory.
  
   sxpipe.py organize_micrographs 'CorrectedSums/corrsum/TcdA1-*_frames_sum.mrc' 'CTFest/Tutorial_micrographs_discard.txt' 'CorrectedSums/MRK_DISCARDED'  --reverse   sxpipe.py organize_micrographs 'CorrectedSums/corrsum/TcdA1-*_frames_sum.mrc' 'CTFest/Tutorial_micrographs_discard.txt' 'CorrectedSums/MRK_DISCARDED'  --reverse
Line 27: Line 27:
 ===== Input ===== ===== Input =====
 === Main Parameters === === Main Parameters ===
-  ; source_micrograph_pattern : Source micrograph/movies path pattern: Specify path pattern of source micrographs/movies with a wild card (*). Use the wild card to indicate the place of variable part of the file names (e.g. serial number, time stamp, and etc). The path pattern must be enclosed by single quotes (') or double quotes ("). (Note: sxgui.py automatically adds single quotes (')). The substring at the variable part must be same between each associated pair of micrograph/movie names. bdb files can not be selected as source micrographs/movies. (default required string)+  ; source_micrograph_pattern : Source micrograph/movies path pattern: Specify path pattern of source micrographs/movies with a wild card (*). The path pattern must be enclosed by single quotes (\') or double quotes (\"). (Note: sxgui.py automatically adds single quotes (\')). The substring at the variable part must be same between each associated pair of micrograph/movie names. bdb files cannot be selected as source micrographs/movies. (default required string)
   ; selection_list : Micrograph/Movie selection file: Specify a path of text file containing a list of selected micrograph/movie names or paths. The file extension must be '.txt'. The directory path of each entry will be ignored if there are any. (default required string)   ; selection_list : Micrograph/Movie selection file: Specify a path of text file containing a list of selected micrograph/movie names or paths. The file extension must be '.txt'. The directory path of each entry will be ignored if there are any. (default required string)
-  ; destination_directory : Destination directory: The micrographs/movies in selecting list will be moved to this directory. This directory will be created automatically if it does not exist. (default required string)+  ; destination_directory : Destination directory: The micrographs/movies in selecting list will be moved to this directory. It cannot be an existing one. (default required string)
  
-  ; %%--%%reverse : Reverse operation: Move back micrographs/movies from the destination directory to the source directory. Please use this option to restore the previously-moved micrographs/movies. (default False)+  ; %%--%%reverse : Reverse operation: Move back micrographs/movies from the destination directory to the source directory. (default False)
  
 \\ \\
Line 77: Line 77:
  
 \\ \\
- 
pipeline/utilities/sxpipe_organize_micrographs.txt ยท Last modified: 2019/04/02 10:24 by lusnig