I want to write python program to cut a DNA sequence at an EcoRI restriction site and print the two fragments after cutting
import Bio
from Bio.Seq import Seq
my_seq = Seq(&quot;aaaaaaaaaaatttttttttttgaattccccccccccggggggggggg&quot;)
from Bio.Restriction import *
print(EcoRI.search(my_seq))
print(EcoRI.catalyse(my_seq))


Actully the EcoRI cuts the DNA after G in restriction site GAATTC.