Differences between revisions 3 and 4
Revision 3 as of 2008-04-03 14:31:40
Size: 1936
Editor: b12-arbiter-a
Comment:
Revision 4 as of 2008-04-03 14:32:05
Size: 2551
Editor: b12-arbiter-a
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
---- /!\ '''Edit conflict - other version:''' ----
Line 4: Line 5:

---- /!\ '''Edit conflict - your version:''' ----
'''Q:''' Boxer - I used a reference and batchboxer to pick particles from cryo-micrographs using a script. I did not use the minidist option to remove touching particles.
'''Q:''' Boxer - I used the GUI boxer and the .box files to delete selected particles on the carbon file. I saved these new .box files
'''Q:''' Boxer - How to I use the minidist option to remove particles in close contact without going through picking and manually removing particles again.

---- /!\ '''End of edit conflict''' ----


/!\ Edit conflict - other version:


Q: Boxer - I used a reference and batchboxer to pick particles from cryo-micrographs using a script. I did not use the minidist option to remove touching particles. Q: Boxer - I used the GUI boxer and the .box files to delete selected particles on the carbon file. I saved these new .box files Q: Boxer - How to I use the minidist option to remove particles in close contact without going through picking and manually removing particles again.


/!\ Edit conflict - your version:


Q: Boxer - I used a reference and batchboxer to pick particles from cryo-micrographs using a script. I did not use the minidist option to remove touching particles. Q: Boxer - I used the GUI boxer and the .box files to delete selected particles on the carbon file. I saved these new .box files Q: Boxer - How to I use the minidist option to remove particles in close contact without going through picking and manually removing particles again.


/!\ End of edit conflict


A: This is best done using a shell script. You can get boxer to preload a micrograph and a box database as it starts, for example:

boxer image.mrc box=image.box bright=0 contrast=0.2

So, you just write a shell script which calls boxer sequentially with each pair of image files and box databases. After saving the results within boxer, just quit, and the shell script will load the next image. Since boxer remembers window positions, everything should pop up pretty much like you left it.

Note that boxer (and most other EMAN programs) append new images to existing files. That is, if you already have a file called img123.hed, and select this as a file to write particles to in boxer, it will append the new particles to the existing file rather than create a new one. For this reason, my approach is to:

  1. Run batchboxer on all images (using a shell script), but only output the box database, not the selected particles

  2. Run boxer on all images (using a shell script), again, only save the box database (this will be overwritten, not appended)

  3. When all of my box databases are good, then run batchboxer again to extract the particles, but don't have it autobox, just have it use the existing box database files.

My own shell script (I use zsh) for the second step above looks like this (assumes .mrc extension on the micrographs): {{{foreach i (*box) boxer ${i%.box}.mrc box=$i bright=0 contrast=.15 end}}}

EMAN1/FAQ/MultipleBoxer (last edited 2008-11-26 04:42:29 by localhost)