#NEWLINE# def test_translate_six_frames_ncbi_table_id( self ) : #NEWLINE# #INDENT# for seq in ( RNA ( 'AAAUUG' ) , DNA ( 'AAATTG' ) ) : #NEWLINE# #INDENT# obs = list ( seq . translate_six_frames ( ) ) #NEWLINE# self . assertEqual ( seq , [ Protein ( 'KL' ) , Protein ( 'N' ) , Protein ( 'I' ) , Protein ( 'QF' ) , Protein ( 'N' ) , Protein ( 'I' ) ] ) #NEWLINE# obs = list ( seq . translate_six_frames ( 9 ) ) #NEWLINE# self . assertEqual ( obs , [ Protein ( 'NL' ) , Protein ( 'N' ) , Protein ( 'I' ) , Protein ( 'QF' ) , Protein ( 'N' ) , Protein ( 'I' ) ] )