Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
changed interpro labels (IPR...) to descriptions (human readable) in …
…graphs
  • Loading branch information
proost committed Jan 25, 2018
1 parent 5c4455d commit 0affee4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conekt/helpers/cytoscape.py
Expand Up @@ -109,9 +109,9 @@ def add_family_data_nodes(network, family_method_id):
data[i.sequence_id]["clade_count"] = 0

if "interpro" in data[i.sequence_id]:
data[i.sequence_id]["interpro"] += [i.domain.label]
data[i.sequence_id]["interpro"] += [i.domain.description]
else:
data[i.sequence_id]["interpro"] = [i.domain.label]
data[i.sequence_id]["interpro"] = [i.domain.description]

for node in completed_network["nodes"]:
if "data" in node.keys() and "gene_id" in node["data"].keys() \
Expand Down

0 comments on commit 0affee4

Please sign in to comment.