Assignment 7: Synthetic...

10
Assignment 7: Synthetic Biology March 3, 2017

Transcript of Assignment 7: Synthetic...

Page 1: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

Assignment7:SyntheticBiology

March3,2017

Page 2: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

GeneSynth

Page 3: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment
Page 4: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

GoalofAssignment

• Designprimerstosyntheticallyconstructanovelpeptide.• UseRecursiveFunctiontogenerateprimersequences

• Narrowdownprimersbasedonpreferredannealingtemperaturesandbyavoidingparticularrestrictionsites.• Booleansareadatatypewithtwovalues,TrueandFalseinpython.• Whenyouareusingan“if”statementyouarereallyevaluatingwhetherastatementisTrueorFalse.

Page 5: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

Codontable

SincesomeAAshavemultiplecodonsequences,thecodemustbeabletogenerateallcombinationofsequencespossible.

Page 6: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

BooleanExamples

>>>A=1ifA==1:(evaluatestoTrue)Dosomething

else:(abovewasFalse)Dosomethingelse

>>>A=10whileA>5:(EvaluatestoTruewhenAis10,9,8,7,6)(FalsewhenA=5)Print(A)A=A-1

>>>A=1A==2 evaluates toFalseA>1evaluates toFalseA<1evaluates toFalse0<Aevaluates toTrueTrueand Trueevaluates toTrueTrueand False evaluates toFalseFalse andFalse evaluates toFalseTrueand Trueevaluates toTruenotFalse evaluates toTruenotTrue evaluates toFalseFalse orTrueevaluates toTrueFalse orFalse evaluates toFalseTrueorTrue evaluates toTrue

Page 7: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

Usingbooleans ->identifyparticularsequences

AnyandAllallowyoutosee ifastringappears inanotherstringorlistordictionary.• Anyactsasan“or”soFalseorFalseorTrueevaluatestoTrue.• Allactsasan“and”soFalse andFalseandTrueevaluates toFalse.

*Anytime aTrue isinan“or”statement,wholestatement isTrue.*Anytime aFalse isinan“and”statement,wholestatement isFalse.

Page 8: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

Howtocalculatemeltingtemperature

MT=64.9+(41.0*(#G+#C- 16.4)/Lengthofoligo)

• Allprimersmustbewithin0.5degreesof58.0degreesCelsius!• Couldwriteanotherfunctionthatchecksforthis:

ie.def meltingtemp(DNA_seq):

Page 9: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

Yourassignment

• Youaregivenafunction(PolkCode)thatconvertsaminoacidsequencestoallpossiblenucleotidesequences.• Given3AAsequences,youneedtofindnucleotideoutputsbasedwithinacertaintemperaturerangewithsequencerestrictions.• YourcodewilltakeAAsequence(s)andmeltingtemperature(Tm)asinputandoutputallnucleotidesequencesmeetingthecriteria.•Considermakingyourcodesothatincantakeanynumberofinputs.

Page 10: Assignment 7: Synthetic Biologygenetics.wustl.edu/bio5488/files/2017/03/StudentAssignment7_slide… · Assignment 7: Synthetic Biology March 3, 2017. Gene Synth. Goal of Assignment

Requirements

•DueWednesday(3/22/16) beforeclass.•Yoursubmissionfoldershouldcontain:

• modified Polk.py script(cantake ineither2ormorearguments)• README.txt filewithinstructions onhowtorunyourprogramandatableoftheDNAstrings andtemperatures foreachAAinputted.

• ShouldprintPrimersequences andMelting Temperature• Remembertocommentyourscript!