computer programs\(\def\hfill{\hskip 5em}\def\hfil{\hskip 3em}\def\eqno#1{\hfil {#1}}\)

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775

Beamline Scheduling Software: administration software for automatic operation of the RIKEN structural genomics beamlines at SPring-8

CROSSMARK_Color_square_no_text.svg

aSPring-8/RIKEN, Kouto, Mikazuki, Sayo, Hyogo, 679-5148, Japan, bRigaku Corporation, Matsubara, Akishima, Tokyo 196-8666, Japan, and cTokyo Institute of Technology, Nagatsuta, Midori-ku, Yokohama, Kanagawa 226-8501, Japan
*Correspondence e-mail: ueno@spring8.or.jp

(Received 4 August 2004; accepted 10 February 2005)

Beamline Scheduling Software (BSS) has been developed for the schedule management and equipment control of the RIKEN Structural Genomics Beamlines I and II (BL26B1 and BL26B2 at SPring-8). The beamline operation is automated with a sample-changer robot and a database system. The experimental schedule is registered to BSS as a list of diffraction measurements for numbers of protein crystals. BSS implements the beamline operation communicating with beamline instruments through the computer network. The RIKEN Structural Genomics Beamline I (BL26B1) opened for users using BSS in October 2002, and the automatic operation was implemented at BL26B2 in October 2003.

1. Introduction

The RIKEN Structural Genomics Beamlines I and II of SPring-8 have been constructed (Yamamoto et al., 2002[Yamamoto, M., Kumasaka, T., Ueno, G. Ida, K., Kanda, H. Miyano, M. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C302.]; Ueno, Yamamoto et al., 2004[Ueno, G., Yamamoto, M., Hirose, R., Ida, K., Kanda, H., Miyano, M., Kumasaka, T. & Ishikawa, T. (2004). AIP Conference Proceedings, Vol. 705, Eighth International Conference on Synchrotron Radiation Instrumentation, pp. 1209-1212. New York: AIP Press.]) as part of Japan's National Project on Protein Structural and Functional Analysis funded by the Ministry of Education, Sports, Science and Technology (MEXT) of Japan (Protein 3000 project) (Yokoyama et al., 2000[Yokoyama, S., Hirota, H., Kigawa, T., Yabuki, T., Shirouzu, M., Terada, T., Ito, Y., Matsuo, Y., Kuroda, Y., Nishimura, Y., Kyogoku, Y., Miki, K., Masui, R. & Kuramitsu, S. (2000). Nature Struct. Biol. 7, 943-945.]; Stevens et al., 2001[Stevens, R. C., Yokoyama, S. & Wilson, I. A. (2001). Science, 294, 89-92.]). The target of the beamline construction is the high-throughput data collection of protein crystals to contribute to structural genomics research, which leads to the accumulation of a large number of protein structures. The beamline is equipped with a sample-changer robot, named SPACE (SPring-8 Precise Automatic Cryo-sample Exchanger), and a sample database system (Ida et al., 2002[Ida, K., Yamamoto, T., Kumasaka, T., Ueno, G., Kanda, H., Yokozawa, Y., Sasaki, K. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C300.]; Ueno, Hirose et al., 2004[Ueno, G., Hirose, R., Ida, K., Kumasaka, T. & Yamamoto, M. (2004). J. Appl. Cryst. 37, 867-873.]) for performing the automated data collections for a large number of protein crystals with maximum efficiency of beam-time use (Abola et al., 2000[Abola, E., Kuhn, P., Ernest, T. & Stevens, R. C. (2000). Nature Struct. Biol. 7, 973-977.]). For automatic operation of such a beamline, development of administrative software to provide unified control of beamline instruments in accordance with experimental schedule is indispensable (McPhillips et al., 2002[McPhillips, T. M., McPhillips, M. C., Chiu, H. J., Cohen, A. E., Deacon, A. M., Ellis, P. J., Garman, E., Gonzales, A., Sauter, N. K., Phizackerley, R. P., Soltis, S. M. & Kuhn, P. (2002). J. Synchrotron Rad. 9, 401-406.]; Pohl et al., 2004[Pohl, E., Ristau, U., Gehrmann, T., Jahn, D., Robrahn, B., Maithan, D., Dobler, H. & Hermes, C. (2004). J. Synchrotron Rad. 11, 372-377.]). Here we describe Beamline Scheduling Software (BSS), which has been developed at the RIKEN Structural Genomics Beamlines to manage the experimental schedules and operate beamline instruments (Ueno et al., 2002[Ueno, G., Yamamoto, M., Kumasaka, T., Ida, K., Kanda, H., Yasukawa, S., Sasaki, K. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C302.]).

The graphical user interface (GUI) of BSS offers all-in-one control tools for beamline operation. As well as the schedule editor used for automatic data collection, the GUI consists of tools for manual beamline operation and beamline optics tuning. Users can set up the experimental conditions such as crystal centering, oscillation parameters and others within the BSS GUI.

With automatic operation, the experimental schedule for multiple samples is extracted from the sample database system and is registered to BSS. Beamline instruments are operated by distributed server programs under the client and server architecture. BSS implements the beamline operation by communicating with the device servers through the computer network. BSS successively processes the scheduled data collections by utilizing the centralized control system of the beamline components.

2. Software design

2.1. Client and server architecture

Both RIKEN Structural Genomics Beamlines I and II have identical design, which consists of the SPring-8 standard optics commonly used for the bending-magnet beamlines. The instruments in their end stations, however, are specialized for high-throughput protein crystallography with automated data collection (Fig. 1[link]). In the optics hutch, a fixed-exit Si double-crystal monochromator followed by a cylindrical bending mirror is installed. In the end station, installed on the equipment stage are a kappa goniometer with remote-controllable translation head, a sample-changer robot, and CCD (charged coupled device) and IP (image plate) area detectors. By moving the equipment stage, these area detectors can be switched from one to another to cope with various user choices of measurement conditions.

[Figure 1]
Figure 1
Network and hardware configuration of the RIKEN Structural Genomics Beamlines.

Beamline instruments are controlled by the software system based on the client and server architecture. In this architecture, BSS functions as the client software to organize beamline devices, where the controls at the lowest level of those devices are distributed to individual server programs. The command protocol and running platform of the server programs vary from server to server because they have been developed and provided by different groups or hardware vendors. The server software and VME control system for standard SPring-8 beamline equipment have been provided by the Beamline Control Group of SPring-8 (Ohata et al., 1998[Ohata, T., Konishi, H., Kimura, H., Furukawa, Y., Tamasaku, K., Nakatani, T., Tanabe, T., Matsumoto, N. & Ishikawa, T. (1998). J. Synchrotron Rad. 5, 590-592.]). The beamline monochromator, goniometer, equipment stage and so forth are controlled by this server, which runs on the workstation (BL-WS). On the other hand, the frame grabber of the CCD and IP detectors run on personal computers, which are provided by hardware vendors. The hardware and server of SPACE have been independently developed at the RIKEN Structural Genomics Beamlines (Ida et al., 2002[Ida, K., Yamamoto, T., Kumasaka, T., Ueno, G., Kanda, H., Yokozawa, Y., Sasaki, K. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C300.]; Ueno, Hirose et al., 2004[Ueno, G., Hirose, R., Ida, K., Kumasaka, T. & Yamamoto, M. (2004). J. Appl. Cryst. 37, 867-873.]). It is one of the essential tasks for BSS to set up a unified environment from the different computer systems involved.

The sample database system consists of SQL-based software and storage area, which can be accessed by web browsers (Fig. 2[link]). The database is used to register the experimental schedules for the automatic beamline operation (see §3[link]). Data-collection parameters for dozens of protein crystals can be uploaded prior to the beam time. Users are able to access the database from their laboratories in order to register the sample information and experimental conditions. The registered schedules are extracted at the beamline through the network. The experimental results including diffraction image files are uploaded to the database and can be referred by users.

[Figure 2]
Figure 2
Schematic diagram of the sample database system. White and black arrows in the diagram represent upload and download of the information, respectively.

BSS has multiple TCP/IP socket ports and can communicate with device servers in respective command protocols. Users can control and monitor all beamline components via BSS, and operate the entire beamline by using the BSS GUI window.

2.2. Graphical user interface (GUI)

The GUI of BSS is designed so that users can easily register the experimental schedule and start the automated beamline operation. There are six tab pages, which can be switched by clicking the mouse button. The default active tab is the Schedule tab, which allows a series of experiments for multiple crystals to be set up (Fig. 3[link]). Each row in the list widget represents either diffraction or XAFS (X-ray absorption fine structure) measurement for a given sample. The contents may be edited using control buttons located on the left of the list. The beamline operation can be initiated by pressing the Start button, and BSS can successively execute the measurements registered in the list.

[Figure 3]
Figure 3
BSS main window (Schedule tab).

The Mount Sample tab launches a monitor window of the crystal (Fig. 4[link]). Double-clicking on the crystal image invokes the translation of the goniometer head to the optical center. For the centering of crystals, there are several supporting tools such as spindle-axis rotation, backlight insertion and so on. As an option, an automatic loop-centering routine based on the image processing is available.

[Figure 4]
Figure 4
Mount Sample tab and the crystal monitor window.

The XAFS tab is automatically activated during the XAFS measurement, and provides a graphical chart of the data obtained (Fig. 5[link]). A supporting option for users to determine the peak and edge wavelengths by calculating the maximum and minimum derivative of the XAFS profile can be selected.

[Figure 5]
Figure 5
XAFS tab. A graphical plot of XAFS measurements is displayed. The results of profile analysis, i.e. peak, edge (maximum, minimum derivative) wavelengths and derivative plot are superimposed.

The Current Status tab (Fig. 6[link]) and the Device tab (Fig. 7[link]) display the status of the storage-ring current and status of other beamline devices, respectively, and the Miscellaneous tab (Fig. 8[link]) displays information such as the program running directory and so on, which are not directly related to user operation.

[Figure 6]
Figure 6
Current Status tab. Status of the storage ring, the beam shutters, X-ray intensity etc. are displayed.
[Figure 7]
Figure 7
Devices tab. Allows setting the wavelength, the goniometer, the attenuator etc. by manual operation.
[Figure 8]
Figure 8
Miscellaneous tab. Informs the operator name, BSS running directory etc.

3. Automatic beamline operation by BSS

Since October 2002, the RIKEN Structural Genomics Beamline I (BL26B1) has been open for users, and the unified environment of BSS has made the beamline easy to use. Once the measurement is initiated from the GUI of BSS, the X-ray wavelength is automatically set to the specified value, and the area detector (CCD/IP) is moved to the experimental position. BSS automatically optimizes the X-ray intensity at the sample position by the automatic tuning sequence. Each time the X-ray wavelength is changed, the beam intensity at the end station is checked by an ionization chamber located upstream from the sample on the equipment stage. Then the Bragg-angle correction axis of the first crystal of the monochromator is tuned in order to maximize the ionization chamber signal. Switching the area detectors or changing the camera length to a large extent can cause misalignment of the crystal position owing to the mechanical stage movement. In this case, BSS automatically corrects the sample position by adjusting the equipment stage height at which the ionization chamber signal is maximized.

Automatic beamline operation started at BL26B2 using BSS with the sample changer SPACE in October 2003. Once a day, dozens of protein crystals are delivered to the beamline, and are set in the sample storage of SPACE. With the sample changer in automatic operation, a day of the beamline is separated wherein two different experimental modes are carried out sequentially (Ueno, Hirose et al., 2004[Ueno, G., Hirose, R., Ida, K., Kumasaka, T. & Yamamoto, M. (2004). J. Appl. Cryst. 37, 867-873.]). The first mode is crystal evaluation, performed by beamline operators. Users can preliminarily store the evaluation schedule in the sample database, and the operators extract it through the network. During the evaluation mode, operators center the crystals, which are sequentially exchanged by SPACE. According to the schedule, preliminary diffraction images and XAFS profiles for MAD (multiwavelength anomalous dispersion) samples are measured. After the evaluation measurement, the sample is placed in storage.

The sample changer SPACE has adopted a specially designed sample pin equipped with screw threads which is attached to the goniometer. The pin ensures that the position of the crystal is reproducible under multiple mount and dismount actions. Therefore, once the first centering is completed, the record of the necessary motions of the goniometer head is registered to the database, and re-used later for automatic centering. This centering information, together with the diffraction images and XAFS profile data, are uploaded to the database.

The second mode of the beamline experiment is dedicated to automatic data collections for samples which were qualified during the evaluation mode. Judgement of crystals and preparation of experimental schedule are performed by users according to the evaluation data stored in the database. For individual samples, users determine the appropriate oscillation conditions. From XAFS profiles, the users can easily determine the peak, edge and remote wavelengths for MAD data collection. The desired schedule of the data collection is uploaded to the database and extracted at the beamline. In the data-collection mode, BSS applies the goniometer translation records, which were stored during the evaluation mode, for each crystal centering. BSS successively carries out the data collections by exchanging crystals, centering crystals, setting the wavelength, switching the detectors and taking diffraction images. In case of storage-ring problems, BSS automatically pauses for a while, and continues the measurement when the problem has been sorted out and X-rays are ready. Under the BSS administration, the beamline can be uninterruptedly operated without any attendant until all loaded samples are measured.

4. Platform, language and availability

BSS has been developed to run on the Linux operation system, and the source code is written in the language C. The GUI is coded using a GTK+ and Glade interface builder. BSS forbids the running of multiple instances in order to avoid interference between multiple users. During the execution of each experimental sequence, the BSS GUI is locked and does not accept any request of device operation.

BSS is currently customized to operate protein crystallography beamlines at SPring-8. Now, BSS has also been adopted at the Macromolecular Crystallography Beamline (BL38B1), the Pharmaceutical Industry Beamline (BL32B2) and Structural Biology Beamline I (BL41XU), in addition to the RIKEN Structural Genomics Beamlines. Furthermore, installations at some other beamlines at SPring-8 are in progress. Beamline-specific configurations such as the IP address and socket port number of the server programs, the product information of the detectors and so forth can be easily changed by editing the text-based BSS configuration file. This allows BSS to be kept compatible with these beamlines within SPring-8. The possibility of adaptation for other facilities should be consulted with the authors.

Footnotes

Present affiliation: Rigaku Corporation, Matsubara, Akishima, Tokyo, 196-8666, Japan.

Acknowledgements

We would like to thank Yukito Furukawa and other members of the Beamline Control Group of SPring-8 for providing server programs and valuable discussions during the software development. Thanks are owed to Kazuya Hasegawa at Japan Synchrotron Radiation Research Institute (JASRI) for adaptation of the software at BL38B1 and BL41XU. Valuable discussions and continuous support from Tetsuya Ishikawa and Masashi Miyano at RIKEN/SPring-8 are greatly appreciated. Finally, we thank all BL26B1 and BL26B2 users for useful suggestions, which led to software improvements.

References

First citationAbola, E., Kuhn, P., Ernest, T. & Stevens, R. C. (2000). Nature Struct. Biol. 7, 973–977.  Web of Science CrossRef PubMed CAS Google Scholar
First citationIda, K., Yamamoto, T., Kumasaka, T., Ueno, G., Kanda, H., Yokozawa, Y., Sasaki, K. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C300.  Google Scholar
First citationMcPhillips, T. M., McPhillips, M. C., Chiu, H. J., Cohen, A. E., Deacon, A. M., Ellis, P. J., Garman, E., Gonzales, A., Sauter, N. K., Phizackerley, R. P., Soltis, S. M. & Kuhn, P. (2002). J. Synchrotron Rad. 9, 401–406.  Web of Science CrossRef CAS IUCr Journals Google Scholar
First citationOhata, T., Konishi, H., Kimura, H., Furukawa, Y., Tamasaku, K., Nakatani, T., Tanabe, T., Matsumoto, N. & Ishikawa, T. (1998). J. Synchrotron Rad. 5, 590–592.  Web of Science CrossRef CAS IUCr Journals Google Scholar
First citationPohl, E., Ristau, U., Gehrmann, T., Jahn, D., Robrahn, B., Maithan, D., Dobler, H. & Hermes, C. (2004). J. Synchrotron Rad. 11, 372–377.  Web of Science CrossRef CAS IUCr Journals Google Scholar
First citationStevens, R. C., Yokoyama, S. & Wilson, I. A. (2001). Science, 294, 89–92.  Web of Science CrossRef PubMed CAS Google Scholar
First citationUeno, G., Hirose, R., Ida, K., Kumasaka, T. & Yamamoto, M. (2004). J. Appl. Cryst. 37, 867–873.  Web of Science CrossRef CAS IUCr Journals Google Scholar
First citationUeno, G., Yamamoto, M., Hirose, R., Ida, K., Kanda, H., Miyano, M., Kumasaka, T. & Ishikawa, T. (2004). AIP Conference Proceedings, Vol. 705, Eighth International Conference on Synchrotron Radiation Instrumentation, pp. 1209–1212. New York: AIP Press.  Google Scholar
First citationUeno, G., Yamamoto, M., Kumasaka, T., Ida, K., Kanda, H., Yasukawa, S., Sasaki, K. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C302.  Google Scholar
First citationYamamoto, M., Kumasaka, T., Ueno, G. Ida, K., Kanda, H. Miyano, M. & Ishikawa, T. (2002). Acta Cryst. A58 (Suppl.), C302.  Google Scholar
First citationYokoyama, S., Hirota, H., Kigawa, T., Yabuki, T., Shirouzu, M., Terada, T., Ito, Y., Matsuo, Y., Kuroda, Y., Nishimura, Y., Kyogoku, Y., Miki, K., Masui, R. & Kuramitsu, S. (2000). Nature Struct. Biol. 7, 943–945.  Web of Science CrossRef PubMed CAS Google Scholar

© International Union of Crystallography. Prior permission is not required to reproduce short quotations, tables and figures from this article, provided the original authors and source are cited. For more information, click here.

Journal logoJOURNAL OF
SYNCHROTRON
RADIATION
ISSN: 1600-5775
Follow J. Synchrotron Rad.
Sign up for e-alerts
Follow J. Synchrotron Rad. on Twitter
Follow us on facebook
Sign up for RSS feeds