forked from cjku97/project4
-
Notifications
You must be signed in to change notification settings - Fork 16
/
main.py
26 lines (21 loc) · 1.07 KB
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Import NeedlemanWunsch class and read_fasta function
from align import read_fasta, NeedlemanWunsch
def main():
"""
This function should
(1) Align all species to humans and print species in order of most similar to human BRD
(2) Print all alignment scores between each species BRD2 and human BRD2
"""
hs_seq, hs_header = read_fasta("./data/Homo_sapiens_BRD2.fa")
gg_seq, gg_header = read_fasta("./data/Gallus_gallus_BRD2.fa")
mm_seq, mm_header = read_fasta("./data/Mus_musculus_BRD2.fa")
br_seq, br_header = read_fasta("./data/Balaeniceps_rex_BRD2.fa")
tt_seq, tt_header = read_fasta("./data/tursiops_truncatus_BRD2.fa")
# TODO Align all species to humans and print species in order of most similar to human BRD
# using gap opening penalty of -10 and a gap extension penalty of -1 and BLOSUM62 matrix
pass
# TODO print all of the alignment score between each species BRD2 and human BRD2
# using gap opening penalty of -10 and a gap extension penalty of -1 and BLOSUM62 matrix
pass
if __name__ == "__main__":
main()