PSMC Illegal division by zero
Dear all,
I’m using PSMC for many genomes, and only for two genomes, I received an error after performing the command psmc2history.pl
Error:
Illegal division by zero at /PATH/psmc_plot.pl line 119
I performed 100 PSMC bootstrap replicates and I concatenated these files to run the command: psmc2history.pl
I have seen the same error in other groups, but they have not figured out a solution.
I’m wondering if you could help me to fix and understand this error.
Thanks in advance,
Best,
Yocelyn
• 1.0k views
Do your .psmc bootstraped files have the same size. I had the same issue and the problem was that my .psmc files had different sizes, after I re ran the bootstrap and got the same sizes everything was ok.
Also, when concatenating, be careful to include the correct files.. that was also one of the errors I had.
Read more here: Source link