Spaces:
Sleeping
Sleeping
fatmacankara
commited on
Commit
·
ba4abbe
1
Parent(s):
9029142
Update code/add_3Dalignment.py
Browse files- code/add_3Dalignment.py +6 -4
code/add_3Dalignment.py
CHANGED
@@ -269,6 +269,11 @@ 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 |
alignments = aligner.align(pdbSequence, atomSequence)
|
273 |
alignments = (list(alignments))
|
274 |
return alignments, coords, resnums_for_sasa
|
@@ -304,10 +309,7 @@ def get_alignments_3D(identifier, model_num, pdb_path, pdbSequence, source, chai
|
|
304 |
aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
|
305 |
aligner.open_gap_score = -11
|
306 |
aligner.extend_gap_score = -1
|
307 |
-
|
308 |
-
print(pdbSequence)
|
309 |
-
print(atomSequence)
|
310 |
-
print(aligner.align(pdbSequence, atomSequence))
|
311 |
alignments = aligner.align(pdbSequence, atomSequence)
|
312 |
alignments = (list(alignments))
|
313 |
|
|
|
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)
|
276 |
+
print(aligner.align(pdbSequence, atomSequence))
|
277 |
alignments = aligner.align(pdbSequence, atomSequence)
|
278 |
alignments = (list(alignments))
|
279 |
return alignments, coords, resnums_for_sasa
|
|
|
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 |
|