[Bioperl-l] More fun with primer3

Mike Muratet muratem at eng.uah.edu
Tue Mar 29 12:13:22 EST 2005


Greetings 

Having deduced (and heard from Rob) that Tools::Run::Primer3 produces a
Tools::Primer3 object, I tried the following:

        my $results = $primer3->run;
        print "n results ",$results->number_of_results(),"\n";
            
        my $primer = $results->next_primer();

and got

n results 4

------------- EXCEPTION  -------------
MSG: The target_sequence must be a Bio::Seq to create this object.
STACK Bio::Seq::PrimedSeq::new
/usr/local/lib/perl5/site_perl/5.8.0/Bio/Seq/PrimedSeq.pm:232
STACK Bio::Tools::Primer3::next_primer
/usr/local/lib/perl5/site_perl/5.8.0/Bio/Tools/Primer3.pm:331
STACK toplevel ./extractAlignments.pl:209

I'm at a loss, it's pretty much a cut and paste out of the docs.

Does anybody have any ideas?

Cheers

Mike

PS The perldoc (I have) of Bio::Tools::Run::Primer3 says it returns a
Bio::Tools::Run::Primer3 object and not Bio::Tools::Primer3. I think it's
the latest version.






More information about the Bioperl-l mailing list