2,684
edits
Line 38: | Line 38: | ||
Note: another program to work with those multi-record MTZ files is [http://www.ccp4.ac.uk/dist/html/reindex.html REINDEX]. | Note: another program to work with those multi-record MTZ files is [http://www.ccp4.ac.uk/dist/html/reindex.html REINDEX]. | ||
== Using | == Using truncate == | ||
An example script (contributed by Clemens Vonrhein) to convert XDS_ASCII.HKL into a [http://www.ccp4.ac.uk CCP4] multi-record MTZ file is: | An example script (contributed by Clemens Vonrhein) to convert XDS_ASCII.HKL into a [http://www.ccp4.ac.uk CCP4] multi-record MTZ file is: | ||
#!/bin/csh -f | #!/bin/csh -f | ||
truncate hklin junk_scaled.mtz \ | truncate hklin junk_scaled.mtz \ | ||
hklout junk_truncated.mtz <<end-trunc | hklout junk_truncated.mtz <<end-trunc | ||
Line 77: | Line 50: | ||
end-trunc | end-trunc | ||
In this way one gets the well-known | In this way one gets the well-known output of [http://www.ccp4.ac.uk/html/truncate.html TRUNCATE], and the MTZ file junk_truncated.mtz . | ||
== See also == | == See also == | ||
[[XDSCONV]] to get the MTZ file directly (i.e. circumventing SCALA) | [[XDSCONV]] to get the MTZ file directly (i.e. circumventing SCALA) |