I have a vcf-file and I'm trying to convert my vcf file into 012 genotype matrix using the following code:
vcftools --vcf myfile.vcf --012 --out out_file
I didn't have problems when I run this code before, however now the following error message appears:
Error: Require Genotypes in VCF file in order to output as 0/1/2 matrix.
I've tried increasing the number of temporary files allowed by the operating system used (e.g. ulimit -n 1000), but still didn't work.
Could someone help me? Thanks.