Skip to content

Commit

Permalink
custom es mapping file added
Browse files Browse the repository at this point in the history
  • Loading branch information
NikkiBytes committed Mar 25, 2024
1 parent ba63c7c commit c4c9407
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/plugins/orthology_agr/mapping.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
def get_customized_mapping(cls):
mapping={
"agr": {
"properties": {
"orthologs": {
"properties": {
"geneid": {
"normalizer": "keyword_lowercase_normalizer",
"type": "keyword"
},
"symbol": {
"normalizer": "keyword_lowercase_normalizer",
"type": "keyword"
},
"taxid": {
"type": "integer"
},
"algorithmsmatch": {
"type": "integer"
},
"outofalgorithms": {
"type": "integer"
},
"isbestscore": {
"type": "boolean"
},
"isbestrevscore": {
"type": "boolean"
}
}
}
}
}
}
return mapping;

0 comments on commit c4c9407

Please sign in to comment.