def detect enzyme(seq, enzyme_dict) # Given a DNA sequence in string object and a dictionary that contains enzyme name # (key) and sequence (value), this function will not return anything, but it will # print out all the enzyme restriction sites, start and end positions, and lengths. # In the main part of your program, you need to generate the enzyme-dict dictionary # with the following keys and values. Then, you can use it as one of the function # arguments: H EcoRI H Hindlll GAATTC AAGCTT GCGGCC GGATCC Not BamHl Inside this function, you need to declare a dictionary for the detected enzymes with enzyme name as the key and a list of the tuple (start, end, length) as detected-enzyme-o # # the value. # For one enzyme, you might find multiple occurrences, so each occurrence will be one # element in the list. Then, you navigate detect-enzyme to print out findings. When your program is executed, we expect to see the following content displayed. The italic, underlined parts and […] parts are changeable (you must keep  symbol), whereas the other parts need to be printed exactly as specified (5) Enzyme Detection Name EcoRI EcoRI NotI HindIII 0 Occurrence Sequence Start GAATTC End 5 381 2 GAATTC 386 Except for functions detect enzyme) and six_frame_translation), all print statements for the required output should be within the main part of your program. While for computer science, index starts with O, sequence position always start with 1 for biologists What happens in the main part of your script? Show transcribed image text
We are a professional writing service that provides original papers. Our products include academic papers of varying complexity and other personalized services, along with research materials for assistance purposes only. All the materials from our website should be used with proper references.