From: Jim Procter Date: Thu, 6 Oct 2022 17:13:09 +0000 (+0100) Subject: stable url for PFAM retrieval via interpro api :) JAL-4073 X-Git-Tag: Release_2_11_2_6~15 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=7372027fdb02a64ff1b812bd8149e510c82db22e;p=jalview.git stable url for PFAM retrieval via interpro api :) JAL-4073 --- 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 {