Generate XDS.INP: Difference between revisions

Line 331: Line 331:


Instead of cutting-and-pasting the lines of the script, you (or the system administrator) could just cut-and-paste the following four lines
Instead of cutting-and-pasting the lines of the script, you (or the system administrator) could just cut-and-paste the following four lines
<pre>
  wget http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | \
  wget http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/"&#160;"/\ /g | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/"&#160;"/\ /g | \
   awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP
   awk '/^#/,/rm -f tmp1 tmp2/' > generate_XDS.INP
  chmod +x generate_XDS.INP
  chmod +x generate_XDS.INP
</pre>
to copy the script from this website into an executable file generate_XDS.INP in your current directory.
to copy the script from this website into an executable file generate_XDS.INP in your current directory.
2,652

edits