Jason Stajich | 5 Nov 05:25 2013
Picon

Re: Error with Pal2Nal: Can't call method "run" on an undefined value

Reading the documentation for the module can help - see the perldoc. For example:

	use Bio::Tools::Run::Alignment::Pal2Nal;

         # Make a Pal2Nal factory
         $factory = Bio::Tools::Run::Alignment::Pal2Nal->new();

On Oct 23, 2013, at 8:38 PM, Peng Wang <pwang521 <at> gmail.com> wrote:

> I am trying to use Pal2Nal through the scripts:
> 
> use Bio::Tools::Run::Alignment::Pal2Nal;
> $aln = $factory->run($pep_aln, $dnafile);
> 
> The system returned the error message:
> 
> Can't call method "run" on an undefined value at ...
> 
> 
> Anybody knows what the problem is and how I should fix it?
> 
> Thanks in advance.
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l <at> lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/bioperl-l

Jason Stajich
jason.stajich <at> gmail.com
jason <at> bioperl.org

Gmane