Skip to content

Commit

Permalink
SGD query (#121)
Browse files Browse the repository at this point in the history
Added transformations for SGD in query, and added additional mapping to query SGD.

* added sgd to mapping in src code

* added sgd to mapping in src code
  • Loading branch information
NikkiBytes committed Dec 3, 2021
1 parent 8acc785 commit a99da45
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config_web.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"wormbase:": r"WormBase:",
"tair:": r"TAIR:",
"zfin:": r"ZFIN:",
"sgd:": r"SGD:",
"xenbase:": r"Xenbase:",
"mirbase:": r"miRBase:",
}
Expand Down
4 changes: 4 additions & 0 deletions src/hub/dataload/sources/entrez/gene_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ def get_mapping(klass):
"type": "keyword", # ZDB-GENE-040426-2741
"normalizer" : "keyword_lowercase_normalizer",
},
"SGD": {
"type": "keyword", # S000003566
"normalizer" : "keyword_lowercase_normalizer",
},
"Xenbase": {
"type": "keyword",
"normalizer" : "keyword_lowercase_normalizer",
Expand Down

0 comments on commit a99da45

Please sign in to comment.