#!/bin/sh set -e # Remember the order of reflections will be funny. # # Use cad or sortmtz to fix it. reindex \ HKLIN $CEXAM/toxd/toxd_old \ HKLOUT $CCP4_SCR/toxd_reind1 \ << END-mtz reindex HKL h/2 -l/2, k, h/2 +l/2 end END-mtz echo H K L | sortmtz HKLIN $CCP4_SCR/toxd_reind1 HKLOUT $CCP4_SCR/toxd_reind2 #