Pedigree alignment convenience functions
Refactored alignment code