Skip to content

Commit

Permalink
updated the reference URL as a partial sollution for #28
Browse files Browse the repository at this point in the history
  • Loading branch information
andrawaag committed Feb 6, 2019
1 parent b1f1507 commit 6fb40a8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scheduled_bots/geneprotein/GOBot.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,11 @@ def make_go_ref(curator, pmid_map, external_id, uniprot_id, evidence_wdid, retri

# reference URL
# ref_url = "http://www.ebi.ac.uk/QuickGO/GAnnotation?protein={}".format(uniprot_id)
ref_url = "http://www.ebi.ac.uk/QuickGO/annotations?protein={}&geneProductId=UniProtKB:{}".format(uniprot_id,
uniprot_id)
reference.append(wdi_core.WDString(ref_url, 'P854', is_reference=True))
ref_url = "http://www.ebi.ac.uk/QuickGO/annotations?geneProductId=UniProtKB:{}".format(uniprot_id)
reference.append(wdi_core.WDString(ref_url, 'P854', is_reference=True)) # P854 = "reference URL"

# ref determination method
reference.append(wdi_core.WDItemID(evidence_wdid, 'P459', is_reference=True))
reference.append(wdi_core.WDItemID(evidence_wdid, 'P459', is_reference=True)) # P459 = determination model

return reference

Expand Down

0 comments on commit 6fb40a8

Please sign in to comment.