• Diamond Home page
  • About
  • For Users
  • Public
  • Industry
  • Instruments
  • Careers
  • More Show more menu items
Search

About

  • About Diamond
  • About Synchrotrons
  • News and Features
  • Events
  • Contact Us
  • FAQ

For Users

  • Apply for beamtime
  • User guide
  • Diamond Users Commitee
  • FAQ
  • User Administration System
  • iSpyB

Industry

  • Techniques Available
  • Industry Research
  • Industry Case Studies
  • News
  • Meet the Industry Team

Science

  • Research
  • Computing
  • The Machine
  • Publications
  • Research Expertise
  • Membrane Protein Laboratory
  • Additional Facilities
  • Publications Database

Instruments

  • Biological Cryo-Imaging
  • Crystallography
  • Imaging and Microscopy
  • Macromolecular Crystallography
  • Magnetic Materials
  • Soft Condensed Matter
  • Spectroscopy
  • Structures and Surfaces

Diamond-II

  • Science
  • Machine
  • Beamlines
  • Software, Control and Computing
  • Infrastructure

Public

  • Public open days
  • School visits
  • Partner with Diamond
  • Explore Diamond

Procurement

  • Non-OJEU Tender Notices
  • OJEU PINs
  • OJEU Tender Notices
  • Registration Form

Careers

  • Vacancies
  • Info for applicants
  • Company Benefits
  • Apprenticeships
  • PhD Studentships
  • Work Placement

Main Content

Crystallography
Sub-navigation
  • Crystallography
  • I11
  • I15
  • I15-1
  • I19

In This Section

Sub Navigation
  • Facility and Equipment Availability
  • Rapid Access
  • Beamline Layout
  • Support Facilities
  • Science Highlights and News
  • User Publications
  • Manuals
    • Remote Connection
    • EH1
      • Before Beamtime
      • Preparation for Beamtime
      • Using the Robot
      • Data Collection
      • After Beamtime
      • ISPyB
      • Reprocessing
        • XIA2
          • ISPyB
          • Command Line
        • CrysAlisPro
  • Staff

Instruments by Science Group

Macromolecular
Crystallography
Soft Condensed
Matter
Imaging and
Microscopy
Biological
Cryo-Imaging
Magnetic
Materials
Structures and
Surfaces
Crystallography
Spectroscopy

I19 Contact

Beamline Phone Number:
+44 (0) 1235 778418

Principal Beamline Scientist: 
Dave Allan

Tel: +44 (0) 1235 778644
E-mail: [email protected]

More

Science Group Leader

Philip Chater

Email: [email protected]
Tel: +44 (0)1235 778677

I19 Small Molecule Single Crystal Diffraction

Status: Operational

Wavelength: 0.5 - 2.5 Å
Energy: 5 - 25 keV

Small Molecule Diffraction High Pressure Gas Environments X-ray Single Crystal Diffraction Humidity Control In situ Remote Access
  1. Instruments
  2. Crystallography
  3. I19
  4. Manuals
  5. EH1
  6. Reprocessing
  7. XIA2
  8. Command Line

Command Line

For more information about running DIALS, check the website: DIALS: Diffraction Integration for Advanced Light Sources — DIALS documentationl

Reprocessing jobs using xia2 / DIALS can be submitted directly using the command line.

The first step is to navigate to the processing directory within the visit folder as this is the only place with write access.

Open a terminal window and, if not already done, type module load i19 and press enter.

This should direct you to your current visit directory, e.g.: /dls/i19-1/data/2024/cm37266-1 as well as enable DIALS to work.

Now type: cd processing

Create a suitably named directory for the processing files to be written in, e.g.: mkdir SampleA

And then enter the directory: cd SampleA

Use of DIALS to run processing step-by-step is not covered here, but there is an example of how to do it here: Small-molecule data reduction tutorial — DIALS documentation

Useful things to know:

The up arrow
     Press this once to redo the command above
     Repeated pressing will scroll through previous commands (to save quite a lot of tedious typing)

TAB key
     If enough information is already included, TAB will autocomplete instructions (saving tedious typing)
     Double TAB will give the options available from whatever is input

Copy and Paste must be done via the right mouse button

Everything is case sensitive

xia2

