Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- seq='GATCTTAGCTTTAAAGCCC'
- seq2=seq
- seq2=seq2.replace('A','t')
- seq2=seq2.replace('C','g')
- seq2=seq2.replace('T','a')
- seq2=seq2.replace('G','c')
- seq2=seq2.upper()
- print(seq2[::-1])
- #print(''.join(reversed(seq2)))
Advertisement
Add Comment
Please, Sign In to add comment