|
|
|
The Laue diffractometer LADI is mainly used for single-crystal studies of small protein systems at medium or high resolution in order to locate individual hydrogen atoms of special interest, water structures or other small molecules that can be marked with deuterium to be particularly visible. The complexity of systems that can be studied can reach about 150 Å on cell edge and the sample volumes required can be as low as 0.1-0.2 mm3.

|
This is a basic guide to processing the data acquired during a LADI experiment. Beginning from a raw image, explaining the processes, through to finally producing a SHELX hkl file. This is not an exhaustive manual, just a guide for straight forward data processing. More extenisive program documentation can be found from the links page. John Cowan. 6th September 2000. 1. GETTING THE DATA INTO LAUEGEN1.1. FTP ladiYou have performed an experiment on LADI. The raw data is stored on the HP ladi control computer in a .edf file. You need to move the data to Ladisgi for processing.
1. You must be logged into Ladisgi in the directory in which you wish to process your data. 2. You need to ftp from the control computer to collect the .edf file. 3. The control computer is called simply 'ladi', the username is 'operator' and the password is 'ladi97'. Start FTP, the dialogue will look like this:- <code> 4. The data will probabaly be in the directory 'data1', go there. <code> 5. Collect the file containing your image and quit FTP. <code> 6. Now your file is on ladisgi you can start to process it. 1.2. ReorderOnce the data is on Ladisgi you have to pre-process the files in order to make them viewable in LAUEGEN. This is done with the program REORDER.
1. Your are logged into Ladisgi and working in the directory which contains your raw data, the .edf files transferred over from the control computer.
2. The .edf file is a large binary file with a small text header at the beginning. The text header needs to be removed and the binary data reorganised. You need to know the size of the text header at the top of the .edf file inorder to remove it.
This header is quite useful, it contains information about the experiment, such as the date, temperature, exposure time, etc. And can be viewed with the command. <code> (Prints out the header on the screen. An example.) The number of bytes of header is the file size minus 16000000. The filesize varies a little but is usually around 16000600. Find this with :- <code>
3. Run the program REORDER. <code> Change the filename ending for the output file to .reo, for reordered. <code> i = An image plate from LADI. <code> The size of the detector in pixels. This is shown in the header <code> The order required to make the image the correct shape for the LAUEGEN window. <code> <code> The number of bytes in the test header of the .edf file to be removed. See above. <code>
4. To check that you have successfully translated the file you can look at its size. The .reo file should have exactly 16000000 bytes <code>
5. Your file is ready to be displayed and processed in LAUEGEN.
Jreo.
Alternatively use the program JREO, which works more automatically. <code> Then the header will be printed on the screen and the file converted automatically. 2. LAUEGEN2.1. Displaying an imageThe program LAUEGEN is used to display the diffraction patterns, which are now stored as .reo files. To display an image you need two files.
The ldm data file. The .ldm data file contains the parameters needed by LAUEGEN to view your image. Some parameters are unique to the detector and some are unique to your image. To display your first image you need an .ldm file with the detector information in it, which you can modify for your image. The easiest way to do this is to borrow an .ldm file used in another experiment and use LAUEGEN to modify it. Copy an .ldm file to your directory. For instance: <code> Now run LAUEGEN with the command. <code> Or run the old version of lauegen, which is needed if you wish to use the integration programs INTEGRATE+ or ARGONNE_BOXES. <code> In LAUEGEN you can only edit information in the boxes showing the green square in the corner.
To display your image first you must read in the .ldm file. Click on the "READ PARAMETERS FILE" button under "MAIN MENU". Type in the name of the .ldm file at the prompt in the centre box. <code>
Then click in the "PLATE 1" box on the "filename:" prompt, and type in the name of your image. For example : <code>
To see your image click on the "DISPLAY/MEASURE IMAGE" button, and your image should appear. 2.2. IndexingTo index a pattern it is important to begin with a good approximation to the cell parameters. These should be entered into the appropriate places in LAUEGEN. If you enter the system first then you will only be prompted for the cell dimensions that can vary in that system. For instance entering Hex as the system will require you to enter only a and c. Before you begin trying to index the pattern, check that the detector geom (Under Crystallographic/pack Parameters) says cyl. This is option is only availiable in the new version of LAUEGEN. To index the pattern you must find the orientation of the crystal. From the LAUEGEN main menu click on the Find Orientation button. Then on Measure Spots on Image button. A picture of your diffraction pattern should appear on the screen. Now you must mark some spots on the image. Try to mark low index nodal spots, these will be spots at the intersections of many zones. Here are some examples. To mark the spots click the button Input Spot Positions, then the Add Spots button. Use the right mouse button to a few spots (4-6 is usually enough). If you make a mistake use the Delete Spots button to remove the mark.
After you have chosen a few likely spots click the End Spots Input button. Then the Measurement Complete button. In the central window of the LAUEGEN screen you will be asked some questions. These appear automatically as you proceed through. At the first attempt accept the default values. If no solutions are found you can increase these values <code>
After attempting to auto index the spots selected the program will offer you some possible solutions to indexing. Some may be equivalent, some will be wrong. It is not obvious form the list. To find the correct solution you must use the Show Solutions option. A correct solution will be obvious, all the real spots in the image will be marked with a coloured prediction in, or close to, the centre.
When you believe that you have the correct solution, click on Select Solution and select the correct one from the list displayed. If the indexing has not found an acceptable solution then :
Try a few times, if you cannot find a solution then you may have the wrong unit cell. Or there may be something wrong with the crystal e.g. twinned. Try another image from the same crystal and rotate the solution until it fits. The rotations about Phi in the detector correspond to rotations about PhiZ or Spindle, but in the opposite sense. 2.3. Refining the orientationOnce a pattern has been indexed approximately, the orientation needs to be refined to get a better fit. The is done in the PROCESS section of LAUEGEN. From the LAUEGEN main menu click on the Process button, then the Refine Orientation button. You will be faced with a list of refinement options. 'Match Spots and Refine' and 'Nodals Search and Refine' are the most useful.
1. Match Spots and Refine.To begin from a poor, but probabaly correctly indexed pattern, click on 'Match Spots and Refine'. Then click on Input Matches. Click with the mouse on a predicted spot on the pattern a cross should appear. Click on the closest real spot, a square should appear. Repeat this until you have ten or twenty spots marked. Try to only pick spots that you are certain match reasonably well. When you have a few spots, spread out over the image, click on End Spots Input . Accept the defaults for the questions. <code> Then a menu should appear. It should be sufficient to refine only the missetting angles: phix, phiy, phiz. Click Refine at the bottom of the menu. To change whether a parameter is refined or not just click Yes to change it to No and vice-versa. A few more questions. Accept the defaults. The RMS should have reduced alot. If it has not then answer Y to "<code>Continue refinement with current spots (y/n)</code>" and repeat the procedure refining a few more things on the list. It is best at the beginning to stick to the top six options on the list (phix, phiy, phiz, c_to_f, x_c, y_c). <code> Check the image, the predicted and observed patterns should match up quite well now. Continue with Nodals, Search and Refine.
2. Nodals Search and Refine.With a good fit from the original indexing then it is easiest to use this option. The program searches for and matches the predicted and observed spots. To begin from a well indexed pattern click on 'Nodals Search and Refine'. Accept the defaults for the questions in the centre window for the first refinement. <code> The refinement menu should appear as above. Refine only the missetting angles: phix, phiy, phiz for the first time. Click Refine at the bottom of the menu. <code> The results of the refinement are not bad. A reasonable drop in the RMS value. Accept the defaults for the rest of the questions. <code> Now repeat the process by clicking Nodals Search and Refine again.
When repeating the refinement you can make it more accurate by:
Keep repeating the refinement until there is no improvement in the RMS value. When repeating it is usually good enough to continue using the same spots. (eg.<code> Continue refinement with current spots (y/n) [n]: y </code>). After every few refinements, or after a large improvement in the RMS, you should restart with a new set of spots, even if you use the same 'nodal spot index'. This reindexs some the spots that may have been indexed incorrectly before. Often the RMS value increases after this, but will drop again after a refinement. When processing a set of images from the same crystal it is best to refine the cell only for one image. If the cell is refined for different images then this changes the predicted wavelength of the reflections and introduces errors for the wavelength normalisation stage. 2.4. Refening the Soft LimitsThe soft limits: minimum and maximum wavelengths (lmin, lmax) and minimum d-spacing (dmin), must be determined before integrating the image. They must be as accurate as possible in order to obtain the best results from the integration. If the limits are wrong it is possible to:
Determine the Minimum D-spacingTo find the soft limits for an image choose Process from the LAUEGEN main menu. Then Improve Soft Limits in the processing menu. To find the minimum d-spacing chose Determine 'dmin' in the 'Soft Limits Options' menu. The program carries out some calculations, and presents you with a value for 'dmin'. <code> Check the quality of this answer by looking at a histogram. Click on Unnormalised histogram in the 'Soft Limits Results' menu. This gives you an idea about how many reflections are measured outside the d-limit. Another way to check the answer is to look on the image. Click Show results on image in the Soft Limits Results menu. Then in the 'Soft Limits on Image' menu click on Show low 'dmin' spots. The program asks you for some numbers, for instance: <code> The image should appear as below. The blue and light blue crosses mark spots that are predicted but do not appear on the image. The red circles mark spots that spots that exist on the image. This is a very useful way to see how well 'dmin' is predicted. You can repeat this with different upper and lower limits. When there are only blue crosses, then you are below 'dmin'. When you are satisfied that you have the correct value of 'dmin' click Accept new soft limit or Input new soft limit if you think the value if different. Then return to Return to previous menu. Occasionally the computer fails to determine 'dmin'. <code> When this happens try to guess 'dmin' from the histograms. If the histograms look odd try changing 'lmin', if it is very low increase it a little and repeat Determine 'dmin'.
Determine the Minimum Wavelength. The minimum value for the wavelength is found in an identical way to 'dmin'. Click on Determine 'lambda-min' in the 'Soft Limits Options' menu. 3. INTEGRATING3.1. Integrating the patternOnce the pattern has been well indexed, and the soft limits determined satisfactorally the intensities of the spots can be measured by integrating them. There are two integration routes. Either use the built in integration routine in the new version of LAUEGEN, or use the integration program, INTEGRATE+ or its modification ARGONNE_BOXES. INTEGRATE+To use INTEGRATE+ you need to write an .ldm file, containing the crystal parameters, and a .geasc file, containing the parameters for each reflection. Using the old version of LAUEGEN, after the orientation and soft limits have been refined, choose Write Parameters File in either the LAUEGEN main menu or the processing menu, and type in a file name. <code> In the main menu click on Process, then Refine Orientation, then Write .ge files, and answer the questions as shown below. <code> Once all of the files have been written quit LAUEGEN. The .geasc is a ASCII version of the .ge files, and is prepared from the .ge files using the program EXCHGE. A sample run of the program is shown below. <code> To run integrate+ you also need a fuji_borders file. This contains details of the size and shape of the image plates, and any areas not to be integrated. Copy a file to your working directory. <code> Now you can run INTEGRATE+ from this directory. Accept all the proposed parameters. <code> The program output files are
The flags+ file may be useful and you should rename it, otherwise it will be overwritten next time you run INTEGRATE+. <code> After the _mod.geasc file has been created it needs to be converted back into binary. Use the program EXCHGE again, as below. <code> The _mod.ge1 and _mod.ge2 files are the ones needed for the normalisation. The .ldm files have a variable format, only one kind works with INTEGRATE+. The most common problem I have with INTEGRATE+ is if I have the wrong kind of .ldm file. A file that works is: <code> This file has to be read into LAUEGEN (old version) all the parameters corrected, then written out again. ARGONNE BOXES
ARGONNE_BOXES is an updated version of INTEGRATE+ with more scope for altering the integration parameters. The same files are required to run ARGONNE_BOXES as INTEGRATE+, so you must make the .ldm and .geasc files and collect a fuji_borders file as above. LAUEGEN IntegrationThe integration in the new version of LAUEGEN is easier to use than INTEGRATE+ but does not give as much diagnostic information if something goes wrong or the integration is not straight forward. To begin you need to find the size of the reflections on the image. Click on Determine Spot Size in the processing menu. Then Determine Spot Size in the spot size menu. The results should look like this. <code> Its a good idea to check these results in the histograms and on the image. Look at an image and zoom in far enough so that you can see one spot clearly. By moving the cursor across the spot you can measure its size in pixels. The position of the cursor is written in the top right of the display. 1 pixel = 0.2 mm. Click on Accept New Spot Size if you are satisfied, then Return to Previous Menu. If you want to change the spot size you can do it manually in the Plate 1 section of the main LAUEGEN window. To integrate in the new version of LAUEGEN click Process from the main menu, then Integrate Spots in the processing menu. Change the parameters for the output files in the bottom left box, so that .ge files are output with your chosen filename, here image01 To integrate the image click on Integrate Plate. To examine the results of the integration click on Examine Last Integration. There are three options.
Finally click on Write Intensities File to write the output .ge files 4. LAUENORM4.1. Lauenorm Input filesOnce all the images in the dataset have been integrated and the .ge files written, then LAUENORM can be used for the wavelength normalisation. It works by comparing the equivalent reflections and refining a wavelength normalisation curve. This curve takes into account any factor only dependent on wavelength, mainly the different flux and different wavelengths, but also the response of the image-plates to different wavelengths. To run LAUENORM you need 3 types of files.
The lnorm.com file.The Lnorm.com file is the command file which runs LAUENORM. Collect a file from a previously processed dataset and modify it.
The file has to be modified for each new dataset. Here is an example of an lnorm.com file.
After you have modified the file save it as something unambiguous.
The lnorm.dat file.The Lnorm.dat file contains the parameters for running LAUENORM. Collect a file in the same way.
This file has to be modified before running the program. Below is an example. Its not a very easy file to work with, as you have keep modifying the numbers at the end of the file. And you have to try to remember the effect of each one.
Here is a run down of the most important parameters.
This web page has a more detailed description of the dat file. LAUENORM Users Documentation
After you have modified the file save it under the name referenced in the .com file.
Now you are ready to run the program.
The program should have worked. A common error occurs if an output file (eg. image.mtz) already exists. This must be deleted or renamed before the program will run. 4.2. Lauenorm OutputLAUENORM should produce 2 files.
The log file should be a huge file containing lots of tables full of numbers. Some parts of the file are useful to check and see which parameters to change in the .dat file. An example of an lnorm.log file. The first thing to check is if the program ran successfully. If you see this message then the program has failed because the output file, image.mtz already exists. You must remove or rename image.mtz and run the program again. <code> Next check what the end of the lnorm.log file looks like by using NEDIT. The last line should say how many reflections are output. If it does not then something has gone wrong somewhere.
<code> If the program failed to work properly and at the end of the lnorm.log file there is a message that says. <code> Then the program nearly worked, and you are on the right track. If you have any other message it probabaly means there is a mistake in the .dat or .com file, and you should check these carefully. If you are 'MISSING DATA FOR SOME BATCHES' you must change some of the parameters in the .dat file to numbers appropriate for you dataset. If the program worked properly you should also change some of the numbers in the .dat to try to optimise the output. Both cases are similar. To try to find which parameters to change you should examine parts of the lnorm.log file. Sections to check in the lnorm.log file: <code>
The rest of the file contains details of how the refinement progressed. The most interesting are at the end of the file, where the final results are: <code>
<code>
<code>
<code>
LAUENORM is a trial and error business. Run the program, examine the output, change some parameters, run the program again. The aim is to maximise the number of output reflections and minimise the R-factors. The most useful parameters to change are:
Keep running the program until you are certain that you have the best results. Remember to delete or rename the output .mtz file before you rerun the program. 5. AGROVATA5.2. Agrovata OutputAGROVATA should produce 2 files.
The agro.out file, similar to the lnorm.log file, is long listing of what the program did. Like the LAUENORM you need to examine the output to try to optimise the input parameters. An example of an agro.out file. Similar to LAUENORM, you must have removed any previous output _out.mtz file for the program to run. Once the program has run correctly, view the agro.out file with NEDIT to examine the results. Sections to check in the agro.out file: <code>
<code>
<code>
<code>
<code> <code>
<code> <code>
<code>
In the same way as with LAUENORM, keep repeating the program altering the parameters, until you are satified with the results. Remember to delete the output .mtz file each time you rerun the program.
6. Getting the HKL fileMTZ2VARIOUSThe program MTZ2VARIOUS can be used to convert the an .mtz file into a wide variety of formats.
|