In NodeNorm Redis v2.3.28 (specifically in PR NCATSTranslator/NodeNormalization#346) I added a new top-level descriptions key to responses when description=true. This contains a list of all the non-empty descriptions for all the identifiers in case the user wants to choose from the available descriptions. I'm still keeping the first description in id.description, this is just to save the users from having to look through all the identifiers.
I think it would be useful to keep the two NodeNorms in sync, but I don't think anybody is using this functionality, so I would classify this as a low-priority improvement. If you think it would be better not to implement this, that's fine. If you can come up with a better way to design this sort of functionality, let me know and I can modify NodeNorm Redis to match NodeNorm ES instead.
Here's what it looks like when you query https://nodenorm.ci.transltr.io/get_normalized_nodes?curie=NCIT%3AC34373&conflate=false&drug_chemical_conflate=false&description=true&individual_types=false&include_taxa=true --
{
"NCIT:C34373": {
"id": {
"identifier": "MONDO:0004976",
"label": "amyotrophic lateral sclerosis",
"description": "Amyotrophic lateral sclerosis (ALS) is a neurodegenerative disease characterized by progressive muscular paralysis reflecting degeneration of motor neurons in the primary motor cortex, corticospinal tracts, brainstem and spinal cord."
},
"equivalent_identifiers": [
{
"identifier": "MONDO:0004976",
"label": "amyotrophic lateral sclerosis",
"description": "Amyotrophic lateral sclerosis (ALS) is a neurodegenerative disease characterized by progressive muscular paralysis reflecting degeneration of motor neurons in the primary motor cortex, corticospinal tracts, brainstem and spinal cord."
},
{
"identifier": "DOID:332",
"label": "amyotrophic lateral sclerosis"
},
{
"identifier": "orphanet:803"
},
{
"identifier": "UMLS:C0002736",
"label": "Amyotrophic Lateral Sclerosis"
},
{
"identifier": "MESH:D000690",
"label": "Amyotrophic Lateral Sclerosis"
},
{
"identifier": "MEDDRA:10002026"
},
{
"identifier": "MEDDRA:10052889"
},
{
"identifier": "MEDDRA:10090869"
},
{
"identifier": "NCIT:C34373",
"label": "Amyotrophic Lateral Sclerosis",
"description": "A neurodegenerative disorder characterized by progressive degeneration of the motor neurons of the central nervous system. It results in weakness and atrophy of the muscles which leads to an inability to initiate and control voluntary movements."
},
{
"identifier": "SNOMEDCT:86044005"
},
{
"identifier": "medgen:274"
},
{
"identifier": "icd11.foundation:1982355687"
},
{
"identifier": "ICD10:G12.21"
},
{
"identifier": "ICD9:335.20"
},
{
"identifier": "KEGG.DISEASE:05014"
},
{
"identifier": "HP:0007354",
"label": "Amyotrophic lateral sclerosis"
}
],
"descriptions": [
"Amyotrophic lateral sclerosis (ALS) is a neurodegenerative disease characterized by progressive muscular paralysis reflecting degeneration of motor neurons in the primary motor cortex, corticospinal tracts, brainstem and spinal cord.",
"A neurodegenerative disorder characterized by progressive degeneration of the motor neurons of the central nervous system. It results in weakness and atrophy of the muscles which leads to an inability to initiate and control voluntary movements."
],
"type": [
"biolink:Disease",
"biolink:DiseaseOrPhenotypicFeature",
"biolink:BiologicalEntity",
"biolink:ThingWithTaxon",
"biolink:NamedThing"
],
"information_content": 74.9
}
}
In NodeNorm Redis v2.3.28 (specifically in PR NCATSTranslator/NodeNormalization#346) I added a new top-level
descriptionskey to responses whendescription=true. This contains a list of all the non-empty descriptions for all the identifiers in case the user wants to choose from the available descriptions. I'm still keeping the first description inid.description, this is just to save the users from having to look through all the identifiers.I think it would be useful to keep the two NodeNorms in sync, but I don't think anybody is using this functionality, so I would classify this as a low-priority improvement. If you think it would be better not to implement this, that's fine. If you can come up with a better way to design this sort of functionality, let me know and I can modify NodeNorm Redis to match NodeNorm ES instead.
Here's what it looks like when you query https://nodenorm.ci.transltr.io/get_normalized_nodes?curie=NCIT%3AC34373&conflate=false&drug_chemical_conflate=false&description=true&individual_types=false&include_taxa=true --
{ "NCIT:C34373": { "id": { "identifier": "MONDO:0004976", "label": "amyotrophic lateral sclerosis", "description": "Amyotrophic lateral sclerosis (ALS) is a neurodegenerative disease characterized by progressive muscular paralysis reflecting degeneration of motor neurons in the primary motor cortex, corticospinal tracts, brainstem and spinal cord." }, "equivalent_identifiers": [ { "identifier": "MONDO:0004976", "label": "amyotrophic lateral sclerosis", "description": "Amyotrophic lateral sclerosis (ALS) is a neurodegenerative disease characterized by progressive muscular paralysis reflecting degeneration of motor neurons in the primary motor cortex, corticospinal tracts, brainstem and spinal cord." }, { "identifier": "DOID:332", "label": "amyotrophic lateral sclerosis" }, { "identifier": "orphanet:803" }, { "identifier": "UMLS:C0002736", "label": "Amyotrophic Lateral Sclerosis" }, { "identifier": "MESH:D000690", "label": "Amyotrophic Lateral Sclerosis" }, { "identifier": "MEDDRA:10002026" }, { "identifier": "MEDDRA:10052889" }, { "identifier": "MEDDRA:10090869" }, { "identifier": "NCIT:C34373", "label": "Amyotrophic Lateral Sclerosis", "description": "A neurodegenerative disorder characterized by progressive degeneration of the motor neurons of the central nervous system. It results in weakness and atrophy of the muscles which leads to an inability to initiate and control voluntary movements." }, { "identifier": "SNOMEDCT:86044005" }, { "identifier": "medgen:274" }, { "identifier": "icd11.foundation:1982355687" }, { "identifier": "ICD10:G12.21" }, { "identifier": "ICD9:335.20" }, { "identifier": "KEGG.DISEASE:05014" }, { "identifier": "HP:0007354", "label": "Amyotrophic lateral sclerosis" } ], "descriptions": [ "Amyotrophic lateral sclerosis (ALS) is a neurodegenerative disease characterized by progressive muscular paralysis reflecting degeneration of motor neurons in the primary motor cortex, corticospinal tracts, brainstem and spinal cord.", "A neurodegenerative disorder characterized by progressive degeneration of the motor neurons of the central nervous system. It results in weakness and atrophy of the muscles which leads to an inability to initiate and control voluntary movements." ], "type": [ "biolink:Disease", "biolink:DiseaseOrPhenotypicFeature", "biolink:BiologicalEntity", "biolink:ThingWithTaxon", "biolink:NamedThing" ], "information_content": 74.9 } }