pantherdb / pango

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fill empty "slim_terms" field with "Other" phrase in annotation JSON #3

Closed dustine32 closed 1 year ago

dustine32 commented 1 year ago

In IBA annotations, occasionally the term doesn't have any slim terms. This is because the annotated term has no ancestors in the GO generic slim. Fill with "Other..." value matching the aspect of annotated term:

tmushayahama commented 1 year ago

@dustine32 let create some dummy term ids. with also aspect. Thanks

dustine32 commented 1 year ago

@tmushayahama Will do, thanks! So our example term will look like:

    {
        "ID": "OTHER:0001",
        "LABEL": "Other molecular function",
        "hasOBONamespace": "molecular_function",
        "is_goslim": true
    }