Generate XDS.INP: Difference between revisions

bugfix
(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.
#
# two external programs that can read MAR headers:
# - for MARCCD detectors the "catmar" binary (which can be downloaded from http://www.marresearch.com/download.html)
# - the [[mccd_xdsparams.pl]] script (see http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/Mccd_xdsparams.pl )
#  
#  
# 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/Generate_XDS.INP
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


2,651

edits