1、问题,莫名其妙出现下面的问题,折腾半天也没有找出原因,后来索性暴力解决,直接解压文件看看咋回事, 解压半天提示文件损坏,。。。。
Error: File read failure.
2、重新下载文件,测试
root@PC1:/home/GWA_tutorial/2_Population_stratification#plink --vcf ALL.2of4intersection.20100804.genotypes.vcf.gz --make-bed --out ALL.2of4intersection.20100804.genotypes PLINK v1.90b6.24 64-bit (6 Jun 2021) www.cog-genomics.org/plink/1.9/ (C) 2005-2021 Shaun Purcell, Christopher Chang GNU General Public License v3 Logging to ALL.2of4intersection.20100804.genotypes.log. Options in effect: --make-bed --out ALL.2of4intersection.20100804.genotypes --vcf ALL.2of4intersection.20100804.genotypes.vcf.gz 15974 MB RAM detected; reserving 7987 MB for main workspace. --vcf: ALL.2of4intersection.20100804.genotypes-temporary.bed + ALL.2of4intersection.20100804.genotypes-temporary.bim + ALL.2of4intersection.20100804.genotypes-temporary.fam written. 25488488 variants loaded from .bim file. 629 people (0 males, 0 females, 629 ambiguous) loaded from .fam. Ambiguous sex IDs written to ALL.2of4intersection.20100804.genotypes.nosex . Using 1 thread (no multithreaded calculations invoked). Before main variant filters, 629 founders and 0 nonfounders present. Calculating allele frequencies... done. Total genotyping rate is 0.615305. 25488488 variants and 629 people pass filters and QC. Note: No phenotypes present. --make-bed to ALL.2of4intersection.20100804.genotypes.bed + ALL.2of4intersection.20100804.genotypes.bim + ALL.2of4intersection.20100804.genotypes.fam ... done.
这次没有报错。
当plink 处理大文件出现:Error: File read failure错误. 一种可能就是文件损坏!