[Bioperl-l] Bio::Matrix::MatrixI

Dave Messina David.Messina at sbc.su.se
Fri Oct 8 10:37:27 EDT 2010


Hi Anna,

You will want to use Bio::Matrix::IO to read in a Phylip matrix.

Something like:

use Bio::Matrix::IO;
my $parser = Bio::Matrix::IO->new(-format   => 'phylip',
                                  -file     => 'phylipdist.out');
my $matrix = $parser->next_matrix;


Dave


On Sep 29, 2010, at 15:28 , <A.Vakhrusheva at lumc.nl> wrote:

> Bio::Matrix::MatrixI
> 
> I have a question concerning this interface.
> 
> I want to calculate p distances matrix, but what format is acceptable
> for input? Phylip doesn't work
> 
> Anna 



More information about the Bioperl-l mailing list