Class | Global |
Name | set genotype_separator |
Arguments | <separator_character> |
This command sets the character used to separate alleles in writing genotypes. Defaults to "/" (a forward slash). This affects the output from write, write csv, and print commands.
The main use of this is to produce output to be read into other programs.
Example:
>> include volgaex.in >> head ! ! S p ! e A r ! Per Fat Mot x D onset age D14S52 D14S43 D14S53 o ! AM 101 x x m y 43.0000 x x/x x/x x/x n AM 102 x x f n 77.0000 77.0000 83/87 183/183 151/151 n AM 203 x x f n x x 83/93 171/181 151/157 n AM 201 101 102 m y 41.0000 x x/x x/x x/x y AM 202 101 102 m y 43.0000 x x/x x/x x/x n AM 204 101 102 m n 63.0000 63.0000 x/x x/x x/x n AM 205 101 102 m y 46.0000 x 83/87 183/183 151/155 n AM 206 101 102 m y 41.0000 x 83/87 183/183 151/155 n AM 207 101 102 m n 52.0000 52.0000 x/x x/x x/x n AM 208 101 102 m y 41.0000 x 83/87 183/183 151/155 n >> set gen " " NOTE: Allele separator set to " ". >> head ! ! S p ! e A r ! Per Fat Mot x D onset age D14S52 D14S43 D14S53 o ! AM 101 x x m y 43.0000 x x x x x x x n AM 102 x x f n 77.0000 77.0000 83 87 183 183 151 151 n AM 203 x x f n x x 83 93 171 181 151 157 n AM 201 101 102 m y 41.0000 x x x x x x x y AM 202 101 102 m y 43.0000 x x x x x x x n AM 204 101 102 m n 63.0000 63.0000 x x x x x x n AM 205 101 102 m y 46.0000 x 83 87 183 183 151 155 n AM 206 101 102 m y 41.0000 x 83 87 183 183 151 155 n AM 207 101 102 m n 52.0000 52.0000 x x x x x x n AM 208 101 102 m y 41.0000 x 83 87 183 183 151 155 n >> keep D14S52 >> set ple -1 >> set pri 01000 >> out genotype.lis >> print where istyp D14S52 >> out >> file print genotype.lis 102 83 87 203 83 93 205 83 87 206 83 87 208 83 87 209 87 87 [...]
See also:
output | divert text output to a file |
<< (set tab) | Up to index | >> (set mis) |