The easiest way to invoke a DIALS processing job is to run xia2, as all of the steps are run sequentially automatically.

The basic xia2 command is:
xia2 small_moleule=true /dls/i19-1/data/2024/cm37266-1/SampleA

where:
xia2 – runs a xia2 processing job
small_moleule=true – tells DIALS to run a small molecule processing job, which means things like cell errors are calculated
/dls/i19-1/data/2024/cm37266-1/SampleA – path to where the images are stored.

Various additional instructions can now be added to this command – see the table below for some of the most common ones:

Action

xia2 Instruction

Include space group and unit cell (both must be used together)

space_group=

unit_cell=“a b c α β γ”

OR

unit_cell=a,b,c,α,β,γ

Maximum resolution cutoff

d_min=

Choose a different indexing method

index.method=

index.method=real_space_grid_search (normally the most robust method)

Set a threshold so only the strongest reflections are used for indexing

sigma_strong=

(default value is 3)

absorption correction

absorption_level=

choose from low/medium/high as most appropriate

Select which images should be included, for example to omit images which look to have radiation damage

image=path/to/images/image_XX_00001.cbf:first:last

OR

copy over an automatic.info file produced for the same dataset and edit the images required in this file - save as edit.info

include xinfo=edit.xinfo

Can help integration complete

scan_varying=false

If beam centre refinement is unstable trust_beam_centre=True

Will make the job complete even if the processing doesn’t work for all sweeps

failover=true

 

So, an example command may look like:
xia2 small_moleule=true sigma_strong=15 index.method=real_space_grid_search space_group=P21 unit_cell=“7.72 8.68 10.82 90 103 90” /dls/i19-1/data/2024/cm37266-1/SampleA

shelxt

Manually running xia2 processing does not include the structure solution step.

You can now export the shelxt.ins and shelxt.hkl files for structure soloution or, if desired, shelxt can be run on the xia2 output files here.

Navigate to where the files are: cd DataFiles
To run shelxt, type: shelxt shelxt

It is possible to include the correct (expected) atom types by editing the atom types listed in the shelxt.ins file using gedit shelxt.ins

Files

The manual xia2 processing results are not incorporated into ISPyB so must be viewed (use gedit to open files from the terminal) within the file system – useful files can be found in the following locations.

Main folder:
     xia2.txt
     xia2.html

DataFiles subdirectory:
     Shelxt.ins and shelxt.hkl, plus any output files from running shelxt
     Xia2.cif

LogFiles subdirectory:
     AUTOMATIC_DEFAULT_NATIVE_merging-statistics.txt

The file structure is slightly different for data reprocessed manually using the command line - the files from spot finding and indexing are located within DEFAULT\NATIVE\SWEEP1\index.

Radiation Damage

If you are concerned about radiation damage and want to check for evidence, there is a damage analysis tool.  From the directory xia2 was started from type:
dials.damage_analysis DataFiles/AUTOMATIC_DEFAULT_scaled.{expt,refl}
     (shortcut type: dials.dam TAB)

Then open the resulting file by typing:
firefox dials.damage_analysis.html &

Look at the Rcp vs dose plot to check where the line veers off and then use this as a guide as to where to cut the data for the next reprocessing job.

Viewing Data

It is possible to use pairs of .expt and .refl files in the dials reciprocal space viewer and image viewer in the same way as for the auto processed results.

  • Contact Us
  • About Diamond Light Source
  • Procurement
  • Supply Chain Transparency
  • Cookie Policy
  • Website Terms of Use
  • Privacy Notice

Diamond Light Source

Diamond Light Source is the UK's national synchrotron science facility, located at the Harwell Science and Innovation Campus in Oxfordshire.

Follow us on Facebook Follow us on Linkedin Follow us on Instagram Follow us on Bluesky

Diamond Light Source Ltd
Diamond House
Harwell Science & Innovation Campus
Didcot
Oxfordshire
OX11 0DE

See on Google Maps

Copyright © Diamond Light Source. Diamond Light Source® and the Diamond logo are registered trademarks of Diamond Light Source Ltd

Registered in England and Wales at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom. Company number: 4375679. VAT number: 287 461 957. Economic Operators Registration and Identification (EORI) number: GB287461957003.

feedback