#
#     Copyright (C) 1999-2004  Liz Potterton, Peter Briggs
#
#     This code is distributed under the terms and conditions of the
#     CCP4 Program Suite Licence Agreement as a CCP4 Library.
#     A copy of the CCP4 licence can be obtained by writing to the
#     CCP4 Secretary, Daresbury Laboratory, Warrington WA4 4AD, UK.
#
#CCP4i_cvs_Id $Id$
#CCP4I VERSION CCP4Interface 0.14
#CCP4I SCRIPT DEF dtrek2mtz
#CCP4I DATE  04/10/00 16:05:30
#CCP4I USER ccb

INPUT_FILES     _list_of_text           "HKLIN"
OUTPUT_FILES    _list_of_text           "HKLOUT"
HKLIN 			_hkl_file 	""
DIR_HKLIN 		_default_dirs 	""
HKLOUT 			_MTZ_file 	""
DIR_HKLOUT 		_default_dirs 	""

TITLE 		_title_text 		""
SPACE_GROUP     _space_group		""
CELL_1 		_positivereal 		""
CELL_2 		_positivereal 		""
CELL_3		_positivereal 		""
CELL_4 		_positivereal 		""
CELL_5 		_positivereal 		""
CELL_6 		_positivereal 		""

ANOMALOUS	_logical		1

USE_MONITOR	_logical		0
MONITOR		_positiveint		10

N_REJECTS	_positiveint		0
REJECT1_H,0	_int			""
REJECT1_K,0	_int			""
REJECT1_L,0	_int			""
REJECT2_H,0	_int			""
REJECT2_K,0	_int			""
REJECT2_L,0	_int			""

REINDEX		_logical		0
REINDEX_H	_text			"h"
REINDEX_K	_text			"k"
REINDEX_L	_text			"l"
SCALE		_positivereal		1.0
RESOLUTION_RANGE	_logical	0
RESOLUTION_MAX		_positivereal	""
RESOLUTION_MIN		_positivereal	""

RUN_TRUNCATE		_logical		1
CONTENTS_MODE		_text			NRES
CONTENTS_NRES		_positiveint		""
APPLY_TRUNCATE		_truncate_method	WILSON
USE_LABOUT      _logical                0
LABOUT_LABEL    _text                   ""
LABOUT          _list_of_text           ""
IMEAN		_mtz_label_out		IMEAN
SIGIMEAN	_mtz_label_out		SIGIMEAN
Ip		_mtz_label_out		I(+)
SIGIp		_mtz_label_out		SIGI(+)
Im              _mtz_label_out          I(-)
SIGIm           _mtz_label_out          SIGI(-)
F               _mtz_label_out          F
SIGF            _mtz_label_out          SIGF
DANO            _mtz_label_out          DANO
SIGDANO         _mtz_label_out          SIGDANO
Fp              _mtz_label_out          F(+)
SIGFp           _mtz_label_out          SIGF(+)
Fm              _mtz_label_out          F(-)
SIGFm           _mtz_label_out          SIGF(-)
ISYM            _mtz_label_out          ISYM


RANGE_MODE              _truncate_range_mode    default
RANGE_NUMBER            _positiveint            60
RANGE_WIDTH             _real                   ""
CONTENTS_USE_VPAT       _logical                0
CONTENTS_VPAT           _positivereal           10.0
SCALE_RESOLUTION        _logical        	0
SCALE_RESOLUTION_MIN    _positivereal   	4.0
SCALE_RESOLUTION_MAX    _positivereal   	""
FALLOFF                 _logical                1

@ [FileJoin [GetEnvPath CCP4I_TOP] tasks uniqueify.def]
@ [FileJoin [GetEnvPath CCP4I_TOP] tasks harvest.def]
