Miscellaneous functions for supplementing the command line tool plink.