你可以試試,
你,
---------------------------ccagctgtttaattgagttgtcatatgttaataacggtatattggaacactgtataa-
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CCAGCTGTTTAATTGAGTTGTCATATGT-T-A-A-T-A-A-C-G-G-T-A-T-A-T-T-G-G-A-A-C-A-C-T-G-T-A-T-AA
Score=0
class bcolors:
MY_COLOR = '\033[93m'
ENDC = '\033[0m'
wcolor = (first[0][:40] + bcolors.MY_COLOR + first[0][40:55] + bcolors.ENDC + first[0][55:], first[1], first[2], first[3], first[4])
print(format_alignment(*wcolor))
你:
![color align](https://i.stack.imgur.com/uDJsz.png)
wcolor = (first[0][:27] + bcolors.MY_COLOR + first[0][27:84] + bcolors.ENDC + first[0][84:],
first[1][:27] + bcolors.MY_COLOR + first[1][27:84] + bcolors.ENDC + first[1][84:],
first[2], first[3], first[4])
print(format_alignment(*wcolor))
你:
![align color 2](https://i.stack.imgur.com/7YnxM.png)
您可以顯示兩兩序列? –