*** For details on how to be removed from this list visit the *** *** CCP4 home page http://www.ccp4.ac.uk ***
Another trick, addressed in a previous post (see http://www.dl.ac.uk/list-archive-public/ccp4bb/2004-04/msg00486.html), which IMHO is a much more general solution, is to remove all the nuisance text with a short Perl script (in the above post), then you can use the default free format option in f2mtz, so you are no longer a hostage to the exact spacing/line breaks in the file. The advantage of this is 1) it will read over multiple lines, and 2) you can forget all about error-prone counting of columns and Fortran formats! -- Ian > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of [EMAIL PROTECTED] > Sent: 25 January 2006 15:47 > To: [email protected] > Cc: John Bruning > Subject: Re: [ccp4bb]: CNX .cv file to CCP4 .mtz using F2MTZ(import) > > *** For details on how to be removed from this list visit the *** > *** CCP4 home page http://www.ccp4.ac.uk *** > > > If Eleanor's version doesn't work, try the trick I did when I > got fed up trying to remember how the line break works: > eliminate the line breaks! > > For example, consider the fragment of file that Eleanor provided: > > NREFlections= 7581 > ANOMalous= FALSe > DECLare NAME=IOBS DOMAin=RECIprocal TYPE=REAL END DECLare > NAME=SIGI DOMAin=RECIprocal TYPE=REAL END DECLare NAME=FOBS > DOMAin=RECIprocal TYPE=REAL END DECLare NAME=SIGMA > DOMAin=RECIprocal TYPE=REAL END > INDEx= 0 0 8 IOBS= -0.70 SIGI= 1.20 > FOBS= 0.00 SIGMA= 0.00 > INDEx= 0 0 12 IOBS= 1.50 SIGI= 1.60 > FOBS= 1.22 SIGMA= 1.22 > INDEx= 0 0 16 IOBS= -4.00 SIGI= 2.50 > > Globally replace '\n FOBS' with ' FOBS' > (I use nedit > to do this but any text editor should work, even tr) and all > your reflections should be on one line. Repeat as needed for > multi-line files - I got an entire cross-validated MAD > dataset into mtz this way. > > - Matt > > -- > Matthew Franklin phone:(917)606-4116 > Senior Scientist, ImClone Systems fax:(212)645-2054 > 180 Varick Street, 6th floor > New York, NY 10014 > > > > Confidentiality Note: This e-mail, and any attachment to it, > contains privileged and confidential information intended > only for the use of the > individual(s) or entity named on the e-mail. If the reader > of this e-mail is not the intended recipient, or the employee > or agent responsible for delivering it to the intended > recipient, you are hereby notified that reading it is > strictly prohibited. If you have received this e-mail in > error, please immediately return it to the sender and delete > it from your system. Thank you. > > > 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 [EMAIL PROTECTED] 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.
