Thanks Jitendra, I found this link useful. Apart fron this my favourate is http://www.cbs.dtu.dk/courses/27619/
To install BioPerl on a macOS system, you can follow these steps:
Open the Terminal app on your macOS system.
Install Homebrew if you haven't already installed it by entering the following command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
Update Homebrew by entering the following command:
brew update
Install Perl by entering the following command:
brew install perl
Install cpanminus by entering the following command:
brew install cpanminus
Install BioPerl by entering the following command:
cpanm BioPerl
Verify the installation by running a BioPerl script or entering the following command to check the BioPerl version:
perl -MBio::Perl -e 'print "$Bio::Perl::VERSION\n"'
If there are any issues with the installation, you can try searching for solutions online or consulting the BioPerl documentation.
Installing in CONDA env
You can check using which perl
- it should give you the perl that's located within your conda environment. In this case, it should install things into your conda-directory.
When you install packages via cpan it will also print the folder perl is installing the package into.
If you want to be extra-sure, you can also install most Perl packages via conda. Replace the ':' by '-', lower-case everything, and add 'perl-' to the beginning. In your case,
conda install -c bioconda perl-lwp-simple
this will definitely install into conda.
If using conda
conda create --name perlENV perl
conda activate perlENV
conda install -c bioconda perl-bundle-bioperl
conda install -c bioconda perl-bioperl
Thanks Archana for such a useful links. I found this link useful as well for beginners, where user can find some of the free books.