Print

Print


All MTZ (and map) files from the very beginning had an
architecture-dependent 'machine-stamp' in the header which *should* cause
the read routines to do the necessary conversions if needed (i.e. where the
writing & reading machine formats differ).  This was absolutely necessary
in the days when we had a goodly mix of formats (VAX, Convex, Cray, SGI,
IBM mainframe, IBM PC, Mac ...).  Now pretty well everything is Intel or
compatible, i.e. little-endian IEEE format, so this functionality hasn't
been real-world tested for aeons and it's possible in the meantime that
it's fallen into disrepair.

Cheers

-- Ian


On Fri, 9 Nov 2018 at 18:57, Ethan A Merritt <[log in to unmask]>
wrote:

> On Friday, November 9, 2018 9:12:36 AM PST Robert Esnouf wrote:
> >
> > Without checking further, there is a "dd" option for swapping big-endian
> to little-endian... swab. This may simply be the issue...
>
> DEC computers used a different floating point format.
> Swapping endian-ness would be sufficient, although it might be required in
> addition.
>
>         Ethan
>
>
> >
> > The output of od -x may help decode the header of the file...
> >
> > Regards,
> > Robert
> >
> > --
> >
> > Dr Robert Esnouf
> >
> > University Research Lecturer,
> > Director of Research Computing BDI,
> > Head of Research Computing Core WHG,
> > NDM Research Computing Strategy Officer
> >
> > Main office:
> > Room 10/028, Wellcome Centre for Human Genetics,
> > Old Road Campus, Roosevelt Drive, Oxford OX3 7BN, UK
> >
> > Emails:
> > [log in to unmask] / [log in to unmask] /
> [log in to unmask]
> >
> > Tel:   (+44)-1865-287783 (WHG); (+44)-1865-743689 (BDI)
> >
> >
> > -----Original Message-----
> > From: "Pavel Afonine" <[log in to unmask]>
> > To: [log in to unmask]
> > Date: 09/11/18 13:54
> > Subject: Re: [ccp4bb] VERY old mtz file..
> >
> > Now I see the value of storing data in plain text files even more (mind
> Shelx or X-plor formats, for example) -;)
> >
> >
> > <Sorry for helpless comment. Couldn't resist as I've never liked
> non-human readable files.>
> >
> > On Fri, Nov 9, 2018 at 9:47 PM Clemens Vonrhein <
> [log in to unmask]> wrote:
> >
> > Hi Eleanor,
> >
> > You could try running the oldest MTZ2VARIOUS binary you can find -
> > e.g.
> >
> >   wget ftp://ftp.ccp4.ac.uk/ccp4/4.2/binaries/ccp4-4.2_Linux.tar.gz
> >   tar -xvf ccp4-4.2_Linux.tar.gz bin/mtz2various
> >
> >   bin/mtz2various hklin ...
> >
> > Any older binaries (ftp://ftp.ccp4.ac.uk/ccp4/4.0.1/) will require an
> > SGI or Dec/Alpha machine ;-)
> >
> > If that doesn't help I would first check that it is actually a correct
> > MTZ file: does the ASCII header (trailer) show up with
> >
> >   strings your.mtz
> >
> > towards the end?
> >
> > Cheers
> >
> > Clemens
> >
> > On Fri, Nov 09, 2018 at 12:47:09PM +0000, Eleanor Dodson wrote:
> > > Anyone any idea what to do about this?? Created in 1992!!
> > > Seems unreadable..
> > >
> > > No CTYP lines input for file:  1
> > >     Indices output even if all data items flagged "missing"
> > >  Warning, NOT all LABOUT data lines given
> > > Warning: Machine stamp corrupted? Assuming native format.
> > > >>>>>> CCP4 library signal library_file:End of File (Error)
> > >
> > >
> ########################################################################
> > >
> > > To unsubscribe from the CCP4BB list, click the following link:
> > > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1
> >
> > --
> >
> > *--------------------------------------------------------------
> > * Clemens Vonrhein, Ph.D.     vonrhein AT GlobalPhasing DOT com
> > * Global Phasing Ltd., Sheraton House, Castle Park
> > * Cambridge CB3 0AX, UK                   www.globalphasing.com
> > *--------------------------------------------------------------
> >
> > ########################################################################
> >
> > To unsubscribe from the CCP4BB list, click the following link:
> > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1
> >
> >
> >
> > To unsubscribe from the CCP4BB list, click the following link:
> > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1
> >
> >
> >
> > ########################################################################
> >
> > To unsubscribe from the CCP4BB list, click the following link:
> > https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1
>
>
> --
> Ethan A Merritt
> Biomolecular Structure Center,  K-428 Health Sciences Bldg
> MS 357742,   University of Washington, Seattle 98195-7742
>
> ########################################################################
>
> To unsubscribe from the CCP4BB list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1
>

########################################################################

To unsubscribe from the CCP4BB list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=CCP4BB&A=1