Quick navigation: Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |    Advert   |   
 

Re: [ccp4bb] odd behaviour of reindex

- Protein crystallography

Main steps:

   - Protein purification
   - Crystallisation

Special:

   - Programs for crystallography
   - X-ray detectors

Basic tutorials:

   - Chemistry
   - Protein
   - Peptide
   - Amino Acids

Xtal community:

   - CCP4BB

CCP4bb navigation

CCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999
Previous message:
Subject: Re: odd behaviour of reindex
From: Eleanor Dodson ccp4 {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2012-01-31
Next message:
Subject: Re: Error running pointless/aimless in OSX 10.7
From: Jose Trincao jose {- dot -} trincao {- at -} RC-HARWELL {- dot -} AC {- dot -} UK
Date: 2012-01-31


Subject: Re: odd behaviour of reindex
From: Ian Tickle ianjt05 {- at -} GMAIL {- dot -} COM
Date: 2012-01-31

On 31 January 2012 02:30, Jens Kaiser wrote:
> Hi all,
>  we encountered an odd behaviour of REINDEX.
>
> Snip form logfile:
>
>  Data line--- reindex HKL (h+l)/2, -k, (h-l)/2
>  Data line--- end
>
>  Reflections will be reindexed, and unit cell recalculated
>
>  Reindexing transformation:
>       (h' k' l') =  ( h  k  l ) (  1.00000  0.00000  1.00000 )
>                                 (  0.00000 -1.00000  0.00000 )
>                                 (  0.50000  0.00000 -0.50000 )
>
> Obviously, the first line of the matrix is not what we intended to
> create.
>
> inputting the transformation as HKL h/2+l/2, -k, h/2-l/2
> produces the desired result:
>
>  Data line--- reindex HKL h/2+l/2, -k, h/2-l/2
>  Data line--- end
>
>  Reflections will be reindexed, and unit cell recalculated
>
>  Reindexing transformation:
>       (h' k' l') =  ( h  k  l ) (  0.50000  0.00000  0.50000 )
>                                 (  0.00000 -1.00000  0.00000 )
>                                 (  0.50000  0.00000 -0.50000 )
>
>
>
> Admittedly, the documentation does not use any brackets in the examples,
> but i would expect REINDEX either to throw an error or treat (h+l)/2
> like (h-l)/2 but not treat them in the way encountered.

Jens

Reindex is not treating (h+l)/2 any differently from (h-l)/2, they are
being treated identically, i.e. it is simply ignoring the brackets in
both cases (which is why expanding the expressions without brackets
works)..

So (h+l)/2 is being treated as though you had specified h+l/2 and
(h-l)/2 becomes h-l/2.

Don't forget that the rule for matrix multiplication is row-by-column,
not row-by-row!

Cheers

-- Ian




ProteinCrystallography.org: Copyright 2006-2010 by Quid United Ltd