def runPlink(options):
    """Run Plink with the ``mind`` option.

    :param options: the options.

    :type options: argparse.Namespace

    """
    # The plink command
    plinkCommand = [
        "plink",
        "--noweb",
        "--bfile" if options.is_bfile else "--tfile",
        options.ifile,
        "--mind",
        str(options.mind),
        "--make-bed",
        "--out",
        options.out,
    ]

    output = None
    try:
        output = subprocess.check_output(plinkCommand,
                                         stderr=subprocess.STDOUT, shell=False)
    except subprocess.CalledProcessError:
        msg = "plink: couldn't run plink"
        raise ProgramError(msg)
def runPlink ( options ) : plinkCommand = [ "plink" , "--noweb" , "--bfile" if options . is_bfile else "--tfile" , options . ifile , "--mind" , str ( options . mind ) , "--make-bed" , "--out" , options . out , ] output = None try : output = subprocess . check_output ( plinkCommand , stderr = subprocess . STDOUT , shell = False ) except subprocess . CalledProcessError : msg = "plink: couldn't run plink" raise ProgramError ( msg )
Run Plink with the ``mind`` option.

    :param options: the options.

    :type options: argparse.Namespace