From 7372027fdb02a64ff1b812bd8149e510c82db22e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 6 Oct 2022 18:13:09 +0100 Subject: [PATCH] stable url for PFAM retrieval via interpro api :) JAL-4073 --- src/jalview/ws/dbsources/Pfam.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/jalview/ws/dbsources/Pfam.java b/src/jalview/ws/dbsources/Pfam.java index 93001a4..26c907c 100644 --- a/src/jalview/ws/dbsources/Pfam.java +++ b/src/jalview/ws/dbsources/Pfam.java @@ -39,7 +39,7 @@ import jalview.util.Platform; abstract public class Pfam extends Xfam { public static final String FULL = "full", RP35 = "rp35", RP15 = "rp15", - RP75 = "rp75", RP55 = "rp55", SEED = "seed"; + RP75 = "rp75", RP55 = "rp55", SEED = "seed", UNIPROT = "uniprot"; public String getPfamDownloadURL(String id, String alType) { @@ -53,7 +53,10 @@ abstract public class Pfam extends Xfam protected String alignmentType; - private static final String DEFAULT_PFAM_BASEURL = "https://www.ebi.ac.uk/interpro/wwwapi/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE$&download"; + /** + * docs are http://www.ebi.ac.uk/interpro/api/ + */ + private static final String DEFAULT_PFAM_BASEURL = "www.ebi.ac.uk/interpro/api/entry/pfam/$PFAMID$/?annotation=alignment:$ALTYPE"; static { -- 1.7.10.2