From 7e228f136a4034bd41327fb75b9d292df2ecc262 Mon Sep 17 00:00:00 2001 From: deeenes Date: Wed, 2 Nov 2022 16:01:39 +0100 Subject: [PATCH] UniProt moved its uploadlists API to legacy domain --- pypath/resources/urls.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pypath/resources/urls.py b/pypath/resources/urls.py index 8c4b6f582..e0610d628 100644 --- a/pypath/resources/urls.py +++ b/pypath/resources/urls.py @@ -30,12 +30,13 @@ urls = { 'uniprot_pdb': { 'label': 'Getting PDB IDs of 3D structures for UniProtIDs', - 'url': 'https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/docs/pdbtosp.txt' + 'url': 'https://ftp.uniprot.org/pub/databases/uniprot/' + 'current_release/knowledgebase/complete/docs/pdbtosp.txt' }, 'uniprot_basic': { 'label': 'URL for UniProt queries', 'url': 'https://legacy.uniprot.org/uniprot/', - 'lists': 'https://www.uniprot.org/uploadlists/', + 'lists': 'https://legacy.uniprot.org/uploadlists/', 'datasheet': 'https://legacy.uniprot.org/uniprot/%s.txt', 'history': 'https://legacy.uniprot.org/uniprot/%s.tab?version=*', 'deleted_sp': 'ftp://ftp.expasy.org/databases/uniprot/' @@ -48,7 +49,8 @@ 'knowledgebase/complete/docs/speindex.txt', 'taxids': 'https://www.uniprot.org/taxonomy/?query=' '*&format=tab&force=true&columns=id&compress=yes', - 'speclist': 'https://ftp.uniprot.org/pub/databases/uniprot/current_release/knowledgebase/complete/docs/speclist.txt', + 'speclist': 'https://ftp.uniprot.org/pub/databases/uniprot/' + 'current_release/knowledgebase/complete/docs/speclist.txt', }, 'corum': { 'label':