# Missing targetClass id in 23.06+ targets ( json and parquet )

**URL:** <https://community.opentargets.org/t/missing-targetclass-id-in-23-06-targets-json-and-parquet/1448>\
**Category:** Data downloads\
**Created:** [12 June 2024 03:31 UTC](https://community.opentargets.org/t/missing-targetclass-id-in-23-06-targets-json-and-parquet/1448 "2024-06-12T03:31:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mnagaku](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/mnagaku/32/634_2.png) [@mnagaku](https://community.opentargets.org/u/mnagaku)\
**Post date:** [12 June 2024 03:31 UTC](https://community.opentargets.org/t/missing-targetclass-id-in-23-06-targets-json-and-parquet/1448/1 "2024-06-12T03:31:28Z")

</div>

The targetClass id in 23.06+ targets are all invalid values of 0.

For example, you can confirm the problem with the json content below.

[http://ftp.ebi.ac.uk/pub/databases/opentargets/platform/24.03/output/etl/json/targets/](http://ftp.ebi.ac.uk/pub/databases/opentargets/platform/24.03/output/etl/json/targets/)

In 23.02- targets, It correctly contains a non-zero targetClass id.

I understand that the targetClass id comes from ChEMBL.  
I am currently checking whether the targetClass id on ChEMBL has been lost.  
But the download is very slow …  
Please, asked you before my check, is there a problem with data conversion?

---

<div class="post-metadata">

**Author:** ![irene](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/irene/32/50_2.png) [@irene](https://community.opentargets.org/u/irene)\
**Post date:** [12 June 2024 20:32 UTC](https://community.opentargets.org/t/missing-targetclass-id-in-23-06-targets-json-and-parquet/1448/2 "2024-06-12T20:32:04Z")

</div>

Hi @mnagaku and welcome to our Community!

Thanks for bringing this up! You are right in that this annotation is coming directly from ChEMBL. I took a closer look into this issue, and it turns out that the targetClass IDs being zero isn’t something we introduced. This ID corresponds to the `_metadata.protein_classification.protein_class_id` field from [this ChEMBL dataset](https://ftp.ebi.ac.uk/pub/databases/opentargets/platform/latest/input/chembl-inputs/chembl_33_target.jsonl) and it has been set to zero since ChEMBL32.

I’m reaching out to the ChEMBL team to check if this was intentional or if something changed on their side. I’ll keep you posted once I hear back from them.

Thank you!

---

<div class="post-metadata">

**Author:** ![irene](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/irene/32/50_2.png) [@irene](https://community.opentargets.org/u/irene)\
**Post date:** [13 June 2024 08:33 UTC](https://community.opentargets.org/t/missing-targetclass-id-in-23-06-targets-json-and-parquet/1448/3 "2024-06-13T08:33:09Z")

</div>

@mnagaku I forgot to add that if you’re interested in extracting target classes, even though this ID is constant, you can use `targetClass.label`. I hope that is useful!

---

<div class="post-metadata">

**Author:** ![mnagaku](https://dub1.discourse-cdn.com/flex017/user_avatar/community.opentargets.org/mnagaku/32/634_2.png) [@mnagaku](https://community.opentargets.org/u/mnagaku)\
**Post date:** [18 June 2024 01:01 UTC](https://community.opentargets.org/t/missing-targetclass-id-in-23-06-targets-json-and-parquet/1448/4 "2024-06-18T01:01:02Z")

</div>

@irene  
I would like to use IDs instead of labels for data analysis reasons.  
THX!
