Each pedigree that you read must be passed its own dictionary of options that must have at least a pedigree file name (pedfile) and a pedigree format string (pedformat). You then call pyp_newclasses.NewPedigree() and pass the options dictionary as an argument. The following code fragment demonstrates how to read a pedigree file: