in reply to Primer3 - BioPerl

You're using Bio::Tools::Primer3, but you should be using Bio::Tools::Run::Primer3.

Replies are listed 'Best First'.
Re^2: Primer3 - BioPerl
by blarsen20 (Initiate) on Feb 06, 2012 at 20:22 UTC
    After installing BioPerl last week, Primer3 was contained in the main Bio::Tools, not Bio::Tools::Run; not sure as to why this is, but it's how it was set-up.

      It can be confusing sometimes:). You seem to be using BioPerl, so, yes, you want to write your script according to the documentation for Bio::Tools::Primer3, which is part of the BioPerl distribution. The code that you posted, however, was written according to the documentation for BioPerl-Run, which is a different distribution altogether. You were going by Bio::Tools::Run::Primer3 instead of Bio::Tools::Primer3, which is the module that you want to use.

      Update: You need to install primer3

        Ah yes, this was mentioned to me earlier this morning as well! Shame, I actually had never heard it mentioned before! :: facepalm ::

        Much appreciated! Also should help now that it's been moved to a server and off windows! Joy! Haha

        For some reason it didn't really put my reply yesterday... But yeah, someone actually mentioned that yesterday! Never knew we had to download two separate packages. :: facepalm :: So, I have it running but receive an error (see the "UPDATE" in the main post).

        The error I get as soon when dumping the results data structure via:

        my $results = $primer3->run; print Dumper($results);

        is "'PRIMER_ERROR' => 'thermodynamic approach chosen, but path to thermodynamic parameters not specified'". Not sure as to why this is, especially since it looks like that is not the default and I never passed anything in like that...hmm. Trying to modify it still, but got that error multiple times yesterday.