Download Linux x86 binary (right-click Save As).
Download OSX PPC binary (right-click Save As).
Download OSX x86 binary (right-click Save As).
Convert CNS or other formatted reflection data files to MTZ. Columns are identified automatically using names specified in the file or on the command line. A full set of CCP4 FreeR_flag information is generated, using existing flags if available. Data is completed to the resolution limit, unless you specify -no-complete. Cell and spacegroup information may be specified or taken from a pdb file. Anomalous data is merged automatically.
Update: May now convert SHELX free flags correctly (untested).
convert2mtz -hklin test.hkl -cell 50.9,50.9,121.4 -spacegroup 96 convert2mtz -hklin test.hkl -cell "50.9 50.9 121.4 90 90 90" -spacegroup "P 43 21 2" convert2mtz -hklin test.hkl -cell "50.9 50.9 121.4 90 90 90" -spacegroup "P 43 21 2" -no-complete convert2mtz -hklin test.hkl -pdbin test.pdbIf the file has incomplete header records for column declaration, you can also specify -colin.
convert2mtz -hklin test.phs -cell 50.9,50.9,121.4 -spacegroup 96 -colin "FO FC PHI" convert2mtz -hklin test.phs -cell 50.9,50.9,121.4 -spacegroup 96 -colin "FO FOM PHI" convert2mtz -hklin test.phs -cell 50.9,50.9,121.4 -spacegroup 96 -colin "FO FOM PHI SIG" convert2mtz -hklin test.phs -cell 50.9,50.9,121.4 -spacegroup 96 -colin FO,FOM,PHI,A,B,C,DChange -colin according to the columns actually present in the file.
convert2mtz -hklin test.hkl -cell 50.9,50.9,121.4 -spacegroup 96 -colin "I SIGI FREE" convert2mtz -hklin test.hkl -cell 50.9,50.9,121.4 -spacegroup 96 -colin I,SIGI,FREE convert2mtz -hklin test.hkl -cell 50.9,50.9,121.4 -spacegroup 96 -colin F,SIGFIf the file contains Friedel opposites, you can also specify -anomalous.
alias shelx2mtz "convert2mtz -colin I,SIGI,FREE"