I have this DNA sequence:
dna_seq_edited = CUGAACUSCACUGECAUUCA and I want to cut all letters before "S" in one line using if and loop conditions
I make this script:
#Before_S = True #for i in range(len(dna_seq)): # if dna_seq[i] == 'S': # Before_S = False # continue # if Before_S:`enter code here` # print(dna_seq[i]) but i want to make this whole script in a comperhension method ex : firstexon = [my script] how can I do that???
• 22 views