Commit d0fa8292 authored by Roman Sarrazin-Gendron's avatar Roman Sarrazin-Gendron
Browse files

adjusted output

parent 0dd9df5d
......@@ -75,10 +75,10 @@ def run_fasta(input, modules_to_parse,dataset,ss = "",arguments={}):
else:
all_maxes=[]
index = 0
while index+100<len(input):
print("Running Bayespairing on sequence:",input[index:index+100])
while index+200<len(input):
print("Running Bayespairing on sequence:",input[index:index+200])
#maxs=[]
maxs = run_BP(input[index:index+100], ss, modules_to_parse, dataset, "NONE",m,n,sm,mc,k)
maxs = run_BP(input[index:index+200], ss, modules_to_parse, dataset, "NONE",m,n,sm,mc,k)
corrected_maxes = []
print(maxs)
for ind,cand in enumerate(maxs[0]):
......@@ -87,7 +87,7 @@ def run_fasta(input, modules_to_parse,dataset,ss = "",arguments={}):
else:
corrected_maxes.append(cand)
all_maxes.append(corrected_maxes)
index=index+100
index=index+200
maxs = run_BP(input[index:], ss, modules_to_parse, dataset, "NONE",m,n,sm,mc,k)
corrected_maxes = []
for ind,cand in enumerate(maxs[0]):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment