- public static final String AACON_INFO = new ServiceInfo(AAConWS,\r
- "in preparation", "1.0", "http://www.compbio.dundee.ac.uk/aacon")\r
- .toString();\r
- public static final String CLUSTAL_INFO = new ServiceInfo(\r
- ClustalWS,\r
- "Larkin MA, Blackshields G, Brown NP, Chenna R, McGettigan PA, McWilliam H, Valentin F, Wallace IM, Wilm A, Lopez R, Thompson JD, Gibson TJ, Higgins DG.\r\n"\r
- + "(2007). Clustal W and Clustal X version 2.0. Bioinformatics, 23, 2947-2948. ",\r
- "2.0.12", "http://www.clustal.org/clustal2/").toString();\r
- public static final String CLUSTAL_OMEGA_INFO = new ServiceInfo(\r
- ClustalOWS,\r
+ public String getServiceReference() {\r
+ switch (this) {\r
+ case AAConWS :\r
+ return AACON_INFO.getReference();\r
+ case JpredWS :\r
+ return JPRED_INFO.getReference();\r
+ case ClustalOWS :\r
+ return CLUSTAL_OMEGA_INFO.getReference();\r
+ case ClustalWS :\r
+ return CLUSTAL_INFO.getReference();\r
+ case DisemblWS :\r
+ return DISEMBL_INFO.getReference();\r
+ case GlobPlotWS :\r
+ return GLOBPLOT_INFO.getReference();\r
+ case IUPredWS :\r
+ return IUPRED_INFO.getReference();\r
+ case JronnWS :\r
+ return JRONN_INFO.getReference();\r
+ case MafftWS :\r
+ return MAFFT_INFO.getReference();\r
+ case MuscleWS :\r
+ return MUSCLE_INFO.getReference();\r
+ case ProbconsWS :\r
+ return PROBCONS_INFO.getReference();\r
+ case TcoffeeWS :\r
+ return TCOFFEE_INFO.getReference();\r
+ case RNAalifoldWS :\r
+ return RNAALIFOLD_INFO.getReference();\r
+ default :\r
+ throw new RuntimeException("Unrecognised Web Service Type " + this + " - Should never happen!");\r
+ }\r
+ }\r
+\r
+ public String getServiceVersion() {\r
+ switch (this) {\r
+ case AAConWS :\r
+ return AACON_INFO.getVersion();\r
+ case JpredWS :\r
+ return JPRED_INFO.getVersion();\r
+ case ClustalOWS :\r
+ return CLUSTAL_OMEGA_INFO.getVersion();\r
+ case ClustalWS :\r
+ return CLUSTAL_INFO.getVersion();\r
+ case DisemblWS :\r
+ return DISEMBL_INFO.getVersion();\r
+ case GlobPlotWS :\r
+ return GLOBPLOT_INFO.getVersion();\r
+ case IUPredWS :\r
+ return IUPRED_INFO.getVersion();\r
+ case JronnWS :\r
+ return JRONN_INFO.getVersion();\r
+ case MafftWS :\r
+ return MAFFT_INFO.getVersion();\r
+ case MuscleWS :\r
+ return MUSCLE_INFO.getVersion();\r
+ case ProbconsWS :\r
+ return PROBCONS_INFO.getVersion();\r
+ case TcoffeeWS :\r
+ return TCOFFEE_INFO.getVersion();\r
+ case RNAalifoldWS :\r
+ return RNAALIFOLD_INFO.getVersion();\r
+ default :\r
+ throw new RuntimeException("Unrecognised Web Service Type " + this + " - Should never happen!");\r
+ }\r
+ }\r
+\r
+ public String getServiceGroup() {\r
+ switch (this) {\r
+ case AAConWS :\r
+ return "annotation";\r
+ case JpredWS :\r
+ return "annotation";\r
+ case ClustalOWS :\r
+ return "alignment";\r
+ case ClustalWS :\r
+ return "alignment";\r
+ case DisemblWS :\r
+ return "disorder";\r
+ case GlobPlotWS :\r
+ return "disorder";\r
+ case IUPredWS :\r
+ return "disorder";\r
+ case JronnWS :\r
+ return "disorder";\r
+ case MafftWS :\r
+ return "alignment";\r
+ case MuscleWS :\r
+ return "alignment";\r
+ case ProbconsWS :\r
+ return "alignment";\r
+ case TcoffeeWS :\r
+ return "alignment";\r
+ case RNAalifoldWS :\r
+ return "annotation";\r
+ default :\r
+ throw new RuntimeException("Unrecognised Web Service Type " + this + " - Should never happen!");\r
+ }\r
+ }\r
+ \r
+ static ServiceInfo AACON_INFO = new ServiceInfo(AAConWS,\r
+ "in preparation", "1.0", "http://www.compbio.dundee.ac.uk/aacon");\r
+\r
+ static ServiceInfo JPRED_INFO = new ServiceInfo(JpredWS,\r
+ "Cole C, Barber JD, Barton GJ.reparation" + \r
+ "The Jpred 3 secondary structure prediction server\n" +\r
+ "Nucl. Acids Res. (2008) 36 (suppl 2): W197-W201., doi: 10.1093/nar/gkn238", \r
+ "3.0.3", "http://www.compbio.dundee.ac.uk/www-jpred");\r
+ \r
+ static ServiceInfo CLUSTAL_INFO = new ServiceInfo(ClustalWS,\r
+ "Larkin MA, Blackshields G, Brown NP, Chenna R, McGettigan PA, McWilliam H, Valentin F, " + \r
+ "Wallace IM, Wilm A, Lopez R, Thompson JD, Gibson TJ, Higgins DG.\n" +\r
+ "(2007). Clustal W and Clustal X version 2.0. Bioinformatics, 23, 2947-2948.",\r
+ "2.0.12", "http://www.clustal.org/clustal2/");\r
+\r
+ static ServiceInfo CLUSTAL_OMEGA_INFO = new ServiceInfo(ClustalOWS,\r