Biotech > FAQ > BioPerl FAQ (Frequently Asked Questions)

How can I tell what version of BioPerl is instal...

To see other biotech frequently asked questions, please visit

(Continued from previous question...)

How can I tell what version of BioPerl is installed?

We have a universal version number for a release. This is set in the module Bio::Root::Version which is universally applied to every module which inherits from Bio::Root::RootI. To check the version, just use the following one liner:

 perl -MBio::Root::Version -e 'print $Bio::Root::Version::VERSION,"\n"'

Now when we use version tuples that are not just decimal numbers, Perl converts these silently to Unicode representations. What that means is, to actually print the version number you have to use formatted printing like this

  perl -MBio::Root::Version -e 'printf "%vd\n", $Bio::Root::Version::VERSION' 

Printing the version number can be done on any module in BioPerl (and should be consistent) so for example, printing out the version number of Bio::SeqIO, which is different from the overall Bioperl version number.

 perl -MBio::SeqIO -e 'printf "%vd\n", $Bio::SeqIO::VERSION'

(Continued on next question...)

Other Frequently Asked Questions