Generate XDS.INP: Difference between revisions

improve
No edit summary
(improve)
Line 12: Line 12:


Instead of cut-and-paste, you could try
Instead of cut-and-paste, you could try
  wget -q http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | awk '/bash/,/rm -f tmp1 tmp2/' | \
  wget http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | awk '/^#/,/rm -f tmp1 tmp2/' | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g | tail -n +2 > generate_XDS.INP
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g > generate_XDS.INP
to obtain generate_XDS.INP in your current directory.
to copy the script from this website into the file generate_XDS.INP in your current directory.


This is the script:
This is the script:
2,652

edits