Skip to content

Grounding records have extraineous fields #1097

@jvwong

Description

@jvwong

There are cases where a participant (entity) association record has extra fields. These fields are unrelated to the type, and appear to be merged from another record.

Example:

Association (extra fields like Organism - looks like record from poly(rC) binding protein 2)

"association": {
    "charge": 0 ,
    "combinedOrganismIndex": 0 ,
    "dbName": "ChEBI" ,
    "dbPrefix": "CHEBI" ,
    "dbXrefs": [
        {
            "db": "MGI" ,
            "id": "MGI:108202"
        } ,
        {
            "db": "Ensembl" ,
            "id": "ENSMUSG00000056851"
        }
    ] ,
    "defaultOrganismIndex": 0 ,
    "distance": 0.6842105263157895 ,
    "esScore": 1.3025038 ,
    "formulae": [
        "C14H23N3OS"
    ] ,
    "id": "10056" ,
    "inchi": "InChI=1S/C14H23N3OS/c1-3-4-5-6-10-18-14-13(15-19-16-14)12-8-7-9-17(2)11-12/h8H,3-7,9-11H2,1-2H3" ,
    "inchiKey": "JOLJIIDDOBNFHW-UHFFFAOYSA-N" ,
    "mass": 281.417 ,
    "monoisotopicMass": 281.15618 ,
    "name": "xanomeline" ,
    "nameDistance": 0.6842105263157895 ,
    "namespace": "chebi" ,
    "organism": "10090" ,
    "organismIndex": 0 ,
    "organismName": "Mus musculus" ,
    "overallDistance": 6800000068 ,
    "shortSynonyms": [
        "xanomeline" ,
        "LY 246708" ,
        "5-[4-(hexyloxy)-1,2,5-thiadiazol-3-yl]-1-methyl-1,2,3,6-tetrahydropyridine"
    ] ,
    "summary": "A canonical ribonucleotide residue derived from cytidine 5'-monophosphate" ,
    "synonyms": [
        "LY 246708" ,
        "5-[4-(hexyloxy)-1,2,5-thiadiazol-3-yl]-1-methyl-1,2,3,6-tetrahydropyridine"
    ] ,
    "type": "chemical"
}

here's what comes out of the grounding service for CHEBI:10056:

{
	"namespace": "chebi",
	"type": "chemical",
	"dbName": "ChEBI",
	"dbPrefix": "CHEBI",
	"id": "10056",
	"name": "xanomeline",
	"inchi": "InChI=1S/C14H23N3OS/c1-3-4-5-6-10-18-14-13(15-19-16-14)12-8-7-9-17(2)11-12/h8H,3-7,9-11H2,1-2H3",
	"inchiKey": "JOLJIIDDOBNFHW-UHFFFAOYSA-N",
	"synonyms": [
		"LY 246708",
		"5-[4-(hexyloxy)-1,2,5-thiadiazol-3-yl]-1-methyl-1,2,3,6-tetrahydropyridine"
	],
	"charge": 0,
	"mass": 281.417,
	"monoisotopicMass": 281.15618,
	"formulae": [
		"C14H23N3OS"
	]
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions