SACGF / SACGF/variantgrid

Classification condition db_refs formatted with white-space ie "OMIM: 248200"

Open
#1,372 3 comments 0 reactions 1 assignee Claimed by @TheMadBug View on GitHub
enhancement
Dominant language
Python
Stars
30
Forks
3
Avg merge
9h 28m
Merged PRs (30d)
42

Description

Conditions are matched for terms, then these are put into the ```evidence["condition"]["db_refs"] ```In SA Path this looks like:

```
condition: {'value': 'OMIM:248200', 'db_refs': [{'db': 'OMIM', 'id': 'OMIM: 248200', 'idx': '248200', 'url': 'http://www.omim.org/entry/248200', 'summary': 'STARGARDT DISEASE 1; STGD1'}]}
```

The ID here has a space in it, so can't actually be used as a OntologyTerm PK

JA confirms that this is still the case in master/latest code:

```
“id”: “PMID: 10980530",
“id”: “MONDO: 0008840",
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.