In my last article I covered importance of BioPerl in Bioinformatics and why Perl is popular among Bioinformaticians. This article in BioPerl Tutorial series is dedicated on how to install BioPerl on Windows. My computer has Windows 7 so I will be teaching on how to install BioPerl on Windows 7. I though assume same steps will be applicable on other Windows version (though few might need couple of tweaks).
To install BioPerl, we need to have Perl on our system. Thus, we will be covering on how to install Perl on Windows and then will move to BioPerl installation.
To install Perl, you should have it on your system. You can download Perl from internet but make sure you download ActivePerl 126.96.36.1999 or higher version. Only this version is supported by BioPerl Team.
Why ActivePerl 188.8.131.529 or higher only?
The main reason behind using versions equal or after of 184.108.40.2069 is inclusion of Perl Package Manager 4 (abbreviated as PPM4). PPM4 is far better than its earlier versions and also has a GUI interface (which makes thing easier for windows users who don’t have knack in remembering, typing and executing commands).
One can download ActivePerl community edition from http://www.activestate.com/activeperl/downloads or from my own site (version 5.14.2 for 64 bit computers). This is the version on which I will be installing and using BioPerl further.
Once download is completed, after opening the installation package, one will see following screenshot and you need to click on next.
a) After accepting user agreement, feature selection window will pop-up. If you don’t have much knowledge which features you need and which don’t, just click next and all features will be installed.
b) One can give custom path to perl directory by clicking Browse button
Ensure to choose all the three options in Setup options or else you might face problems later on.
Then click on click install button and if all goes well, you will see initiation of activeperl installation on your system.
After sometime (depending on your configuration), you will see following screen which informs you that installation of active Perl is complete.
After clicking on finish, you will see release notes:
Now it’s the time to install BioPerl. We will be installing BioPerl as well as BioPerl modules through PPM.
GUI Installation of BioPerl:
To install BioPerl you need to run Perl application you have just installed. You can open it from Start Menu.
After opening ActivePerl folder, you will see PPM icon. Double click to open it.
Now PPM will open up. It will begin sync with PPM database and once it is done (it might take time depending on your internet connection), you are all set to install BioPerl.
NOTE: This step requires active internet connection.
Go to EDIT and then Preferences. Click on Repositories tab. Following window will open up.
Add following repositories:
Once call repositories are added you can see those in repositories list:
Now click on Ok to close repositories window.
Go to view and select all packages
In the search box, write bioperl and you will see BioPerl packages.
Now will see the BioPerl is marked for installation. To install BioPerl you need to click on Green Arrow.
You will see following screen now and click on Ok.
This will initiate installation of BioPerl on your system.
After few minutes (depending on your internet screen), you will see application window where it will say BioPerl is installed on ‘site’.
Congrats! You have sucessfully installated BioPerl on your system.
I hope this BioPerl installation tutorial will give you better idea on how to install BioPerl on Windows using GUI interface of PPM. Next article will cover how to write BioPerl script.