DNA sequences are now encoded on 4 bits when they are in IUPAC

This commit is contained in:
Celine Mercier committed 2015-11-20 15:32:09 +01:00
1 parent 87044b41d8
commit 6aa2f92930
5 files changed
+318 -54

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ def random_obivalue(data_type):
return randoms
elif data_type == "OBI_SEQ" :
length = randint(1,200)
randoms = ''.join(choice("atgc") for i in range(length))
randoms = ''.join(choice("atgcryswkmdbhvn") for i in range(length))
return randoms
class OBIDMS_Column_TestCase(unittest.TestCase):