Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
c7f7982
1
Parent(s):
ba4abbe
Update code/add_3Dalignment.py
Browse files- code/add_3Dalignment.py +5 -2
code/add_3Dalignment.py
CHANGED
@@ -269,7 +269,10 @@ def get_alignments_3D(identifier, model_num, pdb_path, pdbSequence, source, chai
|
|
269 |
aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
|
270 |
aligner.open_gap_score = -11
|
271 |
aligner.extend_gap_score = -1
|
272 |
-
|
|
|
|
|
|
|
273 |
print('HERE LASTLY')
|
274 |
print(pdbSequence)
|
275 |
print(atomSequence)
|
@@ -309,7 +312,7 @@ def get_alignments_3D(identifier, model_num, pdb_path, pdbSequence, source, chai
|
|
309 |
aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
|
310 |
aligner.open_gap_score = -11
|
311 |
aligner.extend_gap_score = -1
|
312 |
-
|
313 |
alignments = aligner.align(pdbSequence, atomSequence)
|
314 |
alignments = (list(alignments))
|
315 |
|
|
|
269 |
aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
|
270 |
aligner.open_gap_score = -11
|
271 |
aligner.extend_gap_score = -1
|
272 |
+
|
273 |
+
|
274 |
+
|
275 |
+
atomSequence = convert_non_standard_amino_acids(atomSequence)
|
276 |
print('HERE LASTLY')
|
277 |
print(pdbSequence)
|
278 |
print(atomSequence)
|
|
|
312 |
aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
|
313 |
aligner.open_gap_score = -11
|
314 |
aligner.extend_gap_score = -1
|
315 |
+
atomSequence = convert_non_standard_amino_acids(atomSequence)
|
316 |
alignments = aligner.align(pdbSequence, atomSequence)
|
317 |
alignments = (list(alignments))
|
318 |
|