Generate XDS.INP: Difference between revisions

Jump to navigation Jump to search
m
(→‎The script: removed check for distance=0 because bash only does integers)
Line 1,317: Line 1,317:
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>
<pre>
  wget http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP -O - | \
  wget http://wiki.uni-konstanz.de/xds/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/\&\#\1\6\0\;/\ /g | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP
   sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP
Line 1,324: Line 1,324:
to copy the script from this website into an executable file generate_XDS.INP in your current directory. On a Mac (which does not seem to have wget), one could try
to copy the script from this website into an executable file generate_XDS.INP in your current directory. On a Mac (which does not seem to have wget), one could try
<pre>
<pre>
  curl -L -o - http://strucbio.biologie.uni-konstanz.de/xdswiki/index.php/generate_XDS.INP | \
  curl -L -o - http://wiki.uni-konstanz.de/xds/index.php/generate_XDS.INP | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -e s/\&nbsp\;/\ /g -e s/\&gt\;/\>/g -e s/\&lt\;/\</g -e s/amp\;//g -e s/\&quot\;/\"/g -e s/\&\#\1\6\0\;/\ /g | \
   sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP
   sed -ne '/<pre>#/,/<\/pre>/p' tmp3 | sed 's/<\/\?pre>//' > generate_XDS.INP
2,684

edits

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

Navigation menu