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  March 2007

CCP4BB March 2007

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: MTZ to Shel-X?

From:

Ethan Merritt <[log in to unmask]>

Reply-To:

Ethan Merritt <[log in to unmask]>

Date:

Thu, 1 Mar 2007 10:58:21 -0800

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (179 lines)

On Thursday 01 March 2007 10:17, Ian Tickle wrote:
> 
> All, I thought this would be a simple task, but for the life of me I
> can't see how to do it!  All I want to do is convert an MTZ file to
> Shel-X format for refinement.  I thought it would take me 2 secs, but
> it's taken me at least 5 attempts, and it's still not right!

Do the conversion on the shelx side, rather than the CCP4 side.

http://shelx.uni-ac.gwdg.de/~tg/mtz2sca/mtz2sca.html



> 
> 
> First I tried mtz2various with this command line:
> 
> echo 'labi FP=F SIGFP=SIGF FREE=FreeR_flag\noutp shelx' | mtz2various
> hklin 16294 hklout 16294.hkl
> 
> with 'HKLF 3' in my .ins file.  This works fine, but then shelxl
> complains with:
> 
>   11112222333344444444555555556666
>  >> -48   0  27   37.49   19.74  -1<< ??
> 
>  ** REFLECTION      30  HAS WRONG FORMAT **
> 
> 
> OK fair enough I should have read the Shel-X manual first, because it
> appears that 'HKLF 3' doesn't accept free R flags, it has to be 'HKLF 4'
> (i.e. I's not F's).  So when all else fails read the mtz2various
> documentation (at least read it more thoroughly):
> 
> * If  only FP SIGFP or IP SIGIP are assigned on LABIN, then h k l FP
> SIGFP or h k l IP SIGIP is output.
>  
> 
> Great, precisely what I want!  So for my second try let's go with:
> 
> echo 'labi IP=IMEAN SIGIP=SIGIMEAN FREE=FreeR_flag\noutp shelx' |
> mtz2various hklin 16294 hklout 16294.hkl
> 
> but no:
> 
>  Data line--- labi IP=IMEAN SIGIP=SIGIMEAN FREE=FreeR_flag
> MtzParseLabin: neither label recognised: IP IMEAN
>  MTZ2VARIOUS:  Error in label assignments in LABIN
> 
> Yet the output also says:
> 
>  LABIN <program label>=<file label> ...
>  Valid program labels are: FP, SIGFP
>  and optionally FPH, SIGFPH, IP, SIGIP, FC, PHIC, W, FPART, PHIPART,
> PHIB, FOM, HLA HLB HLC HLD FREE
> 
> 
> My first thought was "I've got the IMEAN/SIGIMEAN label wrong", but no,
> mtzdump says:
> 
>  Col Sort    Min    Max    Num      %     Mean     Mean   Resolution
> Type Column
>  num order               Missing complete          abs.   Low    High
> label
> 
>    1 ASC    -49      43      0  100.00     -8.7     18.6  48.75   1.33
> H  H
>    2 NONE     0      32      0  100.00     12.0     12.0  48.75   1.33
> H  K
>    3 NONE     0      41      0  100.00     15.7     15.7  48.75   1.33
> H  L
>    4 NONE    4.2   854.8   314   99.01    82.26    82.26  34.92   1.33
> F  F
>    5 NONE    0.7   241.2   314   99.01     3.38     3.38  34.92   1.33
> Q  SIGF
>    6 NONE  -58.6  8600.6   314   99.01   146.23   146.25  34.92   1.33
> J  IMEAN
>    7 NONE    0.5  5370.6   314   99.01     5.88     5.88  34.92   1.33
> Q  SIGIMEAN
>    8 NONE    0.0    19.0     0  100.00     9.48     9.48  48.75   1.33
> I  FreeR_flag
> 
> 
> Then I look further down in mtz2various.doc:
> 
>    Input labels accepted are:
> 
>    H, K, L Indices
>    FP, SIGFP F and Sigma for native
>    FPH, SIGFPH F and Sigma for derivative
>    FC, PHIC F and Phase from model
>    FPART, PHIPART F and Phase from partial structure
>    DP, SIGDP Anomalous difference and Sigma
>    I, SIGI I and Sigma
>  
> 
> So OK, fair enough IP, SIGIP was a typo (happens all the time in CCP4
> documentation!), so problem solved, for my third go let's try:
> 
> echo 'labi I=IMEAN SIGI=SIGIMEAN FREE=FreeR_flag\noutp shelx' |
> mtz2various hklin 16294 hklout 16294.hkl
> 
> Yes it worked!!! or did it???  I see that the output file has "HKLF 3"
> in the header, and when I read the log file I see: ****NB Amplitude
> Output , flagged with HKLF 3 ***.  No good, Shel-X won't take free R
> flags with HKLF 3 - and I thought mtz2various.doc said that if I/SIGI
> are assigned then I/SIGI are output? (which would make a lot of sense!).
> 
> Then I read in mtz2various.doc:
> 
>   FSQUARED
> 
>    If  this flag is set, the program expects F and SIGF and will output
> I
>    and  SIGI: I = F*F, SIGI = 2*SIGF*F + SIGF*SIGF. These intensities
> are
>    not  necessarily  the same as the measured intensities
> (pre-TRUNCATE);
>    it is better to use the measured values if you have them.
> 
> I completely agree with the last sentence! - but how to make it read I's
> and write I's?
> 
> 
> So in desperation to get something working, my fourth go is with:
> 
> echo 'labi FP=F SIGFP=SIGF FREE=FreeR_flag\nfsqu\noutp shelx' |
> mtz2various hklin 16294 hklout 16294.hkl
> 
> This works: a file in HKLF 4 format containing apparently I & SIGI is
> produced, but again Shel-X complains:
> 
>   11112222333344444444555555556666
>  >> -48   0  27   37.49   19.74  -1<< ??
> 
>  ** REFLECTION      30  HAS WRONG FORMAT **
> 
> Aaaargh - back to step 1!
> 
> 
> So next I seek advice from a Shel-X user who says they've never seen the
> "FREE" text at the end of the test reflection lines, e.g.:
> 
>  -48   0  27  114.07  151.73  -1  FREE
> 
> and I say something along the lines of "don't be silly there's no way
> the program would write it out like that if Shel-X didn't accept it" -
> and just to prove to them how dumb their suggestion is I do a global
> edit of the file, and of course it turns out they're quite right, and
> technically it works - except of course that I is not the same as F^2 if
> F has come from truncate (good thing I read the documentation!).
> 
> I see that mtz2various.doc says "You may still have trouble getting
> exactly the output you want.".  Maybe that's the answer I've been
> seeking! - or I've missed something very obvious.  I could of course
> have knocked up a jiffy Fortran program in 5 mins to read h, k ,l, I,
> SIGI, Rflag in one format and write out h, k, l, I, SIGI, Rflag in
> another format (and I'll probably end up doing just that!), but pity
> those users who are not programmers!
> 
> So what have I missed - any ideas?
> 
> -- Ian
> 
> Disclaimer
> 
> This communication is confidential and may contain privileged information intended solely for the named addressee(s). It may not be used or disclosed except for the purpose for which it has been sent. If you are not the intended recipient you must not review, use, disclose, copy, distribute or take any action in reliance upon it. If you have received this communication in error, please notify Astex Therapeutics Ltd by emailing [log in to unmask] and destroy all copies of the message and any attached documents. 
> 
> 
> 
> Astex Therapeutics Ltd monitors, controls and protects all its messaging traffic in compliance with its corporate email policy. The Company accepts no liability or responsibility for any onward transmission or use of emails and attachments having left the Astex Therapeutics domain.  Unless expressly stated, opinions in this message are those of the individual sender and not of Astex Therapeutics Ltd. The recipient should check this email and any attachments for the presence of computer viruses. Astex Therapeutics Ltd accepts no liability for damage caused by any virus transmitted by this email. E-mail is susceptible to data corruption, interception, unauthorized amendment, and tampering, Astex Therapeutics Ltd only send and receive e-mails on the basis that the Company is not liable for any such alteration or any consequences thereof.
> 

-- 
Ethan A Merritt            Courier Deliveries: 1959 NE Pacific
Dept of Biochemistry
Health Sciences Building
University of Washington - Seattle WA 98195-7742

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