bayenv2: "initial epsilon zero or 1 locus 6912"
1
0
Entering edit mode
5.6 years ago
biosol ▴ 170

Hi everyone,

currently I'm running bayenv2 on my data. First,I've converted my vcffile into bayenvformat but then, when I try to generate the covariance matrix, I get the message initial epsilon zero or 1 locus 6912. I've read that the epsilon value in bayenv2is related to the allele frequency at a specific locus for the current generation, but don't actually understand what this means and I don't know how to solve this problem.

Any help will be appreciated! Thank you very much in advanced :)

bayenv2 snps • 1.8k views
ADD COMMENT
1
Entering edit mode
5.5 years ago
katuckele ▴ 10

Hi Sonia,

I had this error message too. I checked my SNP file and sure enough, the locus referenced by the error message was fixed in all populations, e.g.:

0 0 0 0 0 0

20 20 20 20 20 20

I took out this locus and Bayenv runs without error.

Hope this helps, Katie

ADD COMMENT
0
Entering edit mode

Hi Katie, thank you very much for your answer! I asked the developpers of the bayenv2 and they told me that the problem was that the file contained SNPs with fixed allele frequencies (the same allele in all individuals, either 0 or 1). So I filtered my data by MAF 1% and the problems was solved. I think this matches as well with your case, your allele freqs were fixed for that SNP!

ADD REPLY
0
Entering edit mode

Just to add that I also recieved this error when I had a typos in the sample names of the popualtion file I used to convert vcf to BayEnv using PGDSpider. It looked as though it converted correclty but then when I ran BayEnv this error occured. Just in case people still get this error after looking for fixed sites!

ADD REPLY

Login before adding your answer.

Traffic: 2372 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6