in reply to Re^4: how to combine these two scripts in perl?
in thread how to combine these two scripts in perl?

I know nothing about bioinformatics but have you tried using the object returned by ->align in the iterator loop ?

#!perl my $factory = Bio::Tools::Run::Alignment::Clustalw ->new(-matrix => 'BLOSUM'); . . . my $alnio = $factory->align($seq_array_ref); while( my $aln = $alnio->next_aln ) { . . }
poj