2,684
edits
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/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/" "/\ /g | \ | sed -e s/\ \;/\ /g -e s/\>\;/\>/g -e s/\<\;/\</g -e s/amp\;//g -e s/\"\;/\"/g -e s/" "/\ /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. |