Monday, 16 December 2013

Interactive control of indexing images with XDS processing


Now incoming in a nightly build...

[gw56@ws133 interactive]$ xia2 -3dii -interactive -image /data1/gw56/i04-bag-training/th_8_2_0001.cbf
Environment configuration...
XIA2_ROOT => /home/gw56/svn/xia2.trunk
XIA2CORE_ROOT => /home/gw56/svn/xia2.trunk/core
CCP4 => /dls_sw/apps/ccp4/x86_64/6.4.0/6nov2013/ccp4-6.4.0
CLIBD => /dls_sw/apps/ccp4/x86_64/6.4.0/6nov2013/ccp4-6.4.0/lib/data
CCP4_SCR => /tmp/tmpOOG0z9
Working directory: /tmp/interactive
Free space:        15.02 GB
Host: ws133
Build: 4468
Contact: xia2.support@gmail.com
XIA2 0.3.6.3
Command line: xia2 -3dii -interactive -image /data1/gw56/i04-bag-training/th_8_2_0001.cbf
Existing images for indexing th_8_2_0###.cbf: 1-540
>1-100, 441-540
New images for indexing: 1-100, 441-540

Essentially allows you to assign which images to use for XDS indexing for the case where you have a "good bit" you want to use.


Tuesday, 3 December 2013

Move to git?

In the spirit of not breaking xia2 for users while wanting to make some substantial changes, have been thinking of moving from subversion to git: this would affect you if you like the most bleeding edge xia2 versions and pull xia2 from svn.

So: has anyone an opinion on this?

Monday, 25 November 2013

Incoming: parameters to control xds integration / spot profile

Adding more Phil parameters this morning to control reflecting range, beam divergence etc. however these are not for common use: only when the automatic determination of parameters has failed are these useful.

Please see XDS documentation for details:

http://xds.mpimf-heidelberg.mpg.de/html_doc/xds_parameters.html#REFLECTING_RANGE=

In build 4480 & later having phil file containing

xds.integrate.delphi = 10.0
xds.integrate.reflecting_range = 0.31
xds.integrate.reflecting_range_esd = 0.045
xds.integrate.beam_divergence = 0.25
xds.integrate.beam_divergence_esd = 0.025

will allow you to control these via -phil file.phil

Thursday, 21 November 2013

Controlling XDS Refinement in Integration with Phil

By default in xia2 the REFINE= for integration refines ORIENTATION and CELL - however if you want to override this you can do so by using Phil parameters. Create a file

whatever.phil

containing

xds.integrate.refine=CELL
xds.integrate.refine_final=CELL

for example - and run with -phil whatever.phil. The former is the first pass, the second the pass when a refined orientation is used in case you want these to be different. You can select from ORIENTATION CELL BEAM DISTANCE AXIS - best to look at the XDS documentation if you want to change these.

In general you don't need to do this but some people would like the choice...

Thursday, 7 November 2013

Very big but not functional commit coming

Warning to anyone who uses xia2 from subversion - forthcoming commit will be very large as I change the indentation from 4 spaces to 2 spaces, to make the code more consistent with the cctbx way of things. I have run a bunch of tests and manually inspected at least 1000 lines of the changes to make sure that they are sensible (and they appear to be) but if you have any local modifications in your code you may / will find updating via svn causes conflicts.

Any problems please contact me at the usual address xia2.support@gmail.com

Wednesday, 6 November 2013

xia2 broken with very latest cctbx

If you have a cctbx about 3 days old or younger you will have found errors like

Traceback (most recent call last):
  File "/Users/graeme/svn/xia2/Wrappers/XIA/Diffdump.py", line 648, in readheader
    self._header = failover_dxtbx(self._image)
  File "/Users/graeme/svn/xia2/Wrappers/XIA/Diffdump.py", line 471, in failover_dxtbx
    fast, slow = map(int, d.get_image_size())
AttributeError: 'Detector' object has no attribute 'get_image_size'

This relates to recent changes in cctbx; a fix for xia2 will follow later today.

Update: fix was sent to svn yesterday morning, so nightly build from last night should be fine if you hit this problem... however any problems please contact xia2.support@gmail.com as usual.

Monday, 14 October 2013

0.3.6.3 quick release

Enough things are broken by the new CCP4 to make a new version worthwhile:

Changes since 0.3.6.2: Cope with new CCP4.
  • Mend xia2 working on Windows.
  • Cope with new version of CTRUNCATE in CCP4 6.4.0.
  • xia2ccp4i added - thanks to David Waterman.
  • Improved handling of nasty image names.
  • Mend -reversephi functionality.
  • Take spacegroup from reference reflection file correctly.
In the usual place(s)