Commit 52bad031 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch 'uniprot-issue' into 1725-sbgn-authors

parents 9fa0ae88 3855529c
Pipeline #58491 passed with stage
in 30 minutes and 40 seconds
......@@ -9,10 +9,15 @@ minerva (16.3.0) unstable; urgency=medium
Pathway Identifier (like in pathway WP3165)
* Bug fix: upload of wikipathway WP4657 was impossible
* Bug fix: special character in annotation id (like "HGNC_SYMBOL:SNC&A"
generated corrupted GPML on export
generated corrupted GPML on export
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 27 Jun 2022 15:00:00 +0200
minerva (16.2.4) stable; urgency=medium
* Bug fix: rest api of uniprot.org changed
-- Piotr Gawron <piotr.gawron@uni.lu> Wed, 29 Jun 2022 14:00:00 +0200
minerva (16.2.3) stable; urgency=medium
* Bug fix: old user accounts could have problems when working when selecting
annotators (#1722)
......
......@@ -138,10 +138,7 @@ public class TairAnnotatorImpl extends ElementAnnotator implements TairAnnotator
* @return URL to UniProt result page with the TAIR mapping
*/
private String getUniProtUrl(final String tairId) {
return "https://www.uniprot.org/uniprot/?query=database%3A%28type%3Atair%29+" + tairId
+ "&format=tab&columns=id,database(tair)";
// return
// "https://www.uniprot.org/uniprot/?query=database%3A%28type%3Atair+"+tairId+"%29&format=list&columns=id";
return "https://legacy.uniprot.org/uniprot/?query=database%3A%28type%3Atair%29+" + tairId + "&format=tab&columns=id,database(tair)";
}
/**
......
......@@ -165,7 +165,7 @@ public class UniprotAnnotatorImpl extends ElementAnnotator implements UniprotAnn
* @return url to uniprot restfull API about uniprot entry
*/
private String getUniprotUrl(final String uniprotId) {
return "https://www.uniprot.org/uniprot/" + uniprotId + ".txt";
return "https://legacy.uniprot.org/uniprot/" + uniprotId + ".txt";
}
/**
......@@ -177,7 +177,7 @@ public class UniprotAnnotatorImpl extends ElementAnnotator implements UniprotAnn
* @return URL to UniProt result page with the TAIR mapping
*/
private String getUniProtTairLocus2IdUrl(final String tairLocusName) {
return "https://www.uniprot.org/uniprot/?query=database%3A%28type%3Atair+" + tairLocusName
return "https://legacy.uniprot.org/uniprot/?query=database%3A%28type%3Atair+" + tairLocusName
+ "%29&format=tab&columns=id,database(tair)";
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment