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?