def read_plink_ped(plink_ped_fp):
    """Read in plink .ped file."""
    parents_dict = {}
    ped_dict = {}
    with open(plink_ped_fp, "rt") as handle:
        for record in handle:
            if record.startswith("-9"):
                parents_dict[record.split()[1]] = record.split()
            else:
                ped_dict[record.split()[1]] = record.split()
    return(parents_dict, ped_dict)