Question: Please answer parts 1-7. It is a decent amount but each question bounces off of the previous one. For part 1, I have attached the
def restoFORF (DNA): "*"Takes a sequence starting with an ATG and finds first stop codon. Returns ORF. If no in-frame stop codon, return whole sequence." for i in range (0,len (DNA),3) if DNAL: (1+3)] in stopList : seq DNA[:i] return seq return DNA # Modify oneFrame(DNA) according to directions. # def oneFrame(DNA): Begining at the start of DNA, searches that one frame for all ORFs. Returns their seqs as list.""" seqL = [] f# for i in range (0,len(DNA),3): if DNA[1:1+3)-= "ATG": seq = re stofORF (DNA[i:)) seq L = seqL + [seq] # return seql
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
