[BioPython] Primer3Parser

Brad Chapman chapmanb at uga.edu
Sun May 11 16:25:09 EDT 2003


Hi Larry;

> I am running Primer3 on a large number of sequences, using mostly 
> default values.  In most instances, I get the default number of primers 
> (5) returned to an output file.  This writes the primers with 4 blank lines 
> at the end.  When I parse this with using Primer3Parser from Bio.Emboss.Primer,
> all is fine.  In some instances though fewer than 5 primers are returned and 
> there are more than 4 blank lines at the end of the file.  This causes 
> Primer3Parser to crash.
> 
> I was able to fix the problem, but not sure if it is the best way.  I 
> modified the Martel definitions for primer3 output contained in 
> Bio.Emboss.primer3_format.py:

Thanks for the heads up. I just committed your changes to CVS. The
Primer3Parser is definitely not the best piece of code I ever wrote
and hasn't been tested extensively enough with various outputs. Feel
free to submit any more patches for problems you find.

Thanks much!

Brad


More information about the BioPython mailing list