X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2Fdbsources%2FPfamSeed.java;h=98febada7d79c232468323f0dd19c9bc5415a3e3;hb=445459c0de00fb5fdb82e818c551950ff90069fe;hp=e0e2b4fb623f60cf7432a11a5b09923889ea8e08;hpb=2de36153a84ca246643cd28b2ce05e9f4159dd89;p=jalview.git diff --git a/src/jalview/ws/dbsources/PfamSeed.java b/src/jalview/ws/dbsources/PfamSeed.java index e0e2b4f..98febad 100644 --- a/src/jalview/ws/dbsources/PfamSeed.java +++ b/src/jalview/ws/dbsources/PfamSeed.java @@ -1,5 +1,19 @@ -/** +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7) + * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle + * + * 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. + * + * 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 . */ package jalview.ws.dbsources; @@ -7,8 +21,9 @@ import jalview.ws.seqfetcher.DbSourceProxy; /** * flyweight class specifying retrieval of Seed alignments from PFAM + * * @author JimP - * + * */ public class PfamSeed extends Pfam implements DbSourceProxy { @@ -17,28 +32,34 @@ public class PfamSeed extends Pfam implements DbSourceProxy super(); } - /* (non-Javadoc) + /* + * (non-Javadoc) + * * @see jalview.ws.dbsources.Pfam#getPFAMURL() */ - protected String getPFAMURL() + protected String getXFAMURL() { return "http://pfam.sanger.ac.uk/family/alignment/download/format?alnType=seed&format=stockholm&order=t&case=l&gaps=default&entry="; } - /* (non-Javadoc) + /* + * (non-Javadoc) + * * @see jalview.ws.seqfetcher.DbSourceProxy#getDbName() */ public String getDbName() { return "PFAM (Seed)"; } + public String getDbSource() { return jalview.datamodel.DBRefSource.PFAM; // archetype source } + public String getTestQuery() { - return "PF00535"; + return "PF03760"; } }