combat - produces an MTZ file in multirecord form suitable for input to SCALA.
combat hklin foo.mtz hklout foo.mtz
[Keyworded input]
COnvert to Multi BATch MTZ files. This program converts output from assorted data processing programs into a multirecord MTZ file suitable for input to the CCP4 scaling and merging programs (SCALA and TRUNCATE). Only mosflm writes such an MTZ file. The program is a replacement program for ROTAPREP which was replaced as it was very difficult to support.
Input types accepted at present are: DATRED_RIGAKU, DENZO, JIMS, MTZF, MTZI, MUF, MUI, RAXISDUMP, SAINT, various SCALEPACK options , TEXHKL, TEXSAN, USER, WEISS, XDSASCII, XDSUNIQUE.
Some of these are quite rare, but it seems sensible to keep them. It would be trivial to extend the program for any format.
Warning: It is quite likely that the authors of processing programs will change their formats without telling CCP4. If you have any queries or knowledge of such changes please contact us.
The following arguments to the INPUT keyword are supported. The most commonly used arguments are those used to convert existing MTZ files, or options for DENZO/SCALEPACK outputs (keywords SCALEPACK, SCAL_NM and SCAL_NM2). These are described first. The items in the descriptions of the format have the following interpretations:
Standard MTZ file containing h k l I sigI or h k l I+ sigI+ I- sigI-. It is possible to read in a standard MTZ format file and produce a `multirecord' MTZ file. You should only use merged data as a reference `batch' for SCALA.
Standard MTZ file containing either h k l F sigF or h k l F(+) sigF(+) F(-) sigF(-). It is possible to read such an MTZ format file and produce a `multirecord' MTZ file. You should only use merged data as a reference `batch' for SCALA. This is probably most useful for producing test data from Fcalc
Output from SCALEPACK [h k l I SigI or h k l I+ SigI+ I- SigI-] in format (3i4,4f8.0).
N.B. Run SCALEPACK2MTZ to generate an MTZ file containing h k l I sigI or h k l I+ sigI+ I- sigI- then input this as MTZI.
Output from SCALEPACK option NOMERGE original indices [h k l h0 k0 l0 ibatch I SigI] in format (6I4,i6,7x,2f8.0). Scales have been applied and partials summed. The Friedel pairs are separate in this case.
Output from SCALEPACK option NOMERGE no partials [h k l ibatch isym I SigI (Fpart)] in format (4i4,i3,2f8.0,f7.2). Scales have been applied and partials summed. The Friedel pairs are separate in this case.
[h k l F sigF] in format (3i4,4f8.1).
MADNES for050 files.
[h k l I sigI] in format (3i5,2f10.2).
For intensities output from the XENTRONICS and XENGEN
data processing packages.
[format (3i4, 1x, F6.4, 6(1x,f8.2), 1x, i2).]
For amplitudes output from the XENTRONICS and XENGEN
data processing packages.
[format (3i4, 1x, F6.4, 6(1x,f8.2), 1x, i2).]
Output from Raxis READBF of mergefile.
[mpart h k l I sigI ibatch] in
format (21x, I4, 4x, 3i4, 8x, 2f10.3, i4).
This option may cause serious trouble further down the line. Do not use unless you know exactly what you are doing.
Concatenated output files from DENZO. These contain HEADER blocks and reflection data. [h k l fsqp I sigI fpart phi] in format (3I4, 2X, 2F8.0, 7X, F6.0, 6X, 2F7.0, 14X, 2F6.0)
Care is needed when doing this, since no post-refinement has been done. We now prefer to run SCALEPACK to refine the cell and orientation, then either run DENZO again to re-integrate the images without re-refining the cell etc. (however there may still be problems with partiality flags), or output an unmerged file from scalepack (see keywords SCAL_NM and SCAL_NM2).
HKL data processing system Version 1.0 FT1.31 Rev1.4
you need to use the Denzo command
film york output file <filename>
to produce a suitable format for `combat'. The `york' output can also be read into `scalepack' with
format denzo_york1
Output from SAINT, one batch only (not fully tested).
Output from TEXSAN data processing package for Rigaku diffractometer.
[h k l ident I sigI] in format (3i4, i3, 5x, f8.1, f7.1).
Output from TEXSAN data processing package for Rigaku diffractometer.
[h k l I sigI scale] in format (3x, 3i4, 2F10.2, 29x, F7.4).
ASCII data file in a user-defined format, see LABEL and FORMAT keywords.
Output from the WEISS data processing package for Japanese Weissenberg data. [h k l mpart I sigI ident] in format (5x, 4i4, 2f8.2, i10).
Output from Kabsch's XDS data processing package in the standard text file XDS_ASCII.HKL from the CORRECT stage.
In the XDS file, a negative sign is attached to SIGMA(IOBS) to indicate a MISFIT (IOBS is incompatible with symmetry equivalent reflection intensities). These reflections are kept in the MTZ output on the assumption that SCALA will deal appropriately with them.
This option may work with output from XSCALE where the reflections have been scaled but not merged ( MERGE=FALSE ). However, the resulting MTZ file will likely be missing information that SCALA needs (depending on the scaling options chosen). You might get this to work by simplifying the scaling model in SCALA, or by adding records to the header of the XDS_ASCII.HKL file, such as OSCILLATION_RANGE.
This option will not work with merged output from XSCALE ( MERGE=TRUE ). The program F2MTZ should be used.
Output from older versions of Kabsch's XDS data processing package (or the MAR
Research version) in the standard text file UNIQUE.HKL from the
CORRECT stage. [The output of the MARSCALE program (and possibly
the original XSCALE) can also be put in this form, although there
is probably no reason to prefer these to scala].
This file contains
symmetry averaged reflection intensities and anomalous differences after
scaling.
[h k l I sigI delI sigdelI] in format (3I5, 4E12.4)
Since UNIQUE output is scaled and merged, it is sensible to use f2mtz to produce an MTZ file for direct input to truncate.
The output file has the column labels:
Available keywords are:
ADDBATCH, BATCH, CELL, DETECTOR, WAVELENGTH,END, FORMAT, INPUT, LABEL, LABIN, MONITOR, NAME, PHIRANGE, REINDEX, REJECT, RESOLUTION, SCALE, SYMMETRY, TITLE
For input types which contain batch number information the following two keywords determine the transformation of the input numbers. Note that the "MISBATCH" command is no longer needed to list missing batches and has been removed.
FORMAT '(6(6X,F8.3))'will read records comprising six numbers each preceded by a six-character-wide field which will be skipped. It is not possible to read more than one reflexion from each input line.
The format should be reading real numbers (F), and not integers (I), so if your input file contains integers, then they should be read as reals with e.g. F6.0 rather than I6. If the supplied FORMAT statement contains I descriptors then COMBAT will automatically convert them to the correct F format for you.
Make use of the X descriptor to skip unwanted columns. Under Unix, the cut (1) command may be useful for reformatting the input columns if, for instance, the relevant fields aren't in fixed positions. If the FORMAT keyword is not given for user-defined input, then the default format specifier '*' is used.
Specify the project, crystal and dataset names for the output MTZ file. For input options MTZF and MTZI, this information will be inherited from the input file, but can be overridden with this keyword. For all other input types, it is strongly recommended that this information is given. Otherwise, the default project, crystal and dataset names are "unknown", "unknown" and "unknownddmmyy" respectively.
The project-name specifies a particular structure solution project, the crystal name specifies a physical crystal contributing to that project, and the dataset-name specifies a particular dataset obtained from that crystal. All three should be given.
scala, f2mtz, Data Harvesting, CAD
combat HKLIN raxis.dump HKLOUT junk.mtz << + CELL 63 63 264 90 90 90 MONITOR 1000 BATCH 1 # first batch number INPUT RAXISDUMP RESOLUTION 0 0.137 SYMMETRY 89 TITLE Test combat NAME PROJECT myproject CRYSTAL mycrystal DATASET native END +
combat \ HKLIN ESRF/pcrb/pcrb5_e1.sca \ HKLOUT $SCRATCH/pcrb5_e1.mtz \ << 'END-mtzrwrot' MONI 10000 INPUT SCAL_NM2 ADDBATCH 0 CELL 92.004 92.004 175.229 90.000 90.000 90.000 SYMM P41212 TITLE Test on Scalepack - NoMerge- Original Indices L1 NAME PROJECT myproject CRYSTAL mycrystal DATASET native END 'END-mtzrwrot' #
Alun Ashton, CCP4 Daresbury Laboratory.
Original program was ROTAPREP by Eleanor Dodson, University of York