[3dem] Converting MRC to tiff (Marin van Heel)

Jason Kaelber jason.kaelber at rutgers.edu
Sun Jun 3 17:23:47 PDT 2018


Dear Yehuda,

If I were unstacking mrc stacks to tif, I would probably avoid tif stacks altogether to create one tif per frame. This can be handled smoothly with EMAN2 as follows:

e2proc2d.py input.mrc output.tif --unstacking

which would result in files output-01.tif output-02.tif output-03.tif &c &c. You could then compress these tif.


If your purpose is to save space, I echo the previous comments about simply (losslessly) compressing the mrc stack. Past lossless compression, if you are collecting with significant oversampling, you can clip your raw stacks in Fourier space for archiving (lossy but unlikely to affect the utility of the data if done conservatively). You can also truncate the mrc stacks to a lower bitrate after confirming that your raw frames don't have too many counts (lossy if some pixels are outside the dynamic range of the truncated file).

One of the big drivers of disk utilization is users collecting in superres mode by default instead of considering whether it's appropriate for the experiment. In experiments where superres is useful, you can still usually Fourier clip from 8k * 8k to 6k * 6k without losing anything that matters.

Best,

Jason Kaelber

--
J T Kaelber, PhD
Director, Rutgers New Jersey CryoEM/CryoET Core Facility
Institute for Quantitative Biomedicine
174 Frelinghuysen Rd
Piscataway, NJ 08854

________________________________
From: 3dem <3dem-bounces at ncmir.ucsd.edu> on behalf of 3dem-request at ncmir.ucsd.edu <3dem-request at ncmir.ucsd.edu>
Sent: Sunday, June 3, 2018 3:00 PM
To: 3dem at ncmir.ucsd.edu
Subject: 3dem Digest, Vol 130, Issue 3

Send 3dem mailing list submissions to
        3dem at ncmir.ucsd.edu

To subscribe or unsubscribe via the World Wide Web, visit
        https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.ncmir.ucsd.edu%2Fmailman%2Flistinfo%2F3dem&data=02%7C01%7Cjason.kaelber%40rutgers.edu%7Cda198d74df694e5f132f08d5c9843b00%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636636492138637803&sdata=ozTSe79ChGozNzx8QLz5grF5ssGrmfMStZzHzwD%2BZ2Y%3D&reserved=0
or, via email, send a message with subject or body 'help' to
        3dem-request at ncmir.ucsd.edu

You can reach the person managing the list at
        3dem-owner at ncmir.ucsd.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of 3dem digest..."


Today's Topics:

   1. Re: [ccpem] Converting MRC to tiff (Marin van Heel)


----------------------------------------------------------------------

Message: 1
Date: Sun, 3 Jun 2018 07:18:02 -0300
From: Marin van Heel <marin.vanheel at googlemail.com>
To: Yehuda Halfon <yehuda.halfon at WEIZMANN.AC.IL>, CCPEM at JISCMAIL.AC.UK
Cc: "3dem at ncmir.ucsd.edu" <3dem at ncmir.ucsd.edu>
Subject: Re: [3dem] [ccpem] Converting MRC to tiff
Message-ID: <3ef6faf6-f85b-dc7c-0228-a5bf4447f8be at googlemail.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"


Dear Yehuda Halfon

The em2em converter (Image-Science.de) should do the trick but storing
(4-bit/8-bit?) MRC movies in tiff is not a good idea: very few programs
can handle tiff stacks. Moreover if the TIFFs are not compressed you
will not necessarily win any space. You are probably best off using a
standard loss-less compression program ("zip"), and convert them back
when you need it again. You must always keep your original raw data
"forever" in a loss-less form.

Marin van Heel


On 03/06/2018 06:02, Yehuda Halfon wrote:
> Hi there,
>
> We have a bunch of MRC movie files the are eating at out storage, and
> since more are coming I was wondering if there is a good way to
> convert them into tiff to save space?
>
> I know that the best way is to save them directly as tif from EPU/
> serialEM and that is what we will to in the future. But we need to
> find a solution to the ones we have now.
>
> Thanks,
>
> Yehuda Halfon
>
> ------------------------------------------------------------------------
>
> To unsubscribe from the CCPEM list, click the following link:
> https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.jiscmail.ac.uk%2Fcgi-bin%2Fwebadmin%3FSUBED1%3DCCPEM%26A%3D1&data=02%7C01%7Cjason.kaelber%40rutgers.edu%7Cda198d74df694e5f132f08d5c9843b00%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636636492138637803&sdata=zPZI3kfajm3xMzi%2FCrKotrTyT5S%2B8YLED6pQ%2B%2FI6ltA%3D&reserved=0
>

--
==============================================================

     Prof Dr Ir Marin van Heel

     Laborat?rio Nacional de Nanotecnologia - LNNano
     CNPEM/LNNano, Campinas, Brazil

     tel:    +55-19-3518-2316
     mobile  +55-19-983455450 (current)
     mobile  +55-19-981809332
                  (041-19-981809332 TIM)
     Skype:  Marin.van.Heel
     email:  marin.vanheel(A_T)gmail.com
             marin.vanheel(A_T)lnnano.cnpem.br
     and:    mvh.office(A_T)gmail.com

--------------------------------------------------
     Emeritus Professor of Cryo-EM Data Processing
     Leiden University
     Mobile NL: +31(0)652736618 (ALWAYS ACTIVE SMS)
--------------------------------------------------
     Emeritus Professor of Structural Biology
     Imperial College London
     Faculty of Natural Sciences
     email: m.vanheel(A_T)imperial.ac.uk
--------------------------------------------------

I receive many emails per day and, although I try,
there is no guarantee that I will actually read each incoming email.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmail.ncmir.ucsd.edu%2Fpipermail%2F3dem%2Fattachments%2F20180603%2F20f897d0%2Fattachment-0001.html&data=02%7C01%7Cjason.kaelber%40rutgers.edu%7Cda198d74df694e5f132f08d5c9843b00%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636636492138637803&sdata=QNUGoBOXQxRqwr1NE7hzhWhD0FJQFfHyShFnD%2FC8eHU%3D&reserved=0>

------------------------------

Subject: Digest Footer

_______________________________________________
3dem mailing list
3dem at ncmir.ucsd.edu
https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.ncmir.ucsd.edu%2Fmailman%2Flistinfo%2F3dem&data=02%7C01%7Cjason.kaelber%40rutgers.edu%7Cda198d74df694e5f132f08d5c9843b00%7Cb92d2b234d35447093ff69aca6632ffe%7C1%7C0%7C636636492138637803&sdata=ozTSe79ChGozNzx8QLz5grF5ssGrmfMStZzHzwD%2BZ2Y%3D&reserved=0


------------------------------

End of 3dem Digest, Vol 130, Issue 3
************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ncmir.ucsd.edu/pipermail/3dem/attachments/20180604/18a0bc7d/attachment.html>


More information about the 3dem mailing list