<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Dear Yehuda,</p>
<p style="margin-top:0;margin-bottom:0">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:<br>
</p>
<p style="margin-top:0;margin-bottom:0">e2proc2d.py input.mrc output.tif --unstacking</p>
<p style="margin-top:0;margin-bottom:0">which would result in files output-01.tif output-02.tif output-03.tif &c &c. You could then compress these tif.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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).</p>
<p style="margin-top:0;margin-bottom:0">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.<br>
</p>
<p style="margin-top:0;margin-bottom:0">Best,</p>
<p style="margin-top:0;margin-bottom:0">Jason Kaelber</p>
<p style="margin-top:0;margin-bottom:0"></p>
<div>--<br>
J T Kaelber, PhD<br>
Director, Rutgers New Jersey CryoEM/CryoET Core Facility<br>
Institute for Quantitative Biomedicine<br>
174 Frelinghuysen Rd<br>
Piscataway, NJ 08854</div>
<p></p>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> 3dem <3dem-bounces@ncmir.ucsd.edu> on behalf of 3dem-request@ncmir.ucsd.edu <3dem-request@ncmir.ucsd.edu><br>
<b>Sent:</b> Sunday, June 3, 2018 3:00 PM<br>
<b>To:</b> 3dem@ncmir.ucsd.edu<br>
<b>Subject:</b> 3dem Digest, Vol 130, Issue 3</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Send 3dem mailing list submissions to<br>
        3dem@ncmir.ucsd.edu<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="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" id="LPlnk371298" class="OWAAutoLink" previewremoved="true">
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</a><br>
or, via email, send a message with subject or body 'help' to<br>
        3dem-request@ncmir.ucsd.edu<br>
<br>
You can reach the person managing the list at<br>
        3dem-owner@ncmir.ucsd.edu<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of 3dem digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: [ccpem] Converting MRC to tiff (Marin van Heel)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 3 Jun 2018 07:18:02 -0300<br>
From: Marin van Heel <marin.vanheel@googlemail.com><br>
To: Yehuda Halfon <yehuda.halfon@WEIZMANN.AC.IL>, CCPEM@JISCMAIL.AC.UK<br>
Cc: "3dem@ncmir.ucsd.edu" <3dem@ncmir.ucsd.edu><br>
Subject: Re: [3dem] [ccpem] Converting MRC to tiff<br>
Message-ID: <3ef6faf6-f85b-dc7c-0228-a5bf4447f8be@googlemail.com><br>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"<br>
<br>
<br>
Dear Yehuda Halfon<br>
<br>
The em2em converter (Image-Science.de) should do the trick but storing <br>
(4-bit/8-bit?) MRC movies in tiff is not a good idea: very few programs <br>
can handle tiff stacks. Moreover if the TIFFs are not compressed you <br>
will not necessarily win any space. You are probably best off using a <br>
standard loss-less compression program ("zip"), and convert them back <br>
when you need it again. You must always keep your original raw data <br>
"forever" in a loss-less form.<br>
<br>
Marin van Heel<br>
<br>
<br>
On 03/06/2018 06:02, Yehuda Halfon wrote:<br>
> Hi there,<br>
><br>
> We have a bunch of MRC movie files the are eating at out storage, and <br>
> since more are coming I was wondering if there is a good way to <br>
> convert them into tiff to save space?<br>
><br>
> I know that the best way is to save them directly as tif from EPU/ <br>
> serialEM and that is what we will to in the future. But we need to <br>
> find a solution to the ones we have now.<br>
><br>
> Thanks,<br>
><br>
> Yehuda Halfon<br>
><br>
> ------------------------------------------------------------------------<br>
><br>
> To unsubscribe from the CCPEM list, click the following link:<br>
> <a href="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" id="LPlnk21806" class="OWAAutoLink" previewremoved="true">
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</a><br>
><br>
<br>
-- <br>
==============================================================<br>
<br>
     Prof Dr Ir Marin van Heel<br>
<br>
     Laborat?rio Nacional de Nanotecnologia - LNNano<br>
     CNPEM/LNNano, Campinas, Brazil<br>
<br>
     tel:    +55-19-3518-2316<br>
     mobile  +55-19-983455450 (current)<br>
     mobile  +55-19-981809332<br>
                  (041-19-981809332 TIM)<br>
     Skype:  Marin.van.Heel<br>
     email:  marin.vanheel(A_T)gmail.com<br>
             marin.vanheel(A_T)lnnano.cnpem.br<br>
     and:    mvh.office(A_T)gmail.com<br>
<br>
--------------------------------------------------<br>
     Emeritus Professor of Cryo-EM Data Processing<br>
     Leiden University<br>
     Mobile NL: +31(0)652736618 (ALWAYS ACTIVE SMS)<br>
--------------------------------------------------<br>
     Emeritus Professor of Structural Biology<br>
     Imperial College London<br>
     Faculty of Natural Sciences<br>
     email: m.vanheel(A_T)imperial.ac.uk<br>
--------------------------------------------------<br>
<br>
I receive many emails per day and, although I try,<br>
there is no guarantee that I will actually read each incoming email.<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="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" id="LPlnk163289" class="OWAAutoLink" previewremoved="true">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</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
3dem mailing list<br>
3dem@ncmir.ucsd.edu<br>
<a href="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" id="LPlnk605999" class="OWAAutoLink" previewremoved="true">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</a><br>
<br>
<br>
------------------------------<br>
<br>
End of 3dem Digest, Vol 130, Issue 3<br>
************************************<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>