Export to Genepop

Titleā€ƒ Export to Genepop

Summary

Exports spatially referenced genetic data (e.g., co-dominant microsatellite data) from a Feature Class to a text file formatted for use in Genepop (Raymond and Rousset 1995; Rousset 2008).

For more information on Genepop go to: http://genepop.curtin.edu.au

Required Inputs:

  • An existing Feature Class containing spatially referenced genetic data (e.g., co-dominant microsatellite data)

  • A Population Field from the attribute table that can be uesd to organize the data by distinct populations or groupings

  • A File Path and File Name for the Output Text File

Optional Inputs:

  • A Where Clause option to identify and select only those Feature Class records with genetic data

    Note: If your data only contain genetic records, this parameter can be left blank.

Script Outputs:

  • A Text File formatted to meet the input file format for Genepop


Usage

To export co-dominant microsatellite data from a feature class to the format required for use in Genepop.


Syntax

ExportGenepop (Input_Feature_Class, {Where_Clause}, Population Field, Output_File)

Parameter Explanation Data Type
Input_Feature_Class Dialog Reference

Select a Feature Class containing spatially referenced genetic data.

Feature Layer
Where_Clause (Optional) Dialog Reference

If the Feature Class contains spatailly referenced data that are not genetic, use the Where Clause to select only those records containing genetic data.

SQL Expression
Population Field Dialog Reference

Select a field from the attribute table that can be used to sort the data by population or grouping.

For example, select the field 'Region' to sort the data by the region from where each sample was collected (e.g. SEAK, CentAM, Hawaii etc.).

Field
Output_File Dialog Reference

Provide a file path and file name for the Output Text File.

File

Code Samples

Tags

export, genetics, spatial, genepop

Credits

Created by the geneGIS team: Dori Dick, Shaun Walbridge, Scott Baker, Dawn Wright


Use limitations