#
#     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 SCRIPT DEF truncate
#CCP4I DATE  25/10/97 16:05:30
#CCP4I USER lizp

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

INPUT_DATA	_truncate_input		SCALA
OUTPUT_I	_logical		1
OLDPROG     _logical        0

IMEANIN         _mtz_label_j            ""
SIGIMEANIN      _mtz_label_sig          ""
Ipp		_mtz_label_j		""
SIGIpp	 	_mtz_label_sig		""
Imm		_mtz_label_j		""
SIGImm		_mtz_label_sig		""
FMEANIN         _mtz_label_f            ""
SIGFMEANIN      _mtz_label_sig          ""

USE_LABOUT	_logical		0
LABOUT_LABEL	_text			""
LABOUT		_list_of_text		""
F		_mtz_label_out		F
SIGF		_mtz_label_out		SIGF
IMEAN           _mtz_label_out          I
SIGIMEAN        _mtz_label_out          SIGI
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(-)
Ip              _mtz_label_out          I(+)
SIGIp           _mtz_label_out          SIGI(+)
Im              _mtz_label_out          I(-)
SIGIm           _mtz_label_out          SIGI(-)
ISYM		_mtz_label_out		ISYM


ANOMALOUS	_logical		1
APPLY_TRUNCATE		_truncate_method	WILSON

TITLE       		_title_text           	""
SYMMETRY		_logical		0
SPACE_GROUP     	_space_group    	""
CELL			_logical		0
CELL_1        		_positivereal   	""
CELL_2        		_positivereal   	""
CELL_3        		_positivereal  	 	""
CELL_4        		_positivereal   	""
CELL_5        		_positivereal   	""
CELL_6        		_positivereal   	""

CONTENTS_MODE		_truncate_content_mode	NRES
CONTENTS_NRES		_positiveint		""
CONTENTS_PDB		_pdb_file		""
DIR_CONTENTS_PDB	_default_dirs		""
N_CONTENTS		_positiveint		0
CONTENTS_ATOM_TYPE,0	_text			""
CONTENTS_ATOM_COUNT,0	_positiveint		""

CONTENTS_USE_VPAT	_logical		0
CONTENTS_VPAT		_positivereal		10.0

RANGE_MODE		_truncate_range_mode	default
RANGE_NUMBER		_positiveint		60
RANGE_WIDTH		_real			""

SCALE_RESOLUTION	_logical        0
SCALE_RESOLUTION_MIN	_positivereal   4.0
SCALE_RESOLUTION_MAX	_positivereal   ""
EXCLUDE_RESOLUTION      _logical        0
EXCLUDE_RESOLUTION_MIN  _positivereal   ""
EXCLUDE_RESOLUTION_MAX  _positivereal   ""

WILSON_PLOT		_logical	0
OUTPUT_HEADER		_truncate_header	brief
OUTPUT_BATCH		_truncate_batch		BATCH

FALLOFF			_logical		1
FALLOFF_CONE		_positivereal		30.0
FALLOFF_PLOT		_truncate_falloff_plot	PLTX

ANISOCORR       _logical        1

CTRUNCATE_SCALE _logical        0
CTRUNCATE_NRES  _positiveint    ""

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

# Over-ride the value set in uniqueify.def
UNIQUEIFY               _logical                0
