[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ccp4bb]: re-arranging column order?
*** For details on how to be removed from this list visit the ***
*** CCP4 home page http://www.ccp4.ac.uk ***
JP Cartailler wrote:
>
> *** For details on how to be removed from this list visit the ***
> *** CCP4 home page http://www.ccp4.ac.uk ***
>
> awk is perfect for that:
>
> i.e. say you have:
>
> Col1 Col2 Col3
> H K L
>
> at the shell prompt:
>
> awk '{print $3 $2 $1}' < HKL.in
>
> would print
>
> L K H
>
> for additional formating, see 'man awk'
>
> best,
>
> jp
>
Aaaggh - as I said - indices are special - many many programs assume
that the order H K L is consistent with the cell given, and the hand of
anomalous differences.. Fiddle with them at your own risk!!!!!
Eleanor