PoolSNP RuntimeError: dictionary changed size during iteration
0
0
Entering edit mode
3.3 years ago
shpak.max ▴ 50

I've been using PoolSNP to call variants in Drosophila poolseq data. When executing PoolSnp, I experienced the following error message:

RuntimeError: dictionary changed size during iteration
File "scripts/PoolSnp.py" line 232 in <module> for k,v in alleleh.items()

Badsites calculations started

The program did return an output vcf in the correct format, but it was almost certainly a truncated file because the number of SNPs discovered was nearly 100x lower than what one would typically expect for Drosophila genomes.

Usually this Runtme error occurs when one tries to write to a dictionary while reading/looping through its elements in python. It's not clear to me whether this error occurred due to some problem with my data or some inherent but in the PoolSNP code.

Has anyone else encountered this error when running PoolSNP?

Poolsnp • 436 views
ADD COMMENT

Login before adding your answer.

Traffic: 1797 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