Skip to content
Snippets Groups Projects
Commit d6f1f9b3 authored by Studer Gabriel's avatar Studer Gabriel
Browse files

bugfix

parent fc1dd148
No related branches found
No related tags found
No related merge requests found
...@@ -548,7 +548,7 @@ def AFDBTPLSearch(fs_server, pentamatch, trg_seq, pentamatch_n = 100, ...@@ -548,7 +548,7 @@ def AFDBTPLSearch(fs_server, pentamatch, trg_seq, pentamatch_n = 100,
aln = seq.alg.LocalAlign(trg_seq, seq.CreateSequence("A", omf_s), aln = seq.alg.LocalAlign(trg_seq, seq.CreateSequence("A", omf_s),
seq.alg.BLOSUM62)[0] seq.alg.BLOSUM62)[0]
if seq.alg.SequenceIdentity(aln) >= seqid_thresh: if seq.alg.SequenceIdentity(aln) >= seqid_thresh:
bfactors = omf.GetBFactors("A") bfactors = omf.GetAvgBFactors("A")
summed_bfac = 0.0 summed_bfac = 0.0
current_pos = aln.GetSequence(1).offset current_pos = aln.GetSequence(1).offset
for col in aln: for col in aln:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment