Dear Wolfram

For

“I was looking for a well-defined, stable interface for scripting in python“

You can do much worse than using cctbx i.e.

>>> from iotbx import mtz
>>> m = mtz.object('scaled.mtz')

(then play with m i.e. help(m) to discover capabilities) – I use this all over 
the place in xia2 & elsewhere for fun bits of analysis.

best wishes Graeme

From: CCP4 bulletin board [mailto:[email protected]] On Behalf Of wtempel
Sent: 06 October 2015 19:48
To: ccp4bb
Subject: Re: [ccp4bb] reading and querying MTZ files


Hello Boaz,
mtzdmp is what I currently use in conjunction with the unix utilities. But 
small improvements/changes to the dump’s format could break any derivative 
scripts. I was looking for a well-defined, stable interface for scripting in 
python or shell, analogous to the CMTZ 
library<http://www.ccp4.ac.uk/dist/html/C_library/cmtz_page.html>.
W.
​

On Tue, Oct 6, 2015 at 1:56 PM, Boaz Shaanan 
<[email protected]<mailto:[email protected]>> wrote:
Mtzdump?


-------- Original message --------
From: wtempel <[email protected]<mailto:[email protected]>>
Date: 06/10/2015 12:41 (GMT-06:00)
To: [email protected]<mailto:[email protected]>
Subject: [ccp4bb] reading and querying MTZ files
Hello all,
besides tshell, grep, awk and friends, which utilities can you recommend for 
non-interactively answering questions like:
> What are the resolution limits of column Free_Rflag?

Thank you,
Wolfram Tempel


-- 
This e-mail and any attachments may contain confidential, copyright and or 
privileged material, and are for the use of the intended addressee only. If you 
are not the intended addressee or an authorised recipient of the addressee 
please notify us of receipt by returning the e-mail and do not use, copy, 
retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not 
necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments 
are free from viruses and we cannot accept liability for any damage which you 
may sustain as a result of software viruses which may be transmitted in or with 
the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and 
Wales with its registered office at Diamond House, Harwell Science and 
Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom

Reply via email to