Skip to content

Commit

Permalink
Adding 'mirbase' case
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarinllao committed Oct 5, 2018
1 parent 6824d83 commit b1bccda
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pathme/wikipathways/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ def get_valid_gene_identifier(node_ids_dict, hgnc_manager):

return PFAM, pfam_name, pfam_id

elif 'mirbase.mature' in node_ids_dict['uri_id']:
mirbase_id = check_multiple(node_ids_dict['identifier'], 'mirbase_id')
mirbase_name = check_multiple(node_ids_dict['name'], 'mirbase_name')
log.warning('Adding MIRBASE node %s ', mirbase_id)

return PFAM, mirbase_name, mirbase_id

raise Exception('Unknown identifier for node %s', node_ids_dict)


Expand Down

0 comments on commit b1bccda

Please sign in to comment.