Xdsconv
XDSCONV is the conversion program of the XDS suite.
Possible output formats are SHELX, CNS, MTZ (FIXME: which else).
The latest versions of the program do not require
SPACE_GROUP_NUMBER= UNIT_CELL_PARAMETERS=
because these are picked up from the header of the input reflection file.
A typical input file might thus look like
INPUT_FILE=XDS_ASCII.HKL INCLUDE_RESOLUTION_RANGE=50 1 ! optional OUTPUT_FILE=temp.hkl CCP4 FRIEDEL'S_LAW=FALSE
After running XDSCONV one would then run
f2mtz HKLOUT temp.mtz<F2MTZ.INP cad HKLIN1 temp.mtz HKLOUT junk_truncated.mtz<<EOF LABIN FILE 1 E1=FP E2=SIGFP E3=DANO E4=SIGDANO LABOUT FILE 1 E1=FP E2=SIGFP E3=DANO_sulf E4=SIGDANO_sulf END EOF
More to come