public
Description: repository for the code featured in the blog
Homepage: http://python.genedrift.org
Clone URL: git://github.com/nuin/beginning-python-for-bioinformatics.git
100755 12 lines (8 sloc) 0.189 kb
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/env python
 
'''
extremely simple script to DNA transcription
'''
 
 
myDNA = 'ACGTTGCAACGTTGCAACGTTGCA'
#string buil-in replace method
myRNA = myDNA.replace('T', 'U')
print myRNA