2,684
edits
(how to use awk to pick body-centered reflections) |
(→pick the h+k+l=2n reflections from a primitive dataset: fix echo command) |
||
Line 69: | Line 69: | ||
grep \! XDS_ASCII.HKL | grep -v "END_OF_DATA" > x | grep \! XDS_ASCII.HKL | grep -v "END_OF_DATA" > x | ||
grep -v \! XDS_ASCII.HKL | awk '{if ( ($1+$2+$3)%2==0 ) print $0}' >>x | grep -v \! XDS_ASCII.HKL | awk '{if ( ($1+$2+$3)%2==0 ) print $0}' >>x | ||
echo | echo \!END_OF_DATA >> x | ||
and now use e.g. | and now use e.g. | ||
phenix.xtriage x | phenix.xtriage x | ||
to analyze x in terms of body-centered statistics. | to analyze x in terms of body-centered statistics. |