To have required format for the phenotype file, we applied these changes to the phenotype data by:
- duplicating individuals IDs (REGENIE accepts only FID, IID and then traits)
- changing column names
- transferring it from CSV into TSV
awk -F',' 'NR==1 {print "FID\tIID\ttarget"; next} {print $1, $1, $2}' OFS='\t' data/phenotype.csv > data/phenotype.tsv
To have required format for the phenotype file, we applied these changes to the phenotype data by: