bp_tree2pag - convert Bio::TreeIO parseable format trees to pagel format
bp_tree2pag -if nexus -i file.nexus > file.pag # OR pipe in through STDIN, and use newick format instead cat file.newick | bp_tree2pag -if newick > file.nh # OR specify an output and input bp_tree2pag -o file.pag -i file.newick
Convert TreeIO parseable files into Pagel format tree files. Be warned that pagel format only really supports a single tree per file so. Also Pagel parsing is not yet available in bioperl.
To install BioPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BioPerl
CPAN shell
perl -MCPAN -e shell install BioPerl
For more information on module installation, please visit the detailed CPAN module installation guide.