PHI-base / curation

PHI-base curation
0 stars 0 forks source link

Problems loading Uniprot IDs into PhiBase5 #109

Closed JonMWilkes closed 2 years ago

JonMWilkes commented 2 years ago

@jseager7 @CuzickA I have identified a gene of interest in a study I want to annotate: uniprotSS01 However when I try to load this into the Gene List I get: phib5_01 I have tried with a variety of ids for several proteins. Some already entered in other annotations are accepted, while novel ids seem to be rejected. Is there an issue with lookup to Uniprot? If I can't upload the genes is there a workaround to allow further annotation?

jseager7 commented 2 years ago

@JonMWilkes Thanks for flagging this up. This might be because UniProtKB has changed its API as part of its migration to the new website (possibly without warning its consumers), or because Canto's UniProtKB adapter is broken for some other reason.

I think the reason the existing UniProtKB IDs still work is because Canto caches data from UniProtKB to avoid having to look up data repeatedly, and the cache is probably kept indefinitely.

I'll open an issue on the upstream Canto repository since this will need to be fixed for all versions of Canto that use UniProt.

jseager7 commented 2 years ago

This problem should be fixed by https://github.com/pombase/canto/commit/7920bb611e62eb8c0a8dab903399c4c0bd1cc3ff.

I've updated the PHI-Canto server and confirmed that accession number A9QUN1 now loads as expected.

JonMWilkes commented 2 years ago

Hi @jseager7 - many thanks for this. I'll let you know how I get on.