5.1 Overview

In Chapter 4 tou learned how to get your pedigree data loaded into PyPedal. This chapter will show you what you can do with the pedigree once it is loaded. The examples in this chapter assumes that you are working with a reordered and renumbered pedigree (see Section 7.1 for additional details).

In order to get the most out of your pedigrees you need to understand the basic structure of a PyPedal pedigree, which consists of two components: the pedigree itself, which is composed of a list of NewAnimal objects, and metadata, which is data about the animals contained in the pedigree. Some calculations are performed on the animal records directly, while others use the metadata, or some combination of the two. The fundamental goal of PyPedal is to provide the user with tools for asking questions about their pedigrees.

The following discussion will use the following pedigree taken from Boichard et al. ref352:

# pedformat: asdg
1 0 0 1
2 0 0 1
3 0 0 1
4 0 0 1
5 1 2 2
6 3 4 2
7 5 6 3
8 5 6 3
9 5 6 3
10 5 6 3
11 5 6 3
12 5 6 3
13 5 6 3
14 5 6 3
Many of the subsequent code snippets are taken from the "new_methods.py" example program (see: Appendix A).

See About this document... for information on suggesting changes.