- use SPARQL to find all HMDB identifiers of length 9
- make QuickStatements to remove the old identifier and add the new identifier
- run the QuickStatements
![]() |
QuickStatements website with the first 10 statements to update the HMDB identifiers for 5 Wikidata compounds. |
I ran the statements in batches, allowing me to keep track of the progress. Some reflection: there was quite a bit of references on the statements that got lost. The previous HMDB identifiers were often sourced from ChEBI. But the new identifiers do not come from there, they're sourced from Wikidata and adding "stated in" "Wikidata" did not make sense to me. Another thought is that it would have been nice to combine the removal and addition in one edit, but since they are executed right after each other, the version control will keep them together anyway.
The Bioclipse script can be found here.
No comments:
Post a Comment