JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for CCP4BB Archives


CCP4BB Archives

CCP4BB Archives


CCP4BB@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

CCP4BB Home

CCP4BB Home

CCP4BB  April 2018

CCP4BB April 2018

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: Calculating sigma value

From:

Dale Tronrud <[log in to unmask]>

Reply-To:

Dale Tronrud <[log in to unmask]>

Date:

Thu, 19 Apr 2018 09:36:29 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (209 lines)

   The meaning of the term "e/A^3" as used in Coot has nothing to do
with the charge of an electron.  The intention of its authors is to
indicate that the value being represented by the map is the density of
electrons.  It is the number of electrons per cubic Anstrom at that
point in space.

   I, generally, find it useless to say that a number is a density
(units of "per volume") without saying density of what.  This is not a
density of charge, not a density of mass, not a density of rabbits.  It
is a density of electrons.

   Now the calculations are pretty simple.  When the refinement program
produces a model one of its parameters is a scale factor which relates
the relative values of the observed intensity to those calculated from
the model.  This scale factor, which is usually not written out in an
obvious place since its value is not very interesting, is just a simple
number, not a function of resolution or anything like that.  It's value
is also sensitive to a number of assumptions (like you are modeling
everything in your unit cell) so it is not particularly reliable.  This
means you shouldn't take the density values of your map terribly
seriously.  The differences in density from place to place is much more
reliable.

   This has led to the practice of converting the density values to
normalized values.  Here you calculate the rms value of the points in
the map and divide all the density points by that number.  "rms" is
simply what is says "Root of the Mean of the Squares".  Again this is
just a number, nothing fancy.

   The only trick is deciding what region of space to sum.  The crystal
is composed of regions which are occupied by ordered molecules (One
hopes this includs the molecule you are interested in!) and regions of
bulk solvent.  You could reasonably conclude that the rms's of these
regions should be considered different properties of the map.  I'm not
aware of any software that actually tries to calculate an rms for just
the region of the map that contains ordered structure.

   What was done in the past was to simply calculate the sum over the
region of the map presented to the program, and this was usually a
rectangular box inscribed over the molecule.  The corners of that box
would cover some amount of bulk solvent (and symmetry related molecules)
which depends on a lot of factors which shouldn't be affecting your
choice of contour levels.  This method is inconsistent and causes confusion.

   The conventional method today is to calculate the rms by summing
over the entire asymmetric unit.  This, at least, creates consistency,
and can be calculated from the Fourier coefficients making it an easy
number to come up with.  Many programs now use this method, including
Coot (As I understand).  It does have the drawback that a crystal with a
large amount of solvent will have a lower rms than one that is very dry,
even if the variation within the ordered structure is the same.  You
need to be aware of this when interpreting maps whose contours are based
on the rms.  Showing the contour level both as rms and electrons/A^3 is
an attempt to provide a fuller description.

   Ian is certainly right -- the rms of a function is not a "sigma".
This confusion is a problem that is endemic in our field!  "sigma" is
shorthand for standard deviation which is a measure of the uncertainty
in our knowledge about a value.   The rms is not a measure in any way of
uncertainty -- It is simply a description of how variable the values of
the function are.  James Holton has written a very nice paper on this
topic, but I don't have the reference on hand.

   The excuse for this confabulation is that people believe, in a Fo-Fc
style map, most of the values should represent factors other than errors
in the structural model and therefore one can estimate the uncertainty
of the map by calculating the rms over the map.  This assumption is
highly questionable and unreliable.  The major problem then arises when
the same logic is extrapolated to a 2Fo-Fc style map.  In these maps the
variability in the ordered region of the crystal is all "signal" so
calculating an rms really has nothing to do with uncertainty.

   Describing your contours or peaks in an Fo-Fc style map by rms can
sort-of, kind-of, be justified, but it makes no sense for a 2Fo-Fc style
map.  If I want to be really serious about deciding if a peak in a map
may be missing atoms, I will leave some known atoms out of the model and
see how the heights of their difference peaks compare to the heights of
the mysterious peaks.  This method is fairly insensitive to the
systematic problems that affect both rms and electrons/A^2.

