[BioPython] using a variable as input for restriction enzyme

Douglas Kojetin douglas.kojetin at gmail.com
Fri Dec 9 10:25:02 EST 2005


Hi All-

How do I use a variable to specify the restriction enzyme?

Example --  instead of using the following call:

   Restriction.EcoR1.elucidate()

instead (somehow) use a variable to specify the restriction enzyme:

   rsite='EcoR1'
   Restriction.rsite.elucidate()

Thanks,
Doug



More information about the BioPython mailing list