Spaces:
Sleeping
Sleeping
Commit
·
655ea6b
1
Parent(s):
9766a26
Update code/add_alignment.py
Browse files- code/add_alignment.py +3 -0
code/add_alignment.py
CHANGED
|
@@ -8,6 +8,9 @@ from Bio.pairwise2 import format_alignment
|
|
| 8 |
|
| 9 |
def do_alignment(identifier, uniprotSequence, pdbSequence, alignment_path):
|
| 10 |
print(f'Aligning Datapoint: {identifier}')
|
|
|
|
|
|
|
|
|
|
| 11 |
if len(pdbSequence) >= 1:
|
| 12 |
#f = open(Path(alignment_path / f'{identifier}_alignment.txt'),"w")
|
| 13 |
aligner.mode = 'local'
|
|
|
|
| 8 |
|
| 9 |
def do_alignment(identifier, uniprotSequence, pdbSequence, alignment_path):
|
| 10 |
print(f'Aligning Datapoint: {identifier}')
|
| 11 |
+
print(pdbSequence)
|
| 12 |
+
print('uniprot Seq')
|
| 13 |
+
print(uniprotSequence)
|
| 14 |
if len(pdbSequence) >= 1:
|
| 15 |
#f = open(Path(alignment_path / f'{identifier}_alignment.txt'),"w")
|
| 16 |
aligner.mode = 'local'
|