Assistance on Plink for Mac M1

190 views
Skip to first unread message

Alexandra Rosa

unread,
May 28, 2024, 9:04:21 AM5/28/24
to plink2-users
I have been trying several ways to run Plink on my Mac M1, unsuccessfully...

I have downloaded Plink2 (as a single Unix file), it seems to install (below), but then I get the error message zsh: command not found: plink2 in Terminal.

alexandrarosa@endpub056 ~ % /Users/alexandrarosa/Downloads/plink2 ; exit;

PLINK v2.00a6 M1 (26 May 2024)                 www.cog-genomics.org/plink/2.0/

(C) 2005-2024 Shaun Purcell, Christopher Chang   GNU General Public License v3


  plink2 <input flag(s)...> [command flag(s)...] [other flag(s)...]

  plink2 --help [flag name(s)...]


Commands include --rm-dup list, --make-bpgen, --export, --freq, --geno-counts,

--sample-counts, --missing, --hardy, --het, --fst, --indep-pairwise,

--r2-phased, --sample-diff, --make-king, --king-cutoff, --pmerge, --pgen-diff,

--write-samples, --write-snplist, --make-grm-list, --pca, --glm, --adjust-file,

--gwas-ssf, --pheno-svd, --clump, --score-list, --variant-score,

--genotyping-rate, --pgen-info, --validate, and --zst-decompress.


"plink2 --help | more" describes all functions.


Saving session...

...copying shared history...

...saving history...truncating history files...

...completed.

Deleting expired sessions...none found.


[Processo concluído]



Something similar for plink_mac_20231211.

For plink-1.07-mac-intel error message

zsh: bad CPU type in executable: /Users/alexandrarosa/Downloads/plink-1.07-mac-intel/plink


Also having problems in Parallels Desktop, it seems to pop up a window but it closes immediately.

plink-1.07-x86_64

plink_win64_20231211


Thank you for your help!


Reply all
Reply to author
Forward
0 new messages