Pedigree analysis for Coda

Use
generations for calculation