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

Chris Fields cjfields at illinois.edu
Fri Oct 8 15:16:21 UTC 2010


Correct, MatrixI (and pretty much any other module 'FooI') are interfaces for API consistency.

chris

On Oct 8, 2010, at 9:37 AM, Dave Messina wrote:

> 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 
> 
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l





More information about the Bioperl-l mailing list