X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fws%2Fdbsources%2FRfamSeed.java;h=a3b6294e9c602e3349b62494a31a6203fe719397;hb=refs%2Fheads%2FRelease_2_9_0b1_Branch;hp=47ba60d0f05bd3091d8a6caaf3bb4b882329e963;hpb=b2f9a8d7bce642ff4011bc6d49e02bb0569fbb11;p=jalview.git diff --git a/src/jalview/ws/dbsources/RfamSeed.java b/src/jalview/ws/dbsources/RfamSeed.java index 47ba60d..a3b6294 100644 --- a/src/jalview/ws/dbsources/RfamSeed.java +++ b/src/jalview/ws/dbsources/RfamSeed.java @@ -1,19 +1,21 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.1) - * Copyright (C) 2014 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) + * Copyright (C) 2015 The Jalview Authors * * This file is part of Jalview. * * Jalview is free software: you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. * * Jalview is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty * of MERCHANTABILITY or FITNESS FOR A PARTICULAR * PURPOSE. See the GNU General Public License for more details. * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . * The Jalview Authors are detailed in the 'AUTHORS' file. */ package jalview.ws.dbsources; @@ -38,33 +40,43 @@ public class RfamSeed extends Rfam implements DbSourceProxy * * @see jalview.ws.dbsources.Rfam#getRFAMURL() */ + @Override protected String getXFAMURL() { - return "http://rfam.sanger.ac.uk/family/alignment/download/format?alnType=seed&nseLabels=0&format=stockholm&acc="; + 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"; + } /* * (non-Javadoc) * * @see jalview.ws.seqfetcher.DbSourceProxy#getDbName() */ + @Override public String getDbName() { return "RFAM (Seed)"; } + @Override public String getDbSource() { return getDbName(); // so we have unique DbSource string. } + @Override public String getTestQuery() { return "RF00014"; } // http://rfam.janelia.org/cgi-bin/getdesc?acc=RF00014 + @Override public String getDbVersion() { return null;