Run plink to create a ped format.

    :param options: the options.

    :type options: argparse.Namespace

    Uses Plink to create a ``ped`` file of markers on the chromosome ``24``. It
    uses the ``recodeA`` options to use additive coding. It also subsets the
    data to keep only samples with sex problems.

def createPedChr24UsingPlink(options):
    """Run plink to create a ped format.

    :param options: the options.

    :type options: argparse.Namespace

    Uses Plink to create a ``ped`` file of markers on the chromosome ``24``. It
    uses the ``recodeA`` options to use additive coding. It also subsets the
    data to keep only samples with sex problems.

    """
    plinkCommand = ["plink", "--noweb", "--bfile", options.bfile, "--chr",
                    "24", "--recodeA", "--keep",
                    options.out + ".list_problem_sex_ids", "--out",
                    options.out + ".chr24_recodeA"]
    runCommand(plinkCommand)