psmc icon indicating copy to clipboard operation
psmc copied to clipboard

Use of initialized value in division line 125

Open jennagrimshaw opened this issue 5 years ago • 3 comments

Hello, I am running psmc on RADseq data following Liu and Hansen (2017) method that prepares the RADseq data for this psmc analysis. When I run psmc on my full dataset (~1700 scaffolds ranging anywhere from one to in the thousands in length), the analysis works although my bootstraps are all over the place due to the inclusion of many scaffolds with length < 10. When I filter out the small scaffolds (<100), I get this error message:

Use of uninitialized value in division (/) at /psmc/utils/psmc_plot.pl line 125, <> line 195839. Use of uninitialized value in division (/) at /psmc/utils/psmc_plot.pl line 125, <> line 195839. Illegal division by zero at /psmc/utils/psmc_plot.pl line 125, <> line 195839.

I can filter out scaffolds < 5 and it works, but filtering out <10 produces the same error.

Any guidance would be appreciated. I am including the file with all of the scaffolds as well as the file that has been filtered. Thank you, Jenna Grimshaw

15-2.psmcfa.pdf 15-2-long.psmcfa.pdf

jennagrimshaw avatar Jun 19 '20 19:06 jennagrimshaw

Hello,

Did you find any way to solve this problem?

I am running the psmc_plot.pl script and I am getting the same error.

Thank you! Homa

Homap avatar Jul 07 '20 15:07 Homap