Report to file
If you want to use this report as the basis for your official report,
you may send it to file (File ASCII) then
read it into Microsoft Word or similar program. However, it is likely
that it will have some characters in it that need cleaning up. The
cleaning up can of course be done by manual editing within Word, but
usually it can be done at the moment of export (i.e. of saving to
file) from DNAVIEW by judicious use of DNAVIEW's character translation facility.
Specifically, the log report has boxes around some answers, but the attractive box lines
usually turn into ugly strings of odd characters such as 3 and Ä when viewed
in a word processor. Therefore it's nice to remove them. Also, if the character μ (for
mutation) occurs in the report, it is likely to appear as æ in Word.
Symbol sets
Computers and printers traditionally had something called symbol
sets. A symbol set is an assignment of visible (or otherwise)
symbols to the numbers from 0 to 255. All symbol sets agree on the
meanings of characters 32 through 127 which include 0-9, a-z, A-Z, and
the common punctuation marks. DNAVIEW assumes the PC-8 symbol
set, which means for example that
- character 230 displays as μ and
- the characters 179-223 are box-drawing characters.
PC-8 symbol set
The PC-8 symbol set should be used to display
the DNAVIEW screen (it is the US default for a DOS screen, although
probably there is a way within Windows to change it).
If your computer is configured for some other language then it
may display according to some symbol set other than PC-8 and consequently
some DNAVIEW screens may not appear quite as intended.
Odd appearance in Word
When you import a text file to Microsoft Word, it imports the characters (it
probably has its own scheme that is not exactly a symbol set based on
0-255) according to what symbol set it believes the import document
uses. In Word 2002, apparently the user has control and can specify.
In Word 2000, the symbol set that seems to assumed when you import is
ECMA-94, which has no box drawing characters (but instead superscript
numbers and other characters in those positions) and which has æ in
position 230, rather than μ as PC-8 does.
|
Character Translations
Maintenance Options, DNAVIEW character
translations, in the Housekeeping menu, is a
facility to translate or eliminate characters of a DNAVIEW
report. character translation takes place when the
file is saved, i.e. when it is exported from DNAVIEW
(File, ASCII).
In particular I use these settings:
- Box drawing characters
- Boxes that look nice on the DNAVIEW screen are shown as 3, Ä, and
other unattractive characters when imported into a word processor. Therefore
use DNAVIEW character translations
to translate the characters from 179-223, which are all the box-drawing characters,
to nothing.
- The character μ
- The report occasionally contains the character μ for mutation.
If you import a file with this character into Word or Excel, be sure to choose the
PC-8 symbol set. Otherwise, the character may end up looking like æ.
Another way to get the μ to look like μ in Word is to find the right
DNAVIEW character translations, likely translating 230
(μ in the PC-8 symbol set which DNAVIEW assumes) to 181 (μ in
the ECMA-94 symbol set).
So what we are doing with the DNAVIEW character translations is to set
up a partial conversion from PC-8 to ECMA-94 at the time that reports
are exported. The box drawing characters are missing from ECMA-94, so
we need to eliminate them. μ, though, is found in ECMA-94, namely at
position 181.
PCR notation
A while ago I thought it would be a good idea to write alleles like the TH01 9.3 allele
with a centered dot instead, i.e. 93, since after all the dot is not a decimal
in this case. It does look good, but unfortunately the center dot does not import
correctly to Windows programs like Word; it ends up as ù.
Therefore I added an option that allows the user to select the separator character.
Invoke Housekeeping,
Options, PCR notation style and choose the ordinary
dot as a separator (at the last of the notation style choices).