millanek / Dsuite

Fast calculation of Patterson's D (ABBA-BABA) and the f4-ratio statistics across many populations/species
162 stars 25 forks source link

Floating Point exception #38

Open cha04lq opened 3 years ago

cha04lq commented 3 years ago

Hi, I have prepared a vcf file and have removed all triallelic sites but am getting the following error message.... Would you know the best workaround

There are 5 sets (excluding the Outgroup) Going to calculate D and f4-ratio values for 10 trios Done permutations Floating point exception (core dumped)

DevonDeRaad commented 3 years ago

I had this exact same problem, and then realized that my input vcf was actually gzipped even though it didn't have a .gz extension. Unzipping the vcf file solved the problem.

Jungal10 commented 2 years ago

Just to follow up here. I had the same issue, tried nonzipped VCF, and did not work anyway. Same error. @DevonDeRaad did you by chance change anything besides the VCF file?

kyraenglish commented 2 years ago

Hi @Jungal10 - I am having the same issue now and using a nonzipped VCF didn't work. Did you ever figure out how to fix this error? Thanks!

klcym commented 11 months ago

The problem seems to be caused by Dusite thinks the problem VCF file can be calculate jackknife but actually it can’t, so I merge the problem VCF file to another one then it works.