[BioPython] Emboss eprimer3-Product Size Range

Stefanie Lück lueck at ipk-gatersleben.de
Mon Dec 1 13:13:21 UTC 2008


Hi!

I'm working with Emboss eprimer3 and I have a short question:

How can I enter the paramter "product size range"? Usually it's something like 500-1000 450-500 etc.
If I add this into python, nothing happens:

from Bio import Fasta
from Bio.Emboss.Applications import Primer3Commandline
from Bio.Application import generic_run
from Bio.Emboss import Primer3
        
primer_cl = Primer3Commandline()
primer_cl.set_parameter("-sequence", "in.txt")
primer_cl.set_parameter("-outfile", "out.pr3")
primer_cl.set_parameter("-productsizerange", "100-200")
primer_cl.set_parameter("-target", "%s,%s" % (50, 100))
result, messages, errors = generic_run(primer_cl)

Whereas

primer_cl.set_parameter("-productsizerange", "100")

gives a primer output.

Thanks in advance!
Stefanie





More information about the Biopython mailing list