BioPerl dependency check always succeeds

In the dependency checking script, the bash builtin command -v is used for checking whether BioPerl is installed. However, this command will always succeed as long as Perl is installed, as it does not execute the command.

Consider changing e.g., into if ! perl -MBio::SeqIO -e 'printf "%vdn", $Bio::SeqIO::VERSION, "n"' > /dev/null ; then.

It may not actually be necessary to execute any statement, so it could probably be shortened to if ! perl -MBio::SeqIO -e ''.

Read more here: Source link