|
|
" just an alias for six_frame_translations " | " just an alias for six_frame_translations " |
return six_frame_translations(seq, genetic_code) | return six_frame_translations(seq, genetic_code) |
| |
|
def complement(seq): |
|
" returns the complementary sequence (NOT antiparallel) " |
|
return ''.join([IUPACData.ambiguous_dna_complement[x] for x in seq]) |
|
|
|
|
def six_frame_translations(seq, genetic_code = 1): | def six_frame_translations(seq, genetic_code = 1): |
""" | """ |
nice looking 6 frame translation with GC content - code from xbbtools | nice looking 6 frame translation with GC content - code from xbbtools |