Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
b5ea29c
1
Parent(s):
2a5322f
Update code/add_alignment.py
Browse files- code/add_alignment.py +1 -4
code/add_alignment.py
CHANGED
@@ -45,9 +45,6 @@ def do_alignment(identifier, uniprotSequence, pdbSequence, alignment_path):
|
|
45 |
print('4')
|
46 |
print(aligner.align(uniprotSequence, pdbSequence))
|
47 |
alignments = aligner.align(uniprotSequence, pdbSequence)
|
48 |
-
print('Alignments')
|
49 |
-
print(alignments)
|
50 |
-
"""
|
51 |
alignments = (list(alignments))
|
52 |
alignment_list = []
|
53 |
for alignment in alignments:
|
@@ -59,7 +56,7 @@ def do_alignment(identifier, uniprotSequence, pdbSequence, alignment_path):
|
|
59 |
alignment_list.append(alignment)
|
60 |
print(alignment_list)
|
61 |
return alignment_list
|
62 |
-
|
63 |
|
64 |
def mutation_position_on_pdb(alignment_list, pos):
|
65 |
which_alignment_to_go = 0
|
|
|
45 |
print('4')
|
46 |
print(aligner.align(uniprotSequence, pdbSequence))
|
47 |
alignments = aligner.align(uniprotSequence, pdbSequence)
|
|
|
|
|
|
|
48 |
alignments = (list(alignments))
|
49 |
alignment_list = []
|
50 |
for alignment in alignments:
|
|
|
56 |
alignment_list.append(alignment)
|
57 |
print(alignment_list)
|
58 |
return alignment_list
|
59 |
+
|
60 |
|
61 |
def mutation_position_on_pdb(alignment_list, pos):
|
62 |
which_alignment_to_go = 0
|