************************************************************************
*       GGGGGGG  SSSSSSS  EEEEEEE  DDDDDD          Genetic             *
*       G     G  S        E        D     D         Structures          *
*       G        S        E        D      D        from                *
*       G        SSSSSSS  EEEE     D      D        Electrophoresis     *
*       G  GGGG        S  E        D      D        Data                *
*       G     G        S  E        D     D         Version 2.1         *
*       GGGGGGG  SSSSSSS  EEEEEEE  DDDDDD          June 2008           *
************************************************************************
GSED Copyright 1990-2008 Elizabeth M. Gillet, egillet@gwdg.de
GSED is free software: you can redistribute it under the terms of the
GNU General Public License (GPL) v.3, as published by the Free Software
Foundation. GSED is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of merchant-
ability or fitness for a particular purpose. Reassembling is not permit-
ted. See the GNU General Public. A copy of the GNU GPL is contained in
the file COPYING, or see <www.gnu.org/licenses>.
Compiler: GNU Fortran77 Compiler for Linux

------------------------------------------------------------------------

Beginning with version 2.0, it is easier to apply data files that 
have been prepared using spreadsheet programs such as Excel. Refer 
to the "GSED User's Manual" 
<http://www.uni-forst.gwdg.de/forst/fg/software/>
for an explanation of the general form of the data.

This is accompanied by a new freedom in the formatting of the data.
Note that in the example data below, the first column in the line 
following the names of the populations reads "unformatted". This 
option makes it unnecessary to specify the exact format, as was 
required in previous versions of GSED. Old input data files that do
specify the format can, however, still be used.


Example data for 3 populations, 10 individuals per population, and 
their (unordered) genotypes at 4 loci. (The designation of the 
alleles as large integers could indicate the numbers of tandem 
repeats in microsatellite data). The genotype of Individual 9 in 
Population 3 is missing (i.e. -1 -1).

3       4
Locus1
Locus2
Locus3
Locus4
Pop1
Pop2
Pop3
unformatted
1      0      1      0      2      0      3      0      4      0 
1      1      121    121    83     95     118    193    42     42
1      2      121    136    83     102    106    193    36     36
1      3      136    136    76     95     118    121    42     48
1      4      101    136    95     102    106    121    42     48
1      5      121    136    83     102    106    118    36     42
1      6      101    101    83     102    106    193    36     36
1      7      101    136    83     83     106    193    42     48
1      8      101    121    95     95     89     106    42     48
1      9      121    121    76     83     89     193    36     36
1      10     101    121    76     95     118    121    42     42
9999
2      0      1      0      2      0      3      0      4      0
2      1      101    101    76     83     89     106    36     48
2      2      101    101    83     83     106    106    36     48
2      3      101    101    76     76     121    193    36     48
2      4      121    121    83     83     89     89     36     42
2      5      121    121    76     76     121    193    36     42
2      6      101    121    83     95     106    193    36     48
2      7      101    121    83     102    89     193    36     48
2      8      101    121    76     95     89     89     36     48
2      9      101    121    76     102    89     193    36     48
2      10     101    121    76     102    121    121    36     48
9999
3      0      1      0      2      0      3      0      4      0
3      1      132    136    76     83     89     106    36     42
3      2      101    101    76     83     106    106    42     42
3      3      132    136    95     95     121    121    36     48
3      4      101    136    83     95     121    121    36     42
3      5      101    136    83     102    89     89     36     42
3      6      132    132    76     76     89     89     42     42
3      7      101    101    76     102    106    106    48     48
3      8      132    132    95     95     89     121    42     48
3      9      101    136    76     102    -1     -1     36     36
3      10     132    136    83     83     89     106    48     48
9999

There are now two easy ways to prepare the input data file:

1. As a Text-file, using e.g. Word or Wordpad. The numbers can be 
   separated by tabulators, by one or more blanks, or even by one 
   comma. Using "unformatted" in the line after the population 
   names makes it unnecessary to align the columns.

2. Using a spreadsheet program, e.g. Excel. One name or number is 
   entered per field. It may be saved as *.xls for later usage, but
   GSED requires the data as text. To do this, save the file as a 
   Text-file of type *.txt, using "tabulator" to separate columns.

In either case, the result is an input data file named e.g. 
"example.txt".

Run the program GSED for the input data file "example.txt", 
answering all questions.

If the name given to "Output file (max. 60 character) ? :" is 
"example.out", GSED makes two output files.

1. The text-file "example.out" contains the results of calculations
   in the old style.

2. The text-file "tab-example.out" contains all results in a new, 
   compact form. When this file is opened in Excel, a Text 
   Conversion Assistant appears. Choose the button corresponding to
   the separation of fields with commas or tabulators. In the next 
   window, choose "tabulator" as the separator. In the final window
   of the assistant, choose "Standard".