|
Lines 272-277
Link Here
|
| 272 |
" just an alias for six_frame_translations " |
272 |
" just an alias for six_frame_translations " |
| 273 |
return six_frame_translations(seq, genetic_code) |
273 |
return six_frame_translations(seq, genetic_code) |
| 274 |
|
274 |
|
|
|
275 |
def complement(seq): |
| 276 |
" returns the complementary sequence (NOT antiparallel) " |
| 277 |
return ''.join([IUPACData.ambiguous_dna_complement[x] for x in seq]) |
| 278 |
|
| 279 |
|
| 275 |
def six_frame_translations(seq, genetic_code = 1): |
280 |
def six_frame_translations(seq, genetic_code = 1): |
| 276 |
""" |
281 |
""" |
| 277 |
nice looking 6 frame translation with GC content - code from xbbtools |
282 |
nice looking 6 frame translation with GC content - code from xbbtools |