User Tools

Site Tools


geneland

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
geneland [2011/05/20 11:38] heidigeneland [2011/05/31 11:38] (current) heidi
Line 25: Line 25:
  
 \\ \\
 +
  
  
 ===== Input Files ===== ===== Input Files =====
   * Genotypes file: contains the genotypes of n haploid or diploid individuals at L co-dominant markers   * Genotypes file: contains the genotypes of n haploid or diploid individuals at L co-dominant markers
-  * Geographic information file (optional): contains the spatial coordinates representative of each individual.+  * Coordinates file (optional): contains the spatial coordinates representative of each individual.
  
  
Line 35: Line 36:
  
 \\ \\
 +
 +
 +
 +
 +
 +
 +
 +
 +
 ==== Genotypes file ==== ==== Genotypes file ====
 Assuming that you have data for n individuals genotyped at L loci, the data must be arranged in Assuming that you have data for n individuals genotyped at L loci, the data must be arranged in
Line 46: Line 56:
   * for haploid organisms with L loci, the genotype file must have L columns.   * for haploid organisms with L loci, the genotype file must have L columns.
  
-=== diploid data === +=== diploid data=== 
-Codominant data (SNP or Microsat): +  Codominant data (SNP or Microsat): 
-  * one line and 2x L columns per individual +    * one line and 2x L columns per individual 
-  * Example (2 individuals with 10 loci, missing data are coded as 000):+    * Example (2 individuals with 10 loci, missing data are coded as 000):
 <code> <code>
 198 000 358 362 141 141 179 000 208 224 243 243 278 284 86 88 120 124 238 244 198 000 358 362 141 141 179 000 208 224 243 243 278 284 86 88 120 124 238 244
Line 55: Line 65:
 </code> </code>
  
-==== example====+  * Dominant data (AFLP): 
 +    * one line and L columns per individual 
 +    * absence/presence of the allele is coded as 0/1 
 +    * Example (2 individuals with 10 loci, missing data are coded as 000):
 <code> <code>
 +0 1 1 1 0 1 0 0 0
 +1 0 0 1 1 0 0 1 000
 </code> </code>
 +
 +=== haploid data: ===
 +  * for Microsat, SNP or mtDNA data
 +  * one line and L columns per individual
 +  * Example (2 individuals with 10 loci, missing data are coded as 000):
 +<code>
 +198 000 358 362 141 141 179 000 208 224
 +200 202 000 358 141 141 183 183 218 224
 +</code>
 +
 +
 +\\
 +
 +
 +
 +==== Coordinates file ====
 +  * one line per individual and two columns (x-axis and y-axis coordinate)
 +  * the units do not matter
 +  * coordinates are planar coordinates such as UTM coordinates. Coordinates given as spherical coordinates will be interpreted as planar coordinates.
 +  * extra header lines are not allowed
 +  * missing data are not allowed. If some coordinates are missing, you can either substitute an estimated value or do the analysis without spatial coordinates at all using the non spatial model.
 +  * Example (2 individuals):
 +<code>
 +25.6 745.2
 +54.1 827.8
 +</code>
 +
 +\\
 +
  
  
geneland.1305884329.txt.gz · Last modified: 2011/05/20 11:38 by heidi