Just a quick update - I used PLINK2.0 which allowed me to pass through the public1.bim file but now there is a problem with the public.fam file.
(C) 2005-2023 Shaun Purcell, Christopher Chang GNU General Public License v3
Logging to public1_filtered.log.
Options in effect:
--bfile public1
--extract snp_ids_only.txt
--make-bed
--out public1_filtered
Start time: Sat Nov 4 17:16:48 2023
257780 MiB RAM detected, ~253563 available; reserving 128890 MiB for main
workspace.
Allocated 7257 MiB successfully, after larger attempt(s) failed.
Using up to 32 threads (change this with --threads).
Error: Line 1 of public1.fam has fewer tokens than expected.
End time: Sat Nov 4 17:16:48 2023
The public1.fam file was converted from the public1.ind file which only has three columns: individual ID, Sex (M,F), and family ID
I001.HO M Ignore_Iran_Zoroastrian_PCA_outlier.HO
I002.HO M Ignore_Iran_Zoroastrian_PCA_outlier.HO
IREJ-T006.HO M Iran_Fars.HO
IREJ-T009.HO M Iran_Fars.HO
IREJ-T022.HO M Iran_Fars.HO
IREJ-T023.HO M Iran_Fars.HO
IREJ-T026.HO M Iran_Fars.HO
IREJ-T027.HO M Iran_Fars.HO
IREJ-T037.HO M Iran_Fars.HO
IREJ-T040.HO M Iran_Fars.HO
But the expected .fam file should have 6 columns: family ID, individual ID, paternal ID, maternal ID, sex, and phenotype.
If my fam file does not include all of these columns, is there a way to ignore it or is it impossible that I should use a new data file?
Thank you.
2023년 11월 4일 토요일 오후 4시 17분 35초 UTC-4에 Briley Park님이 작성: