Skip to content
Snippets Groups Projects
Commit 15dc7ff2 authored by Berg, Vincent van den's avatar Berg, Vincent van den
Browse files

missed refactor

parent 8815c418
No related branches found
No related tags found
No related merge requests found
......@@ -164,13 +164,13 @@ class AraldService():
with parallel_backend('threading', n_jobs=6):
res.extend(Parallel()(delayed(self.__get_interacting_genes_from_two_qtls)(i[0], i[1]) for i in qtl_comb))
mult_eqtl = pd.concat(res)
mult_eqtl = __filter_interaction(mult_eqtl, go_score = 4)
mult_eqtl = self.__filter_interaction(mult_eqtl, go_score = 4)
# Concat the mult_eqtl with interaction to the target gene
for qtl in qtls:
df = self.neo4jReposotory.get_candidate_target_interaction(qtl.trait, qtl.chro, qtl.begin, qtl.end)
df = __filter_interaction(df, go_score = 4)
df = self.__filter_interaction(df, go_score = 4)
df = df[['candidate_label', 'candidate_id', 'evidence', 'score', 'candidate_go',
'target_go', 'database', 'target_label','target_id']]
df.columns = ['gene_label1', 'gene_id1', 'evidence', 'score', 'go_id1',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment