Conservation genetic management of populations with known individual relatedness (pedigrees) has traditionally focused on populations of wild animals bred in zoos (Ballou et al. 1995). For such populations, maintenance of genetic variation is typically the main goal, and pedigree data can be used to monitor rates of inbreeding and loss of genetic variation measured in relation to alleles contributed by separate founding animals of the population (Lacy 1989). Computer programs have been developed within the zoo community to aid in genetic management by handling studbook data and performing statistical pedigree analyses.

There is an increasing need for methods, including software, developed for zoo populations to be applied to populations kept outside the zoo community. With current worldwide awareness of the need for conserving biological diversity, genetic monitoring is becoming topical for many populations in addition to those of threatened species in zoos. International policy agreements explicitly state that genetic variation of domestic animal breeds should be conserved and used sustainably (FAO 2007). For instance, within the framework of the United Nations Convention on Biological Diversity conservation targets to be reached during the period 2011–2020 were recently adopted, and one of these target focuses on the genetic diversity of farmed and domesticated animals (Decision UNEP/CBD/COP/DEC/X2; www.cbd.int). This target imply that strategies should be “developed and implemented for minimizing genetic erosion and safeguarding their genetic diversity” (www.cbd.int/sp).

We have recently been working with the pedigree of a wild wolf population in Sweden generated through tracking in combination with DNA analyses (Liberg et al. 2005). This population is small and highly inbred and there is a need for application of pedigree analysis to address issues of individual kinship and rate of loss of variation (Laikre et al. 2012). Also, we are working on domestic dog pedigrees to address similar issues (Jansson and Laikre 2011). During this work the need for using already available software became apparent.

We searched for computer programs providing inbreeding and kinship coefficients (Wright 1922) including mean kinship (Lacy 1995). The program should also estimate loss of genetic variation measured by founder alleles and provide statistics including founder contribution, founder allele survival, and founder genome equivalents (Lacy 1989). We needed the program to be able to handle large pedigrees of several thousand individuals. We found only one program that conforms to these requirements: Population Management x (PMx; Ballou et al. 2011; Lacy et al. 2011; see Table 1 for a summary of the programs identified). PMx is an accessory program to the Single Population Analysis and Records Keeping System (SPARKS)—a platform for computerized studbooks provided by the International Species Information System (ISIS; www.isis.org) and is used by zoos worldwide.

Table 1 Examples of software for pedigree analysis including their limitations with respect to pedigrees that can be analyzed and the output data provided

Single Population Analysis and Records Keeping System generates input files for PMx but we discovered that it is difficult to generate such input files outside the SPARKS platform. SPARKS cannot import already available pedigrees (individuals have to be entered one by one), and to create the input file for PMx (the *.ped file) by hand is very time consuming, particularly for studbooks covering hundreds or thousands of individuals. To simplify the creation of new *.ped-files from databases that were not originally constructed for PMx we developed the converter program mPed (make ped-file; www.popgen.su.se/mped.php). mPed is written in the programming language C. mPed converts a tab-separated text file *.txt (generated from e.g. MS Excel, Word, or Access) to a correct PMx *.ped-file.

PMx requires the following information for each animal: identifier (ID), identifier of father (sire ID), mother (dam ID), sex, whether or not the animal is in the population (true or false), whether the animal is alive or dead (true or false), birth date, death date, location, local and other ID, and additional fields that can be used for further information. If some of the data fields PMx requires are missing (e.g. death dates) mPed can estimate such data.

mPed uses an initialization file (*.ini) for instructions on how to format data. In the *.ini file the user indicates a date of analysis, and all the individuals born after that date are excluded from the pedigree. Then the user gives the path to the file (or files) to be analyzed and state in which column each type of data/information can be found. The user chooses if individuals that lack a birth date should be excluded or not and states the format of birth date and sex for the input file. If death dates are not known, mPed can provide such dates from information on expected lifespan of the individuals in the population. If birth dates are missing, mPed provides dates estimated from birth year of first offspring and age of sexual maturity.

mPed can reduce (“strip”) pedigrees that are too large to run in PMx (around 20,000 individuals depending on the complexity of the kinship matrix) when using Windows 7, 64 bit (or later) and 8 GB internal memory. The stripping includes deleting dead individuals that, at the time of the analysis, do not have any living descendants. We performed numerous tests to validate the program and currently use mPed in our ongoing research (Jansson and Laikre 2011; Laikre et al. 2013).