Dale Tronrud

On 4/19/2018 8:30 AM, Ian Tickle wrote:
> 
> Hi Mohamed
> 
> The RMSD of the electron density (or difference density) is calculated
> by the FFT program using the standard equation that I referenced.  I
> would guess that what you see in Coot is copied either from the map
> header or the FFT log file.
> 
> I'm not clear what you mean when you refer to 'the e/A^3'.  The RMSD (as
> does the electron density from which it's calculated) consists of a pure
> number and a unit of measure, e.g. '1.234 A^-3' (why it's not '1.234
> eA^-3' we won't go into here: suffice it to say that 'e' is a unit of
> charge and 'electron density' is not the same as 'charge density', while
> an electron, or 'e-',  is not a unit of measure at all, it's a
> sub-atomic particle: see Wikipedia/Non-SI_units_mentioned_in_the_SI and
> Wikipedia/electron).  The relation between 'RMSD' and 'A^-3' is simply
> that the latter is the unit of the former, exactly analogous to the
> relation between 'distance' and 'metre'.
> 
> Yes '3 sigma' in this context is not correct: it's '3 RMSD', and indeed
> COOT itself uses the latter terminology (which you see any time you
> change the contour level), so I'm not clear where you got that from. 
> The uncertainty ('sigma') of the density does have a value, though this
> is not estimated by any of the standard programs AFAIK.  However one
> thing is certain: it's unlikely to equal the RMSD!
> 
> Cheers
> 
> -- Ian
> 
> 
> On 19 April 2018 at 15:25, Mohamed Ibrahim <[log in to unmask]
> <mailto:[log in to unmask]>> wrote:
> 
>     Hi Ian, 
> 
>     Thanks a lot for your answers. They are very informative. I am
>     afraid that I was looking in the wrong direction to figure out what
>     I seek. So, I am reforming my question; I am trying to figure out
>     whether the relation between the RMSD and the e/A^3 is linear or
>     not. Therefore, I was looking for how does COOT calculate the RMSD,
>     hoping to find the relation between RMSD and e/A^3. If you could
>     refer to me a reference that is related to this, it will be great.
>     One more question, you mentioned that " it shouldn't be called sigma
>     because it's not an uncertainty ", so when we say, for example, this
>     map is contoured at 3 sigma, this is a wrong statement? 
> 
>     Cheers,
> 
>     On Thu, Apr 19, 2018 at 2:57 PM, Ian Tickle <[log in to unmask]
>     <mailto:[log in to unmask]>> wrote:
> 
> 
>         Hi, first maps are produced by Refmac, not Coot, and second it
>         shouldn't be called sigma because it's not an uncertainty, it's
>         a root-mean-square deviation from the mean.  The equation for
>         the RMSD can be found in any basic text on statistics, e.g. just
>         type 'RMSD' in Wikipedia.
> 
>         Cheers
> 
>         -- Ian
> 
> 
>         On 19 April 2018 at 13:20, Mohamed Ibrahim
>         <[log in to unmask]
>         <mailto:[log in to unmask]>> wrote:
> 
>             Dear COOT users,
> 
>             Do you know how to extract the equations that COOT uses for
>             generating the maps and calculating the sigma values? 
> 
>             Best regards, 
>             Mohamed 
> 
>             -- 
>             ​
>             -- 
>             /*
>             ​
>             ----------------------------------*/
>             /*Mohamed Ibrahim          
>                
>              *//* *//*                
>                
>              */
>             /*Humboldt University     
>                
>                */
>             /*Berlin, Germany               
>              
>               
>             */
>             /*Tel: +49 30 209347931 
>              
>             */
> 
> 
> 
> 
> 
>     -- 
>     ​
>     -- 
>     /*
>     ​
>     ----------------------------------*/
>     /*Mohamed Ibrahim          
>        
>      *//* *//*                
>        
>      */
>     /*Humboldt University     
>        
>        */
>     /*Berlin, Germany               
>      
>       
>     */
>     /*Tel: +49 30 209347931 
>      
>     */
> 
> 

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

April 2024
March 2024
February 2024
January 2024
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager