User:ProteinBoxBot/201410 sprint

From Wikidata
Jump to: navigation, search

< Previous sprint

Overall summary[edit]

Our goal is to make Wikidata the canonical resource for referencing and translating these identifiers. The goal of this sprint is to:

  1. continue adding all identifiers for human genes and proteins from User:ProteinBoxBot/201408 sprint.
  2. Create a generic workflow for additional resources
  3. Create an update bot

Participants[edit]

Background info[edit]

Human[edit]

In the last two sprints we focused on getting the genes of the human genome into Wikidata. Finally, the process consisted of two bot tasks. The first being a stub creator, where for each entrez gene entry, a stub was created. The stub contained, the title of a gene, its aliases, its entrez gene identifier and that claims that that entry was a subclass of a gene and that it was from the human species. The second bot, enriched each entry with related identifiers and chromosomal positions. The overal process was quite slow, due to multiple api calls that made. To add a claim, the bot needs to check if that claim already exists (1 call), if not a claim needs to made (2nd call), after which a reference was made (3rd call).

Check if it exists if not create an entry, add label, add aliases, state its a gene from the human species and its entry gene identifier, plus a reference to Entrez for each claim, which is 10 individual api call. For each subsequent identifier added, 3 api calls were needed. So a gene with 5 identifiers would results in a process of at least 25 api calls. In total processing all entrez human entries took us 6 weeks in total.

Mouse[edit]

On the Wikidata mailing list it was suggested to use a different api call "wbeditentities", where the whole datamodel of a Wikidata entry is submitted in one single api call. It is the objective of this sprint to adapt the ProteinBoxBot to use this "wbeditentities" call to increase its performance. As a testcase the genome of the house mouse will be added.

Disease ontology[edit]

  1. create stubs for all DO classes on Wikidata (Action Andra)
  2. create stubs for all SYMP classes on Wikidata (Action Andra)
  3. Manually complete the entry for Chapare hemorrhagic fever (Action Elvira)

Links[edit]

Original source data files[edit]

(all information coming in via http://mygene.info )

Game plan[edit]

Overview[edit]

  1. adaptation to wbentityedit API
  2. add mouse
  3. automation on schedule
  4. import DO

adaptation to wbentityedit API[edit]

  1. Refactor the existing ProteinBoxBot to use the wbeditentity api call.

add mouse[edit]

  1. test on 10 genes
  2. test on 100 genes
  3. test on 1000 genes
  4. full run

automation on schedule[edit]

  1. investigate automation by Sentry
  2. investigation integration with the update cycle of mygene.info

import DO[edit]

  1. confirm all necessary properties exist
  2. list what is already captured in wikidata
  3. prototype an example disease by hand
  4. write the bot
  5. test on 2 diseases
  6. test on 10 diseases
  7. full run