[Bioperl-l] use primer3 to design primers with multiple sequences

Wiersma, Paul WiersmaP at AGR.GC.CA
Tue May 9 01:28:27 UTC 2006


Hi Li,

 

When you execute $primer3->run with a Bio::Tools::Run::Primer3 object it
opens -outfile=>"filename" for writing and then closes.  That's why
putting it in a loop will overwrite your output file each time so you
only see the last one.  I suppose you could read in each output file
before looping to the next seq and append it to another file.

 

If you're doing a fair bit of work with this module it would be worth
looking at the Bio::Tools::Primer3 module.  The statement $result =
$primer3->run produces a Bio::Tools::Primer3 object which has all the
methods you need for customizing your output.

 

Paul

 

Paul A. Wiersma
Agriculture and Agri-Food Canada/Agriculture et Agroalimentaire Canada
Summerland, BC

wiersmap at agr.gc.ca

 

 





More information about the Bioperl-l mailing list