[Bioperl-l] Bio::Align::DNAStatistics.pm

Dominic Rose dominic at bioinf.uni-leipzig.de
Mon Aug 25 06:40:42 EDT 2008


Hi,

just a short suggestion to improve the code:

in function

sub _build_nt_matrix()

one finds the following lines:

         my $ti_index = $NucleotideIndexes{$ti};
         my $tj_index = $NucleotideIndexes{$tj};

         if( ! defined $ti_index ) {
             print "ti_index not defined for $ti\n";
             next;
         }

However, it should be possible to avoid the printing of that error 
message. Many alignments contain N's what causes many many
"ti_index not defined for N" messages. It should be possible to switch 
that message off.

Thanks,
Dominic

-- 
Dominic Rose
Professur für Bioinformatik
Institut für Informatik
Universität Leipzig
Härtelstr. 16-18
D-04107 Leipzig
WWW    http://www.bioinf.uni-leipzig.de
Phone: +49 341 97-16698
Fax:   +49 341 97-16679


More information about the Bioperl-l mailing list