Tips and Tricks: Difference between revisions

Jump to navigation Jump to search
how to use awk to pick body-centered reflections
(how to use awk to pick body-centered reflections)
Line 65: Line 65:
  echo " JOB= IDXREF INTEGRATE CORRECT" >> XDS.INP
  echo " JOB= IDXREF INTEGRATE CORRECT" >> XDS.INP
  xds_par
  xds_par
== pick the h+k+l=2n reflections from a primitive dataset ==
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
echo "!END_OF_DATA" >> x
and now use e.g.
phenix.xtriage x
to analyze x in terms of body-centered statistics.
2,684

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu