camillemoreau@MacBook-Air-de-Camille ~ % /Users/camillemoreau/Downloads/plink_mac_20200219/plink --file toy --freq --out toy_analysis
PLINK v1.90b6.16 64-bit (19 Feb 2020) www.cog-genomics.org/plink/1.9/
(C) 2005-2020 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to toy_analysis.log.
Options in effect:
--file toy
--freq
--out toy_analysis
4096 MB RAM detected; reserving 2048 MB for main workspace.
Error: Failed to open toy.map.
PLINK v1.90p 64-bit (25 Mar 2016) https://www.cog-genomics.org/plink2
(C) 2005-2016 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to test2.log.
Options in effect:
--bfile toy_data
--freq
--out test2
I also did not seem to have any toy files when I unzipped the download from cog-genomics...
I need the functionality of Plink v2, specifically to convert Plink 2 format files to Plink 1.9:
plink2 --pfile $refdir/all_phase3 vzs --max-alleles 2 --make-bed --out $refdir/all_phase3
At the moment this keeps giving me errors, I think because it is not Plink v2 and so --pfile flag is not recognised:
-bash-4.2$ plink2 --pfile all_phase3 vzs\ --max-alleles 2 --make-bed --out all_phase3.1
PLINK v1.90p 64-bit (25 Mar 2016) https://www.cog-genomics.org/plink2
(C) 2005-2016 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to all_phase3.1.log.
Options in effect:
--make-bed
--out all_phase3.1
--pfile all_phase3 vzs --max-alleles 2
Error: Unrecognized flag ('--pfile').
For more information, try 'plink --help [flag name]' or 'plink --help | more'.
I wondered if you ever got to the bottom of what was happening for you or if anyone else could advise ?
PLINK v2.00a2.3LM 64-bit Intel (24 Jan 2020) www.cog-genomics.org/plink/2.0/
(C) 2005-2020 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to all_phase3.1.log.
Options in effect:
--make-bed
--max-alleles 2
--out all_phase3.1
--pfile all_phase3 vzs
sergiomunizcastrillo@DN0a237b5f ~ % /Users/sergiomunizcastrillo/Desktop/plink_mac_20230116/plink --file toy --freq --out toy_analysis
PLINK v1.90b7 64-bit (16 Jan 2023) www.cog-genomics.org/plink/1.9/
(C) 2005-2023 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to toy_analysis.log.
Options in effect:
--file toy
--freq
--out toy_analysis
8192 MB RAM detected; reserving 4096 MB for main workspace.
Error: Failed to open toy.map.