예제 #1
0
matchers_full = listdir(str(dir + 'ExperimentData/'))
matchers = []
for m in matchers_full:
    if path.exists(dir + 'ExperimentData/' + m +
                   '/Excel - CIDX/report.log') and m not in groups['ones']:
        matchers += [m]
    elif m not in groups['ones']:
        print(m, listdir(str(dir + 'ExperimentData/' + m)))
print('found ', len(matchers), ' matchers')
sys.stdout.flush()
matchers_ids = dict(enumerate(matchers))

# matchers = matchers[:5]

evaluator = E.Evaluator()
quality = {}
features = {}
match_seqs = {}
acc_seqs = {}
P_seqs = {}  # new
F_seqs = {}  # new
pred_seqs = {}
new_conf_seqs = {}  # new
P_pred_seqs = {}  # new
F_pred_seqs = {}  # new
conf_seqs = {}
time_seqs = {}
consensus_seqs = {}
sug_seqs = {}
alg_seqs = {}
예제 #2
0
matchers_full_OA = listdir(str(dir + 'ontoExperimentData/'))
matchers_OA = []
for m in matchers_full_OA:
    if path.exists(dir + 'ontoExperimentData/' + m +
                   '/Excel - CIDX/report.log') and m not in groups['ones']:
        matchers_OA += [m]
    elif m not in groups['ones']:
        print(m, listdir(str(dir + 'ontoExperimentData/' + m)))
print('found ', len(matchers_OA), ' ontology matchers')
sys.stdout.flush()
matchers_ids_OA = dict(enumerate(matchers_OA))

# matchers_SM = matchers_SM[:5]
# matchers_OA = matchers_OA[:5]

evaluator_SM = E.Evaluator()
evaluator_OA = E_onto.Evaluator()
quality = {}
features = {}
match_seqs = {}
acc_seqs = {}
P_seqs = {}  # new
F_seqs = {}  # new
pred_seqs = {}
new_conf_seqs = {}  # new
P_pred_seqs = {}  # new
F_pred_seqs = {}  # new
conf_seqs = {}
time_seqs = {}
consensus_seqs = {}
sug_seqs = {}