Thanks for the clarification of the .bed vs .bim size issue.
Here is the plink logs that followed the steps I took.
[First I created a subset of reference populations]
PLINK v1.90b7.2 64-bit (11 Dec 2023)
www.cog-genomics.org/plink/1.9/(C) 2005-2023 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to REFERENCEFILES/TestScript.log.
Options in effect:
--bfile REFERENCEFILES/Est1000HGDP
--keep keep.keep
--make-bed
--out REFERENCEFILES/TestScript
8192 MB RAM detected; reserving 4096 MB for main workspace.
135056 variants loaded from .bim file.
4899 people (1737 males, 654 females, 2508 ambiguous) loaded from .fam.
Ambiguous sex IDs written to REFERENCEFILES/TestScript.nosex .
--keep: 149 people remaining.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 149 founders and 0 nonfounders present.
Calculating allele frequencies... done.
Total genotyping rate in remaining samples is exactly 1.
135056 variants and 149 people pass filters and QC.
Note: No phenotypes present.
--make-bed to REFERENCEFILES/TestScript.bed + REFERENCEFILES/TestScript.bim +
REFERENCEFILES/TestScript.fam ... done.
[Next I ran the main shell script to convert my raw file to Plink format and do the admixture]
PLINK v1.90b7.2 64-bit (11 Dec 2023)
www.cog-genomics.org/plink/1.9/(C) 2005-2023 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to INDIVPLINKFILES/Adam_ancestry.log.
Options in effect:
--23file RAWINPUT/Adam_ancestry.txt Adam_ancestry Adam_ancestry
--make-bed
--out INDIVPLINKFILES/Adam_ancestry
8192 MB RAM detected; reserving 4096 MB for main workspace.
--23file: INDIVPLINKFILES/Adam_ancestry-temporary.bed +
INDIVPLINKFILES/Adam_ancestry-temporary.bim +
INDIVPLINKFILES/Adam_ancestry-temporary.fam written.
8835 variants with indel calls present. '--snps-only no-DI' or
--list-23-indels may be useful here.
Inferred sex: male.
677857 variants loaded from .bim file.
1 person (1 male, 0 females) loaded from .fam.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 1 founder and 0 nonfounders present.
Calculating allele frequencies... done.
Warning: 6 het. haploid genotypes present (see INDIVPLINKFILES/Adam_ancestry.hh
); many commands treat these as missing.
Total genotyping rate is exactly 1.
677857 variants and 1 person pass filters and QC.
Note: No phenotypes present.
--make-bed to INDIVPLINKFILES/Adam_ancestry.bed +
INDIVPLINKFILES/Adam_ancestry.bim + INDIVPLINKFILES/Adam_ancestry.fam ... done.
Adam_ancestry Adam_ancestry 0 0 1 -9
Error: 23754 variants with 3+ alleles present.
* If you believe this is due to strand inconsistency, try --flip with
Adam_ancestry_Adam_ancestry_1007651Test-merge.missnp.
(Warning: if the subsequent merge seems to work, strand errors involving SNPs
with A/T or C/G alleles probably remain in your data. If LD between nearby
SNPs is high, --flip-scan should detect them.)
* If you are dealing with genuine multiallelic variants, we recommend exporting
that subset of the data to VCF (via e.g. '--recode vcf'), merging with
another tool/script, and then importing the result; PLINK is not yet suited
to handling them.
See
https://www.cog-genomics.org/plink/1.9/data#merge3 for more discussion.
PLINK v1.90b7.2 64-bit (11 Dec 2023)
www.cog-genomics.org/plink/1.9/(C) 2005-2023 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to Adam_ancestry_Adam_ancestry_1007651.log.
Options in effect:
--bfile Adam_ancestry_Adam_ancestry_1007651
--flip flip
--make-bed
--out Adam_ancestry_Adam_ancestry_1007651
8192 MB RAM detected; reserving 4096 MB for main workspace.
Warning: --make-bed input and output filenames match. Appending '~' to input
filenames.
124327 variants loaded from .bim file.
1 person (1 male, 0 females) loaded from .fam.
--flip: 23754 SNPs flipped.
Using 1 thread (no multithreaded calculations invoked).
Before main variant filters, 1 founder and 0 nonfounders present.
Calculating allele frequencies... done.
Total genotyping rate is exactly 1.
124327 variants and 1 person pass filters and QC.
Note: No phenotypes present.
--make-bed to Adam_ancestry_Adam_ancestry_1007651.bed +
Adam_ancestry_Adam_ancestry_1007651.bim +
Adam_ancestry_Adam_ancestry_1007651.fam ... done.