Hi, I apologise in advance for the naive question, I have never used vcftools before. I am trying to complete what seems to be a fairly standard operation, where I filter a vcf file based on the presence/absence of snps:
vcftools --vcf main.vcf --out test --snps filter.xlsx --recode
The above command returns the error:
Error: Polyploidy found, and not supported by vcftools: 1:50591
The above is based on a previous post: Variant calling results in polyploidy data I tried the following:
grep -v "^#" main.vcf | cut -f 10- | cut -d ':' -f 1 | sort | uniq
which returns:
./././././././././././././././././././.
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/1
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/2
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/1/1
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/2/2
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/1/1/1
0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/1/1/1/1/1.....
The previous post did not seem to solve the problem can anyone tell me how to solve this???
Hi, Thank you again for your answers. There was an error in the file. Do you know how to change xlsx to vcf directly?