fatmacankara commited on
Commit
94571a2
·
1 Parent(s): 237590f

Update code/add_alignment.py

Browse files
Files changed (1) hide show
  1. code/add_alignment.py +4 -0
code/add_alignment.py CHANGED
@@ -14,9 +14,13 @@ def do_alignment(identifier, uniprotSequence, pdbSequence, alignment_path):
14
  #if len(pdbSequence) >= 1:
15
  #f = open(Path(alignment_path / f'{identifier}_alignment.txt'),"w")
16
  aligner.mode = 'local'
 
17
  aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
 
18
  aligner.open_gap_score = -11
 
19
  aligner.extend_gap_score = -1
 
20
  alignments = aligner.align(uniprotSequence, pdbSequence)
21
  print('Alignments')
22
  print(alignments)
 
14
  #if len(pdbSequence) >= 1:
15
  #f = open(Path(alignment_path / f'{identifier}_alignment.txt'),"w")
16
  aligner.mode = 'local'
17
+ print('1')
18
  aligner.substitution_matrix = substitution_matrices.load("BLOSUM62")
19
+ print('2')
20
  aligner.open_gap_score = -11
21
+ print('3')
22
  aligner.extend_gap_score = -1
23
+ print('4')
24
  alignments = aligner.align(uniprotSequence, pdbSequence)
25
  print('Alignments')
26
  print(alignments)