JAL-2425 raw stockholm download URLs
authorJim Procter <jprocter@issues.jalview.org>
Wed, 9 Aug 2017 18:31:29 +0000 (19:31 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Wed, 9 Aug 2017 18:31:29 +0000 (19:31 +0100)
src/jalview/ws/dbsources/PfamFull.java
src/jalview/ws/dbsources/PfamSeed.java
src/jalview/ws/dbsources/RfamFull.java
src/jalview/ws/dbsources/RfamSeed.java

index 3c5373d..12b193d 100644 (file)
@@ -39,9 +39,15 @@ public class PfamFull extends Pfam
   @Override
   protected String getXFAMURL()
   {
-    return "http://pfam.xfam.org/family/alignment/download/format?alnType=full&format=stockholm&order=t&case=l&gaps=default&entry=";
+    return "http://pfam.xfam.org/family/";
+
   }
 
+  @Override
+  public String getXFAMURLSUFFIX()
+  {
+    return "/alignment/full";
+  }
   /*
    * (non-Javadoc)
    * 
index ba9d1e0..9f07e5d 100644 (file)
@@ -41,9 +41,14 @@ public class PfamSeed extends Pfam
   @Override
   protected String getXFAMURL()
   {
-    return "http://pfam.xfam.org/family/alignment/download/format?alnType=seed&format=stockholm&order=t&case=l&gaps=default&entry=";
+    return "http://pfam.xfam.org/family/";
   }
 
+  @Override
+  public String getXFAMURLSUFFIX()
+  {
+    return "/alignment/seed";
+  }
   /*
    * (non-Javadoc)
    * 
index e6fc8ff..e263c4b 100644 (file)
@@ -41,10 +41,15 @@ public class RfamFull extends Rfam
   @Override
   protected String getXFAMURL()
   {
-    return "http://rfam.xfam.org/family/alignment/download/format?alnType=full&nseLabels=0&format=stockholm&acc=";
+    return "http://rfam.xfam.org/family/";
 
   }
 
+  @Override
+  public String getXFAMURLSUFFIX()
+  {
+    return "/alignment/full";
+  }
   /*
    * (non-Javadoc)
    * 
index 580ebe2..b2fe72e 100644 (file)
@@ -42,14 +42,11 @@ public class RfamSeed extends Rfam
   protected String getXFAMURL()
   {
     return "http://rfam.xfam.org/family/";
-    // Janelia Farms url
-    // "http://rfam.janelia.org/cgi-bin/getalignment?type=seed&fmt=stockholm&acc=";
   }
 
   @Override
   public String getXFAMURLSUFFIX()
   {
-    return "/alignment";
   }
 
   /*