| Quick navigation: | Home | Site Map || References | Biography || Copyright | Other copyright | Contact us | Advert | | |||
Re: [ccp4bb] obtaining a difference of two columns in a mtz file |
||||
- Protein crystallographyMain steps:- Protein purification- Crystallisation Special:- Programs for crystallography- X-ray detectors Basic tutorials:- Chemistry- Protein - Peptide - Amino Acids Xtal community:- CCP4BB |
CCP4bb navigationCCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999Subject: Re: obtaining a difference of two columns in a mtz file From: Eleanor Dodson ccp4 {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK Date: 2009-07-14 Arnon Lavie wrote: > Hi - I would like to calculate the difference of two columns in a mtz > file - specifically of the native and heavy atom structure factor > columns. The difference should be in a new column. What is the easiest > way of doing this? > > Arnon > > sftools will do this. Here is a script to calculate something different but a similar idea. #!/bin/csh -f # Run sftools to calculat I and SIGI from F and SIGF, and append results # Scale both by 0.001 # # # mtzdmp /y/people/ccp4/cadd/hipip.mtz # P21 # H K L FP SIGFP DANO SIGDANO sftools < CALC J COL ITOXD3 = 0.001 COL FTOXD3 * COL FTOXD3 * CALC Q COL SIGITOXD3 = 0.002 COL FTOXD3 * COL SIGFTOXD3 * WRITE toxd+I.mtz END eof CCP4bb navigationCCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999 |
|||
| ProteinCrystallography.org: Copyright 2006-2010 by Quid United Ltd |