[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ccp4bb]: FreeRflag in mtz2various



***  For details on how to be removed from this list visit the  ***
***          CCP4 home page http://www.ccp4.ac.uk         ***

Dear all,

Thank you for replying, here is the easiest way (in my opinion) to solve this
problem by Markus Rudolph and others:

> the CCP4 experts will probably have answered your questions already, but
> for the CNS refinement, I would leave your .cv file as is and tell CNS
> what your Rfree flag is:
>
> {===>} test_flag=0;

If, on the other hand, you wish to change all TEST=0 to TEST=1 and viceversa,
you can try the following script:

awk '{if($NF=="0"){print substr($0,1,74),"1"}else{if($NF=="1"){print
substr($0,1,74),"0"}else{print$0}}}' file.cv > file.cv_free_swaped

Thank you again, joao.