This github is home to a bunch of perl modules and scripts that were written during the course of my PhD. Most modules are written using Moose, the perl library for object-orientation. The main bulk of the modules are used to manipulate PDB files and in particular to send or process data to and from bioptools programs.
These prerequisites are required for TCNlib
Install bioptools, available via github.
Install BioPerl. See the BioPerl website for instructions. I recommend opening the cpan client on the command line and typing d /bioperl/
. This will return a list of available BioPerl packages. Pick the most recent version and use force to install (it is likely that some tests will fail) by running force install CJFIELDS/BioPerl-1.6.924.tar.gz
.
Install Module::Build, which is required to check for and install perl dependecies. Run cpan Module::Build
on the command-line to install it.
Run setup.pl. This installs git submodules and external packages, checks for perl dependencies (installing any that are missing) and makes a working copy of lib/TCNPerlVars.pm from lib/TCNPerlVars.defaults.
Run tests using runtests.pl
.
Add the following lines to your .bashrc:
export TCNlib=/path/to/TCNlib
export PERL5LIB=$TCNlib/lib:$PERL5LIB
Where /path/to/TCNlib/
is replaced with the real path!