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 (10 sloc) 0.305 kb
1
2
3
4
5
6
7
8
9
10
11
12
#! /usr/bin/env python
 
'''second script available, shows a simple way to concatenate
two DNA sequences, strings'''
 
myDNA = "ACGTACGTACGTACGTACGTACGT"
myDNA2 = "TCGATCGATCGATCGATCGA"
print "First and Second sequences"
print myDNA, myDNA2
myDNA3 = myDNA + myDNA2
print "Concatenated sequence"
print myDNA3