merging refactored wsui with mchmmer to get latest service parameters goodness.
sequence alignments and EPS files.
</li>
<li>The <a href="#editing"><strong>"Editing"</strong>
- Preferences</a> tab contains settings affecting the export of
- sequence alignments and EPS files.
+ Preferences</a> tab contains settings affecting the behaviour of alignments as you edit them.
+ </li>
+ <li>The <a href="#hmmer"><strong>"HMMER"</strong>
+ Preferences</a> tab allows you to configure locally installed HMMER tools.
</li>
- <li>The <a href="dassettings.html"><strong>"DAS
- Settings"</strong> Preferences</a> tab allows you to select which DAS
- sources to use when fetching DAS Features.
- </li>
<li>The <a href="../webServices/webServicesPrefs.html"><strong>"Web
Service"</strong> Preferences</a> tab allows you to configure the <a
href="http://www.compbio.dundee.ac.uk/jabaws">JABAWS</a>
protected JCheckBox sortByTree = new JCheckBox();
+ /*
+ * hmmer tab and components
+ */
+ protected JPanel hmmerTab;
+
+ protected JCheckBox hmmrTrimTermini;
+
+ protected AbstractButton hmmerBackgroundUniprot;
+
+ protected AbstractButton hmmerBackgroundAlignment;
+
+ protected JTextField hmmerSequenceCount;
+
+ protected JTextField hmmerPath;
+
+ protected JTextField cygwinPath;
/*
- * DAS Settings tab
- */
- protected JPanel dasTab = new JPanel();
-
- /*
* Web Services tab
*/
protected JPanel wsTab = new JPanel();
tabbedPane.add(initEditingTab(),
MessageManager.getString("label.editing"));
+ tabbedPane.add(initHMMERTab(), MessageManager.getString("label.hmmer"));
+
/*
- * See DasSourceBrowser for the real work of configuring this tab.
- */
- dasTab.setLayout(new BorderLayout());
- tabbedPane.add(dasTab, MessageManager.getString("label.das_settings"));
-
- /*
* See WsPreferences for the real work of configuring this tab.
*/
wsTab.setLayout(new BorderLayout());
for (Jws2Instance service : disc.getServices())
{
if (serviceTests.size() == 0
-- || serviceTests.contains(service.serviceType.toLowerCase()))
++ || serviceTests.contains(service.getName().toLowerCase()))
{
List<Preset> prl = null;
Preset pr = null;
Thread.sleep(100);
}
-- iupreds = new ArrayList<Jws2Instance>();
++ iupreds = new ArrayList<>();
for (Jws2Instance svc : disc.getServices())
{
-- if (svc.getServiceTypeURI().toLowerCase().contains("iupredws"))
++ if (svc.getNameURI().toLowerCase().contains("iupredws"))
{
iupreds.add(svc);
}
AlignmentI orig_alig = af.getViewport().getAlignment();
// NOTE: Consensus annotation row cannot be exported and reimported
// faithfully - so we remove them
-- List<AlignmentAnnotation> toremove = new ArrayList<AlignmentAnnotation>();
++ List<AlignmentAnnotation> toremove = new ArrayList<>();
for (AlignmentAnnotation aa : orig_alig.getAlignmentAnnotation())
{
if (aa.autoCalculated)
for (Jws2Instance svc : disc.getServices())
{
-- if (svc.getServiceTypeURI().toLowerCase().contains("rnaalifoldws"))
++ if (svc.getNameURI().toLowerCase().contains("rnaalifoldws"))
{
rnaalifoldws = svc;
}
assertNotNull("Couldn't load test data ('" + testseqs + "')", af);
// remove any existing annotation
-- List<AlignmentAnnotation> aal = new ArrayList<AlignmentAnnotation>();
++ List<AlignmentAnnotation> aal = new ArrayList<>();
for (AlignmentAnnotation rna : af.getViewport().getAlignment()
.getAlignmentAnnotation())
{
@Test(groups = { "Network" })
public void testRnaalifoldSettingsRecovery()
{
-- List<Argument> opts = new ArrayList<Argument>();
++ List<Argument> opts = new ArrayList<>();
for (Argument rg : (List<Argument>) rnaalifoldws.getRunnerConfig()
.getArguments())
{
* To limit tests to specify services, add them to this list; leave list empty
* to test all
*/
-- private static List<String> serviceTests = new ArrayList<String>();
++ private static List<String> serviceTests = new ArrayList<>();
private static Jws2Discoverer disc = null;
* @param service
* @return
*/
- public boolean isForTesting(Jws2Instance service)
+ public boolean isForTesting(UIinfo service)
{
return serviceTests.size() == 0
-- || serviceTests.contains(service.serviceType.toLowerCase());
++ || serviceTests.contains(service.getName().toLowerCase());
}
@Test(groups = { "Network" })