2,684
edits
(revision 0.16) |
(bugfix) |
||
Line 28: | Line 28: | ||
# make sure to have the two quotation marks ! | # make sure to have the two quotation marks ! | ||
# the ? are wildcards for the frame numbers. | # the ? are wildcards for the frame numbers. | ||
# | # | ||
# limitations: | # limitations: | ||
Line 45: | Line 41: | ||
# | # | ||
# ====== Start of script ====== | # ====== Start of script ====== | ||
echo generate_XDS.INP version $REVISION . Latest version at http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/ | echo generate_XDS.INP version $REVISION . Latest version at http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP | ||
if [ "$1" == "help" ] || [ "$1" == "-help" ] || [ "$1" == "-h" ]; then | if [ "$1" == "help" ] || [ "$1" == "-help" ] || [ "$1" == "-h" ]; then | ||
echo usage: generate_XDS.INP \"frms/mydata_1_???.img\" \(_with_ the quotation marks!\) | echo usage: generate_XDS.INP \"frms/mydata_1_???.img\" \(_with_ the quotation marks!\) | ||
Line 128: | Line 124: | ||
DETECTOR="CCDCHESS MINIMUM_VALID_PIXEL_VALUE= 1 OVERLOAD= 65500" | DETECTOR="CCDCHESS MINIMUM_VALID_PIXEL_VALUE= 1 OVERLOAD= 65500" | ||
SENSOR_THICKNESS= 0.01 | SENSOR_THICKNESS=0.01 | ||
# use first frame of dataset to obtain parameters | # use first frame of dataset to obtain parameters | ||
MARFRAME=`head -1 tmp1` | MARFRAME=`head -1 tmp1` | ||
Line 181: | Line 177: | ||
DETECTOR="ADSC MINIMUM_VALID_PIXEL_VALUE= 1 OVERLOAD= 65000" | DETECTOR="ADSC MINIMUM_VALID_PIXEL_VALUE= 1 OVERLOAD= 65000" | ||
echo this is an ADSC detector. Obtaining ORGX, ORGY from the header depends on beamline setup. | echo this is an ADSC detector. Obtaining ORGX, ORGY from the header depends on beamline setup. | ||
SENSOR_THICKNESS= 0.01 | SENSOR_THICKNESS=0.01 | ||
strings `head -1 tmp1` | sed s/\;// > tmp2 | strings `head -1 tmp1` | sed s/\;// > tmp2 | ||