blarsen20 has asked for the wisdom of the Perl Monks concerning the following question:
Greetings monks! I come in seek of help regarding a perl module from bioperl tools, Primer3. Whenever I run it normally get something such as "unallowed parameter". It calls all the modules correctly though, seen in:
#!/usr/local/bin/perl use warnings; use strict; use Bio::SeqIO; use Bio::Seq; use Bio::Tools::Primer3; use Data::Dumper;
However, when I call something such as $primer3->arguments to see the list of arguments, it doesn't work. Code within the program:
my $seqio = new Bio::SeqIO( -file => "<(PRIVATE)/fastaUplist.fa", + -format =>'fasta'); my $seq = $seqio->next_seq; my $primer3 = Bio::Tools::Primer3->new( -seq=>$seq, -path=>"(PRIVATE)/primer3_core" ); my $argref = $primer3->arguments(); print Dumper($argref);
Any ideas as to why this is not working?? Could there be an error due to the .pm file often referring to itself as Bio::Tools::Run::Primer3 instead of Bio::Tools::Primer3 as it's packaged now? Thanks!
UPDATE: Whenever I run it now I get 0 results back seen in the $results section via data dumper where:
'maximum_primers_returned' => -1,Also, if running it a different way I get nonsense about "thermodynamic approach chosen, but path to thermodynamic parameters not specified". Meh? It's weird since it can be ran from the command line with the example in the primer3 manual seen here: http://umbc.rnet.missouri.edu/resources/primer3_manual.htm#example However, when running with our own file there were errors (thermodynamic approach... as mentioned above). This was just to test the executable primer3_core though, because we want to use the module for development elsewhere. Any suggestions?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Primer3 - BioPerl
by Corion (Patriarch) on Feb 06, 2012 at 18:22 UTC | |
by blarsen20 (Initiate) on Feb 06, 2012 at 20:18 UTC | |
|
Re: Primer3 - BioPerl
by Khen1950fx (Canon) on Feb 06, 2012 at 19:05 UTC | |
by blarsen20 (Initiate) on Feb 06, 2012 at 20:22 UTC | |
by Khen1950fx (Canon) on Feb 07, 2012 at 05:13 UTC | |
by blarsen20 (Initiate) on Feb 07, 2012 at 16:14 UTC | |
by Anonymous Monk on Feb 08, 2012 at 15:14 UTC | |
by datz (Initiate) on Mar 26, 2012 at 02:50 UTC | |
|