Hi Ludovic,
Have you tried using IMOD's newstack program? I find this to be a
convenient way to manipulate image stacks.
http://bio3d.colorado.edu/imod/doc/man/newstack.html
For example, if you want to merge your seven name1_n? mrc files:
newstack name1_n?.mrc name1_movie.mrcs
You can then write a script to handle all of the movies in the
directory. I hope that helps.
Joel
On 2014-01-13 15:51, Ludovic Renault wrote:
> Hi all,
>
> I have a 'movie' dataset.
> I have 7 frames per image + the total average.
> I processed the 'total average' as a regular image with RELION-1.2.
> Now I want to process the movies the way it's described on the
> website.
>
> My problem is purely a linux problem.
> I don't know how to merge the single frames into a stack file.
>
> I have name1_n0.mrc to name1_n6.mrc, name2_n0.mrc to name2_n6.mrc ...
> Evreything is in 1 folder.
> How can I make the name1_movie.mrc, name2_movie.mrc etc??
>
> I was trying to come up with a bash loop and e2proc2d.py but I'm
> failing.
> Anyone could give me an example?
> Thanks,
> Ludo
|