因为动物的ID长短不同,但是BLUPF90软件进行分析时,要求ID必须相同,
可以做如下处理:
Linux
awk '{printf "%-n1s %-n2s \n", $1,$2}' genotype.file > new genotype.file
replace n1 for the maximum length of your IDs, and replace n2 with the number of SNPs (integer genotypes case)
因为动物的ID长短不同,但是BLUPF90软件进行分析时,要求ID必须相同,
可以做如下处理:
Linux
awk '{printf "%-n1s %-n2s \n", $1,$2}' genotype.file > new genotype.file
replace n1 for the maximum length of your IDs, and replace n2 with the number of SNPs (integer genotypes case)