Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Argument "1.7.8" isn't numeric in numeric lt (<) at /home/g/miniconda3/bin/prokka line 259. #713

Open
pradipgawande opened this issue Nov 11, 2024 · 1 comment

Comments

@pradipgawande
Copy link

Argument "1.7.8" isn't numeric in numeric lt (<) at /home/g/miniconda3/bin/prokka line 259.

@ellistorrance
Copy link

ellistorrance commented Nov 15, 2024

Hi! I'm not an author of this program but I've found this bug reported in several forums without an easy solve given. What's happening is that the prokka main script is unable to parse the version number of bioperl that it retrieves with conda correctly (giving the error: Argument "1.7.8" isn't numeric in numeric lt (<)) and thus it exits the program immediately. My "quick and ugly" fix is to hash out the lines in their code that are doing this check. So, in the prokka script (this script should be found at "path to your conda distribution"/envs/"conda env name"/bin/prokka) add a hash (#) to the beginning of lines 256-259 like so:

#my $minbpver = "1.006002"; # for Bio::SearchIO::hmmer3
#my $bpver = $Bio::Root::Version::VERSION;
#msg("You have BioPerl $bpver");
#err("Please install BioPerl $minbpver or higher") if $bpver < #$minbpver;

I would be careful with this since you do need to ensure manually that you have a satisfactory bioperl version.
Hope this helps! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants