-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-<head>\r
-<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analysis Web Services (JABAWS) download page</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newpressed" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
- \r
-<h2 id="headtitle">Contact Us</h2>\r
-<h3>Mailing List</h3>\r
-<p>Please feel free to post your questions/issues to the <a href="http://www.jalview.org/mailman/listinfo/jabaws-discuss">jabaws-discuss</a> mailing list. </p>\r
-<h3>Contact Details</h3>\r
-<p>The Barton Group <br/>\r
- Division of Computational Biology<br/>\r
- College of Life Sciences<br/>\r
- University of Dundee<br/>\r
- Dow Street<br/>\r
- Dundee<br/>\r
- DD1 5EH<br/>\r
- Scotland UK</p>\r
-<br/><br/>\r
-</div>\r
-\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div> <!-- wrapper end-->\r
-\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-\r
-</div> <!-- page end-->\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analysis Web Services (JABAWS) download page</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newpressed" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+<div id="content">
+
+<h2 id="headtitle">Contact Us</h2>
+<h3>Mailing List</h3>
+<p>Please feel free to post your questions/issues to the <a href="http://www.jalview.org/mailman/listinfo/jabaws-discuss">jabaws-discuss</a> mailing list. </p>
+<h3>Contact Details</h3>
+<p>The Barton Group <br/>
+ Division of Computational Biology<br/>
+ College of Life Sciences<br/>
+ University of Dundee<br/>
+ Dow Street<br/>
+ Dundee<br/>
+ DD1 5EH<br/>
+ Scotland UK</p>
+<br/><br/>
+</div>
+
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div> <!-- wrapper end-->
+
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+
+</div> <!-- page end-->
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) main page</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:150px;height:80px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-<div id="panel">\r
- <a class="newpressed" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="wrapper">\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS 2.1</h2>\r
-<p style="color:black; font-weight:normal; text-align:left;">\r
-<span style="border-bottom:dotted 1px #666" title="JAva Bioinformatics Analysis Web Services">JABAWS</span> \r
-is free software which provides <a href="http://en.wikipedia.org/wiki/Web_service">web services</a> conveniently \r
-packaged to run on your local computer, server, cluster or Amazon EC2 instance.\r
-</p>\r
-\r
-<p> Services for multiple sequence alignment include \r
-<a href="http://www.clustal.org/omega">Clustal Omega</a>, \r
-<a href="http://www.clustal.org/clustal2">Clustal W</a>, \r
-<a href="http://align.bmr.kyushu-u.ac.jp/mafft/software/">MAFFT</a>, \r
-<a href="http://www.drive5.com/muscle">MUSCLE</a>, \r
-<a href="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html">T-Coffee</a>, \r
-<a href="http://probcons.stanford.edu/">ProbCons</a>,\r
-<a href="http://msaprobs.sourceforge.net/">MSAProbs</a>, and\r
-<a href="http://sourceforge.net/projects/glprobs/">GLProbs</a>. \r
-Analysis services allow prediction of the protein secondary structure with \r
-<a href="http://www.compbio.dundee.ac.uk/www-jpred/">Jpred</a> and protein disorder with \r
-<a href="http://dis.embl.de/">DisEMBL</a>, \r
-<a href="http://iupred.enzim.hu">IUPred</a>, \r
-Jronn (a Java implementation of <a href="http://www.strubi.ox.ac.uk/RONN">Ronn</a> by P. Troshin and G. Barton, unpublished), and \r
-<a href="http://globplot.embl.de/">GlobPlot</a>; and calculation of amino acid alignment conservation \r
-with <a href="http://www.compbio.dundee.ac.uk/aacon">AACon</a>. \r
-The secondary structure for an RNA aligment can be predicted with the RNAalifold program from the \r
-<a href="http://www.tbi.univie.ac.at/RNA">Vienna RNA package</a>.\r
-</p>\r
-\r
-<p><span style="color:black; font-weight:normal; text-align:left;">\r
-JABAWS 2.1 installation can be accessed from the <strong><a href="http://www.jalview.org">Jalview</a> desktop \r
-application</strong> (version 2.8 onwards) and the <a href="man_client.html">JABAWS command-line client</a>. <br/>\r
-JABAWS 2.1 is able to provide multiple alignment and sequence analysis calculations limited only by your own \r
-computing resources.<br />\r
-</span></p>\r
-\r
-<div id="mainpagefeatures">\r
-<table>\r
-<tr><td>\r
- <div class="brick">\r
- <div class="brick_header"><h2>For Users</h2></div>\r
- <div class="brick_content">\r
- <strong>The Server: </strong><a href="http://www.compbio.dundee.ac.uk/download//get?id=JABAWS201.pack.tar.gz">JABAWS Virtual Appliance:</a> (440M)\r
- or <a href="man_awscloud.html">JABAWS on Amazon Webservices Cloud</a><br/>\r
- <strong>The Main Client: </strong><a href="http://www.jalview.org/download.html">Jalview</a> (18M)\r
- <p>To use JABAWS web services on most operating systems, just download and <a href="manual_qs_va.html#qsc">install</a> \r
- the JABAWS Virtual Appliance (VA). <br/>\r
- Or even easier - just start JABAWS machine on the cloud and point Jalview at it!</p>\r
- </div>\r
- </div>\r
- </td>\r
- </tr>\r
- <tr>\r
- <td><div class="brick">\r
- <div class="brick_header"><h2>For System Administrators</h2></div>\r
- <div class="brick_content">\r
- <p>\r
- <strong>The Server: </strong><a href="http://www.compbio.dundee.ac.uk/download/get?id=jabaws.war">JABAWS Web \r
- Application aRchive</a> (55M)\r
- </p>\r
- <p>JABAWS requires a Servlet 2.4 compatible servlet container like <a href="http://tomcat.apache.org">Apache Tomcat</a>\r
- to run. Please check the <a href="manual_qs_war.html#qsc">quick start guide</a> for installation instructions.\r
- </p>\r
- </div>\r
- </div></td>\r
- </tr>\r
- <tr>\r
- <td><div class="brick">\r
- <div class="brick_header"><h2>For Bioinformaticians/Developers</h2></div>\r
- <div class="brick_content">\r
-<strong>The Server: </strong><a href="http://www.compbio.dundee.ac.uk/download/get?id=jabaws.war">JABAWS Web Application aRchive</a> (55M)\r
- <br/>\r
- <strong>The Client: </strong>\r
- Command Line Client <a href="http://www.compbio.dundee.ac.uk/download/get?id=min-jaba-client-2.1.jar">binary</a> | <a href=\r
-"http://www.compbio.dundee.ac.uk/download/get?id=jaba-client-src-2.1.jar">source</a> \r
-\r
-<p>\r
-You can either use the JABAWS Virtual Appliance or the JABAWS Web Application aRchive (WAR) from your own computer or a lab server. \r
-The WAR version gives greater flexibility but requires a bit more configuration. Alternatively you can script against our public \r
-server (see below) with the command line client or you own script. \r
-Check out the <a href="manual_qs_client.html#qsc">quick start guide</a> for further details.</p>\r
-\r
- </div>\r
-</div></td>\r
- </tr>\r
-</table>\r
-</div>\r
-\r
-<h3 style="margin:0;">Public JABAWS Server</h3>\r
-<p> You can access our public JABAWS web services with our <a href="http://www.compbio.dundee.ac.uk/download/get?id=min-jaba-client-2.1.jar">command line client</a>, \r
- <a href="http://www.jalview.org/download.html">Jalview</a>, or with your own program. Jalview version 2.8 or later is fully compatible with JABAWS 2.1.\r
- The latest versions of Jalview are configured to use public JABAWS server by default.</p>\r
-<ul>\r
- <li>The JABAWS public web services address is <strong>http://www.compbio.dundee.ac.uk/jabaws</strong> </li>\r
- <li>A detailed web services description is available from here: <a href="http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?"\r
-title="http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?" rel=\r
-"nofollow">WSDL List</a></li>\r
-</ul>\r
-<p>These web services accept submissions of <strong>less than one thousand sequences</strong>. Should you find this to be insufficient for your needs, \r
- or if you are concerned about privacy or on an unreliable network connection, then you can \r
- <a href="http://www.compbio.dundee.ac.uk/download">download</a> and run the JABAWS Server on your own hardware.</p>\r
-\r
-\r
-\r
-<h3>Previous versions of JABAWS </h3>\r
-<p>\r
-We advise you to update to JABAWS 2.1 as this version is fully backward compatible with JABAWS v1.0 and v2.0 and contains \r
-<a href="man_about.html#jaba2.1">some important bug fixes</a>. Please consult the <a href="man_about.html#jalviewsup">manual</a> \r
-for more information on compatibility between versions.</p><p>Should you require them, however, old versions of JABAWS are available here:</p>\r
-<ul>\r
- <li><strong><a href="http://www.compbio.dundee.ac.uk/jabaws1">http://www.compbio.dundee.ac.uk/jabaws1</a></strong></li> \r
- <li><strong><a href="http://www.compbio.dundee.ac.uk/jabaws2">http://www.compbio.dundee.ac.uk/jabaws2</a></strong></li>\r
- <li><strong><a href="http://www.compbio.dundee.ac.uk/jabaws201">http://www.compbio.dundee.ac.uk/jabaws201</a></strong></li>\r
-</ul> \r
-\r
-\r
-\r
-<h3>Reference</h3>\r
-<p><span class="hightlight">\r
-</span> Peter V. Troshin, James B. Procter and Geoffrey J. Barton - "Java Bioinformatics Analysis Web Services for \r
-Multiple Sequence Alignment - JABAWS:MSA" <span class="i">Bioinformatics</span> 2011; \r
-<a href="http://bioinformatics.oxfordjournals.org/content/early/2011/05/18/bioinformatics.btr304.abstract?keytype=ref&ijkey=gd0DwuYBzFRhe4T">\r
-doi: 10.1093/bioinformatics/btr304</a>.</p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br /> This site is best viewed in Firefox 3.6, Google Chrome 10, Internet Explorer 8 or above </div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-<!-- page end-->\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) main page</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:150px;height:80px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+<div id="panel">
+ <a class="newpressed" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+<div id="wrapper">
+<div id="content">
+<h2 id="headtitle">JABAWS 2.1</h2>
+<p style="color:black; font-weight:normal; text-align:left;">
+<span style="border-bottom:dotted 1px #666" title="JAva Bioinformatics Analysis Web Services">JABAWS</span>
+is free software which provides <a href="http://en.wikipedia.org/wiki/Web_service">web services</a> conveniently
+packaged to run on your local computer, server, cluster or Amazon EC2 instance.
+</p>
+
+<p> Services for multiple sequence alignment include
+<a href="http://www.clustal.org/omega">Clustal Omega</a>,
+<a href="http://www.clustal.org/clustal2">Clustal W</a>,
+<a href="http://align.bmr.kyushu-u.ac.jp/mafft/software/">MAFFT</a>,
+<a href="http://www.drive5.com/muscle">MUSCLE</a>,
+<a href="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html">T-Coffee</a>,
+<a href="http://probcons.stanford.edu/">ProbCons</a>,
+<a href="http://msaprobs.sourceforge.net/">MSAProbs</a>, and
+<a href="http://sourceforge.net/projects/glprobs/">GLProbs</a>.
+Analysis services allow prediction of the protein secondary structure with
+<a href="http://www.compbio.dundee.ac.uk/www-jpred/">Jpred</a> and protein disorder with
+<a href="http://dis.embl.de/">DisEMBL</a>,
+<a href="http://iupred.enzim.hu">IUPred</a>,
+Jronn (a Java implementation of <a href="http://www.strubi.ox.ac.uk/RONN">Ronn</a> by P. Troshin and G. Barton, unpublished), and
+<a href="http://globplot.embl.de/">GlobPlot</a>; and calculation of amino acid alignment conservation
+with <a href="http://www.compbio.dundee.ac.uk/aacon">AACon</a>.
+The secondary structure for an RNA aligment can be predicted with the RNAalifold program from the
+<a href="http://www.tbi.univie.ac.at/RNA">Vienna RNA package</a>.
+</p>
+
+<p><span style="color:black; font-weight:normal; text-align:left;">
+JABAWS 2.1 installation can be accessed from the <strong><a href="http://www.jalview.org">Jalview</a> desktop
+application</strong> (version 2.8 onwards) and the <a href="man_client.html">JABAWS command-line client</a>. <br/>
+JABAWS 2.1 is able to provide multiple alignment and sequence analysis calculations limited only by your own
+computing resources.<br />
+</span></p>
+
+<div id="mainpagefeatures">
+<table>
+<tr><td>
+ <div class="brick">
+ <div class="brick_header"><h2>For Users</h2></div>
+ <div class="brick_content">
+ <strong>The Server: </strong><a href="http://www.compbio.dundee.ac.uk/download//get?id=JABAWS201.pack.tar.gz">JABAWS Virtual Appliance:</a> (440M)
+ or <a href="man_awscloud.html">JABAWS on Amazon Webservices Cloud</a><br/>
+ <strong>The Main Client: </strong><a href="http://www.jalview.org/download.html">Jalview</a> (18M)
+ <p>To use JABAWS web services on most operating systems, just download and <a href="manual_qs_va.html#qsc">install</a>
+ the JABAWS Virtual Appliance (VA). <br/>
+ Or even easier - just start JABAWS machine on the cloud and point Jalview at it!</p>
+ </div>
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td><div class="brick">
+ <div class="brick_header"><h2>For System Administrators</h2></div>
+ <div class="brick_content">
+ <p>
+ <strong>The Server: </strong><a href="http://www.compbio.dundee.ac.uk/download/get?id=jabaws.war">JABAWS Web
+ Application aRchive</a> (55M)
+ </p>
+ <p>JABAWS requires a Servlet 2.4 compatible servlet container like <a href="http://tomcat.apache.org">Apache Tomcat</a>
+ to run. Please check the <a href="manual_qs_war.html#qsc">quick start guide</a> for installation instructions.
+ </p>
+ </div>
+ </div></td>
+ </tr>
+ <tr>
+ <td><div class="brick">
+ <div class="brick_header"><h2>For Bioinformaticians/Developers</h2></div>
+ <div class="brick_content">
+<strong>The Server: </strong><a href="http://www.compbio.dundee.ac.uk/download/get?id=jabaws.war">JABAWS Web Application aRchive</a> (55M)
+ <br/>
+ <strong>The Client: </strong>
+ Command Line Client <a href="http://www.compbio.dundee.ac.uk/download/get?id=min-jaba-client-2.1.jar">binary</a> | <a href=
+"http://www.compbio.dundee.ac.uk/download/get?id=jaba-client-src-2.1.jar">source</a>
+
+<p>
+You can either use the JABAWS Virtual Appliance or the JABAWS Web Application aRchive (WAR) from your own computer or a lab server.
+The WAR version gives greater flexibility but requires a bit more configuration. Alternatively you can script against our public
+server (see below) with the command line client or you own script.
+Check out the <a href="manual_qs_client.html#qsc">quick start guide</a> for further details.</p>
+
+ </div>
+</div></td>
+ </tr>
+</table>
+</div>
+
+<h3 style="margin:0;">Public JABAWS Server</h3>
+<p> You can access our public JABAWS web services with our <a href="http://www.compbio.dundee.ac.uk/download/get?id=min-jaba-client-2.1.jar">command line client</a>,
+ <a href="http://www.jalview.org/download.html">Jalview</a>, or with your own program. Jalview version 2.8 or later is fully compatible with JABAWS 2.1.
+ The latest versions of Jalview are configured to use public JABAWS server by default.</p>
+<ul>
+ <li>The JABAWS public web services address is <strong>http://www.compbio.dundee.ac.uk/jabaws</strong> </li>
+ <li>A detailed web services description is available from here: <a href="http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?"
+title="http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?" rel=
+"nofollow">WSDL List</a></li>
+</ul>
+<p>These web services accept submissions of <strong>less than one thousand sequences</strong>. Should you find this to be insufficient for your needs,
+ or if you are concerned about privacy or on an unreliable network connection, then you can
+ <a href="http://www.compbio.dundee.ac.uk/download">download</a> and run the JABAWS Server on your own hardware.</p>
+
+
+
+<h3>Previous versions of JABAWS </h3>
+<p>
+We advise you to update to JABAWS 2.1 as this version is fully backward compatible with JABAWS v1.0 and v2.0 and contains
+<a href="man_about.html#jaba2.1">some important bug fixes</a>. Please consult the <a href="man_about.html#jalviewsup">manual</a>
+for more information on compatibility between versions.</p><p>Should you require them, however, old versions of JABAWS are available here:</p>
+<ul>
+ <li><strong><a href="http://www.compbio.dundee.ac.uk/jabaws1">http://www.compbio.dundee.ac.uk/jabaws1</a></strong></li>
+ <li><strong><a href="http://www.compbio.dundee.ac.uk/jabaws2">http://www.compbio.dundee.ac.uk/jabaws2</a></strong></li>
+ <li><strong><a href="http://www.compbio.dundee.ac.uk/jabaws201">http://www.compbio.dundee.ac.uk/jabaws201</a></strong></li>
+</ul>
+
+
+
+<h3>Reference</h3>
+<p><span class="hightlight">
+</span> Peter V. Troshin, James B. Procter and Geoffrey J. Barton - "Java Bioinformatics Analysis Web Services for
+Multiple Sequence Alignment - JABAWS:MSA" <span class="i">Bioinformatics</span> 2011;
+<a href="http://bioinformatics.oxfordjournals.org/content/early/2011/05/18/bioinformatics.btr304.abstract?keytype=ref&ijkey=gd0DwuYBzFRhe4T">
+doi: 10.1093/bioinformatics/btr304</a>.</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br /> This site is best viewed in Firefox 3.6, Google Chrome 10, Internet Explorer 8 or above </div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+<!-- page end-->
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) Command Line Client manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newpressed" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS FUNDING</h2>\r
-<p>\r
-The current funding for JABAWS development is provided by the BBSRC Bioinformatics and Biological Resources Grant: \r
-"The Dundee Resource for Protein Structure Prediction and Sequence Analysis" 2013 to 2018 (BB/J019364/1) to Prof. \r
-Geoff Barton.<br/>\r
-Further support comes from Wellcome Trust Strategic Grant: 100476.\r
-</p>\r
-\r
-<p>\r
- Initial development was funded from a mixture of sources including: BBSRC grants (BBS/B/14434, BB/G022682/1), \r
- Wellcome Trust Strategic Grant (No. 083481), European Commision Framework of Excellence ENFIN \r
- (LSHGCT-2005-518254) and the Scottish Universities Life Sciences Alliance (SULSA).\r
-</p>\r
-\r
-<table>\r
- <tr class="mid">\r
- <td class="mid"><a href="http://www.bbsrc.ac.uk/home/home.aspx"><img src="images/bbsrc_flat.png" width="190" height="51" alt="UK BBSRC" class="logo" title="UK BBSRC"/></a></td>\r
- <td class="mid"><a href="http://www.enfin.org"><img src="images/enfin.jpeg" width="210" height="60" alt="ENFIN" title="ENFIN"/></a></td>\r
- <td class="mid"><a href="http://www.wellcome.ac.uk"><img src="images/wellcome.jpeg" width="240" height="60" alt="Wellcome Trust" title="Wellcome Trust"/></a></td>\r
- <td class="mid"><a href="http://www.sulsa.ac.uk"><img src="images/sulsalogo.jpg" width="222" height="60" alt="SULSA" title="SULSA"/></a></td>\r
- </tr>\r
-</table>\r
-<br></br>\r
-<br></br>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) Command Line Client manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newpressed" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+<div id="content">
+<h2 id="headtitle">JABAWS FUNDING</h2>
+<p>
+The current funding for JABAWS development is provided by the BBSRC Bioinformatics and Biological Resources Grant:
+"The Dundee Resource for Protein Structure Prediction and Sequence Analysis" 2013 to 2018 (BB/J019364/1) to Prof.
+Geoff Barton.<br/>
+Further support comes from Wellcome Trust Strategic Grant: 100476.
+</p>
+
+<p>
+ Initial development was funded from a mixture of sources including: BBSRC grants (BBS/B/14434, BB/G022682/1),
+ Wellcome Trust Strategic Grant (No. 083481), European Commision Framework of Excellence ENFIN
+ (LSHGCT-2005-518254) and the Scottish Universities Life Sciences Alliance (SULSA).
+</p>
+
+<table>
+ <tr class="mid">
+ <td class="mid"><a href="http://www.bbsrc.ac.uk/home/home.aspx"><img src="images/bbsrc_flat.png" width="190" height="51" alt="UK BBSRC" class="logo" title="UK BBSRC"/></a></td>
+ <td class="mid"><a href="http://www.enfin.org"><img src="images/enfin.jpeg" width="210" height="60" alt="ENFIN" title="ENFIN"/></a></td>
+ <td class="mid"><a href="http://www.wellcome.ac.uk"><img src="images/wellcome.jpeg" width="240" height="60" alt="Wellcome Trust" title="Wellcome Trust"/></a></td>
+ <td class="mid"><a href="http://www.sulsa.ac.uk"><img src="images/sulsalogo.jpg" width="222" height="60" alt="SULSA" title="SULSA"/></a></td>
+ </tr>
+</table>
+<br></br>
+<br></br>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newpressed" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-<h2>About</h2>\r
-\r
-<ul>\r
- <li><a href="#wisjaba">What is JABAWS?</a></li>\r
- <li><a href="#wjaba">JABAWS Benefits</a></li>\r
- <li><a href="#alprog">JABA Web Services Programs </a></li>\r
- <li><a href="#jaba2.1">What is new in JABAWS 2.1?</a> </li>\r
- <li><a href="#jabaclient">What is JABAWS Client</a>?</li>\r
- <li><a href="#jalviewsup">JABAWS versions compatibility and Jalview support </a></li>\r
- <li><a href="#cmdclient">Programmatic access to JABAWS</a></li>\r
-</ul>\r
-\r
-\r
-\r
-<h3><a name="wisjaba" id="wisjaba"></a>What is JABAWS?</h3>\r
-<p>\r
- JABAWS stands for JAva Bioinformatics Analysis Web Services. As the name suggests, JABAWS is a \r
- collection of web services for bioinformatics, and currently provides services that make it easy \r
- to access well-known multiple sequence alignment and protein disorder prediction programs \r
- (see <a href="#alprog">the list of currently supported programs</a>) from <a href="http://www.jalview.org">Jalview</a>.\r
- Future versions of JABAWS will incorporate other tools.\r
-</p>\r
-<h4>Getting JABAWS</h4>\r
-<p>\r
- JABAWS consists of a server and a client, but unlike most bioinformatics web service systems, you can download and \r
- run both parts on your own computer! If you want a server just for yourself, then download and install the JABAWS \r
- Virtual Appliance. It requires no configuration and is simple to install. If you want to install JABAWS for your \r
- lab or institution then download the JABAWS Web Application aRchive. It is slightly more complicated to configure \r
- but is very straightforward too. Finally, if you want to script against any version of JABAWS or are interested \r
- in writing your own client, the JABAWS command line client is what you need.\r
-</p>\r
-\r
-\r
-\r
-<h3><a name="wjaba" id="wjaba"></a>JABAWS Benefits</h3>\r
-<ul>\r
- <li>Can be deployed on most operating systems, as a VMware or other compatible Virtual Appliance or a Tomcat Java Web Application.</li>\r
- <li>Comes complete with sources and binaries for all the bioinformatics programs that it runs.</li>\r
- <li>Can operate as a stand alone server or one that submits jobs to a cluster <em>via</em> <a href="http://www.drmaa.org/">DRMAA</a>.</li>\r
- <li>Easy to access from <a href="http://www.jalview.org">Jalview</a> using its graphical client, or using the JABAWS command line client.</li>\r
- <li>Clients can submit jobs to any JABAWS servers that they might want to access, such as the one running on your local computer, \r
- your lab's server, or the publicly available services at the <a href="http://www.compbio.dundee.ac.uk/">University of Dundee</a>.</li>\r
- <li>Local or intranet installation eliminates any security concerns you might have about sending sensitive data over the internet.</li>\r
- <li>Wide range of configuration options to control size of jobs accepted by a server, and the command line options available for the program run by a service.</li>\r
-</ul>\r
-\r
-\r
-\r
-<h3><a name="alprog" id="alprog"/>JABA Web Services Programs </h3>\r
-<p> JABAWS currently provides access to the following programs:</p>\r
-<p>Multiple Sequence Alignement </p>\r
-<ul>\r
- <li><a href="http://www.clustal.org/omega">Clustal Omega </a> (version 1.0.2)</li>\r
- <li><a href="http://www.clustal.org/clustal2">ClustalW</a> (version 2.52)</li>\r
- <li><a href="http://align.bmr.kyushu-u.ac.jp/mafft/software/">Mafft</a> (version 6.857)</li>\r
- <li><a href="http://www.drive5.com/muscle">Muscle</a> (version 3.8.31) </li>\r
- <li><a href="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html">Tcoffee</a> (version 8.99) </li>\r
- <li><a href="http://probcons.stanford.edu/">Probcons</a> (version 1.12)</li>\r
- <li><a href="http://msaprobs.sourceforge.net/">MSAProbs</a> (version 0.9.7)</li>\r
- <li><a href="http://sourceforge.net/projects/glprobs/">GLProbs</a> (version 0.9.7)</li>\r
-</ul>\r
-<p>Protein Secondary structure prediction</p>\r
-<ul>\r
- <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://www.compbio.dundee.ac.uk/www-jpred">Jpred</a></span> (3.0.3) </li>\r
-</ul>\r
-\r
-<p>Protein disorder prediction</p>\r
-<ul>\r
- <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://dis.embl.de/">DisEMBL</a></span> (1.5) </li>\r
- <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://iupred.enzim.hu">IUPred</a></span> (1.0) </li>\r
- <li><span style="color:black; font-weight:normal; text-align:left;">Jronn - Java implementation of <a href="http://www.strubi.ox.ac.uk/RONN">Ronn</a></span> (3.1) </li>\r
- <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://globplot.embl.de/">GlobPlot</a></span> (2.3) </li>\r
- </ul>\r
-<p>Amino Acid conservation</p>\r
-<ul>\r
- <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://www.compbio.dundee.ac.uk/aacon">AACon</a></span> (1.0) </li>\r
-</ul>\r
-<p>Secondary structure for an RNA aligment</p>\r
-<ul>\r
- <li><span style="color:black; font-weight:normal; text-align:left;">RNAalifold from <a href="http://www.tbi.univie.ac.at/RNA">ViennaRNA</a></span> (2.0) </li>\r
-</ul>\r
-\r
-All these codes including Jronn and AAcon are available at the <a href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
-section (registration is required).\r
-\r
-\r
-\r
-<h3><a name="jaba2.1"/>What is new in JABAWS 2.1? </h3>\r
-<strong>JABAWS Version 2.1 (Released 1st Oct 2013)</strong>\r
-<p>Several new web services are available in this version of JABAWS:</p>\r
-<ul>\r
- <li>Two multiple sequence aligners (MSAprobs and GLprobs), both services return the standard Alignment object</li>\r
- <li>RNAalifoldWS returns RNAStructScoreManager, which is the standard ScoreManager objects with several additional methods</li>\r
- <li>\r
- JpredWS returns the JpredAligment object, which is the standard alignment with additional methods for extracting \r
- Jpred predictions. These predictions are supplied as additional sequences in the aligment\r
- </li>\r
-</ul>\r
-\r
-<p>Some bugs have been fixed and several improvements have been done:</p>\r
-<ul>\r
- <li>WS status servlet returns version and some additional information on each web service</li>\r
- <li>a bug with path to help in the client</li>\r
- <li>Fix two bug with the Google Analytics library: no-stop due to running thread</li>\r
- <li>GoogleAnalytics gets proper JABAWS version</li>\r
-</ul>\r
-\r
-\r
-<strong>JABAWS Version 2.0.1 (Released 2nd Jul 2013)</strong><p>JABAWS 2.0.1 includes several bug fixes and minor updates for <a href="#jaba2">JABAWS Version 2.0</a>. These are listed below:</p>\r
-<ul>\r
- <li>Disembl returned swapped strings for HOTLOOPS and REM465</li>\r
- <li>Jronn failed to process jobs with more than 3 sequences</li>\r
- <li>JABAWS could not deal with FASTA records with '>' symbols in the record identificator</li>\r
- <li>Change of parameter description for AAcon: parameters have been replaced with options for calculation methods. This allows a user to get several AAcon's conservation scores \r
- in one call</li>\r
- <li>JABAWS never cleaned up job directories. Now JABAWS deletes the job directory if it exist longer than a period defined in Engine.properties</li>\r
- <li>Default web security has been incompatible with Tomcat 7.0.31 and newer</li>\r
- <li>Documentation has been updated</li>\r
- </ul>\r
- <a name="jaba2"/><strong>JABAWS Version 2 (Released 16th Dec 2011)</strong><p>Compared to JABAWS 1, JABAWS 2 offers a greater number and diversity of web services, Amazon EC2 integration and improved ease of use.</p><p>It contains:</p>\r
-<ul><li>updates for all multiple sequence alignment services</li>\r
- <li>four new protein disorder prediction services</li>\r
- <li>Clustal Omega multiple sequence alignment web service</li>\r
- <li>amino acid conservation service</li>\r
- <li>web services execution statistics visualization </li>\r
- <li>web services status check from a web page</li>\r
- <li>VirtualBox support was dropped in favour of VMware</li>\r
- <li>new WAR package for Mac users</li>\r
- <li>Amazon Machine Image (AMI) distributive to enable users to use JABAWS on the EC2 cloud</li>\r
- <li>Improved web services client API</li>\r
- <li>Simplified WAR package installation</li>\r
-</ul>\r
-\r
-\r
-\r
-<h3><a name="jabaclient" id="jabaclient"></a>What is JABAWS client?</h3>\r
-<p>\r
- A JABAWS client is a Java application that lets you run the programs for which a JABAWS server provides web \r
- services. The most basic JABAWS client is a command line application this is able to call any of the JABAWS web \r
- services on any instance of JABAWS Server available over the web. The basic client is useful if you would like \r
- to test or execute the programs provided by theJABAWS server in your own scripts, but you do not want to handle \r
- any web service specific details. The client is an open source software, so you can also use the source code to \r
- as an example how to manipulate with JABAWS web services in your own code. \r
- <a href="http://www.jalview.org/">Jalview</a>, a multiple sequence alignment and analysis application, is a good \r
- example of a graphical JABAWS client. This client uses the same functionality as the command line client, but \r
- instead allows JABAWS services to be accessed in a more user-friendly manner, through a graphical user interface.\r
-</p>\r
-\r
-\r
-\r
-<h3><a name="jalviewsup"></a>JABAWS versions compatibility and Jalview support </h3>\r
-<p>\r
- JABAWS version 2.1 is fully backward compatible with JABAWS v1.0 and v2.0. This means all JABAWS 1.0 and 2.0 and \r
- 2.0.1 clients should also be able to use JABAWS 2.1 services. To access the analysis web services introduced in \r
- JABAWS 2.0, however, clients that were designed for JABAWS v1.0 must be updated.\r
-</p>\r
-\r
-\r
-\r
-<h3><a name="cmdclient" id="cmdclient"></a>Programmatic access to JABAWS </h3>\r
-<p>\r
- JABAWS web services are WS-I basic profile compliant, which means they can be accessed using any programming language \r
- or system that can utilize standard SOAP web services. The WSDL for each service is published on the JABAWS home \r
- page, and you can use this to automatically generate service bindings for your program. If you use Java \r
- you may wish to use our <a href="http://www.compbio.dundee.ac.uk/download">client package</a> to access JABAWS. \r
- This package is based on the autogenerated source code produced by <span class="hightlight">wsimport</span>, which \r
- is the Java tool for creating web service bindings. In addition, this offers some additional methods that simplify \r
- working with JABAWS. For more information please refer to the <a href="dm_javadoc/index.html">data model javadoc</a>.\r
-</p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newpressed" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+<h2>About</h2>
+
+<ul>
+ <li><a href="#wisjaba">What is JABAWS?</a></li>
+ <li><a href="#wjaba">JABAWS Benefits</a></li>
+ <li><a href="#alprog">JABA Web Services Programs </a></li>
+ <li><a href="#jaba2.1">What is new in JABAWS 2.1?</a> </li>
+ <li><a href="#jabaclient">What is JABAWS Client</a>?</li>
+ <li><a href="#jalviewsup">JABAWS versions compatibility and Jalview support </a></li>
+ <li><a href="#cmdclient">Programmatic access to JABAWS</a></li>
+</ul>
+
+
+
+<h3><a name="wisjaba" id="wisjaba"></a>What is JABAWS?</h3>
+<p>
+ JABAWS stands for JAva Bioinformatics Analysis Web Services. As the name suggests, JABAWS is a
+ collection of web services for bioinformatics, and currently provides services that make it easy
+ to access well-known multiple sequence alignment and protein disorder prediction programs
+ (see <a href="#alprog">the list of currently supported programs</a>) from <a href="http://www.jalview.org">Jalview</a>.
+ Future versions of JABAWS will incorporate other tools.
+</p>
+<h4>Getting JABAWS</h4>
+<p>
+ JABAWS consists of a server and a client, but unlike most bioinformatics web service systems, you can download and
+ run both parts on your own computer! If you want a server just for yourself, then download and install the JABAWS
+ Virtual Appliance. It requires no configuration and is simple to install. If you want to install JABAWS for your
+ lab or institution then download the JABAWS Web Application aRchive. It is slightly more complicated to configure
+ but is very straightforward too. Finally, if you want to script against any version of JABAWS or are interested
+ in writing your own client, the JABAWS command line client is what you need.
+</p>
+
+
+
+<h3><a name="wjaba" id="wjaba"></a>JABAWS Benefits</h3>
+<ul>
+ <li>Can be deployed on most operating systems, as a VMware or other compatible Virtual Appliance or a Tomcat Java Web Application.</li>
+ <li>Comes complete with sources and binaries for all the bioinformatics programs that it runs.</li>
+ <li>Can operate as a stand alone server or one that submits jobs to a cluster <em>via</em> <a href="http://www.drmaa.org/">DRMAA</a>.</li>
+ <li>Easy to access from <a href="http://www.jalview.org">Jalview</a> using its graphical client, or using the JABAWS command line client.</li>
+ <li>Clients can submit jobs to any JABAWS servers that they might want to access, such as the one running on your local computer,
+ your lab's server, or the publicly available services at the <a href="http://www.compbio.dundee.ac.uk/">University of Dundee</a>.</li>
+ <li>Local or intranet installation eliminates any security concerns you might have about sending sensitive data over the internet.</li>
+ <li>Wide range of configuration options to control size of jobs accepted by a server, and the command line options available for the program run by a service.</li>
+</ul>
+
+
+
+<h3><a name="alprog" id="alprog"/>JABA Web Services Programs </h3>
+<p> JABAWS currently provides access to the following programs:</p>
+<p>Multiple Sequence Alignement </p>
+<ul>
+ <li><a href="http://www.clustal.org/omega">Clustal Omega </a> (version 1.0.2)</li>
+ <li><a href="http://www.clustal.org/clustal2">ClustalW</a> (version 2.52)</li>
+ <li><a href="http://align.bmr.kyushu-u.ac.jp/mafft/software/">Mafft</a> (version 6.857)</li>
+ <li><a href="http://www.drive5.com/muscle">Muscle</a> (version 3.8.31) </li>
+ <li><a href="http://www.tcoffee.org/Projects_home_page/t_coffee_home_page.html">Tcoffee</a> (version 8.99) </li>
+ <li><a href="http://probcons.stanford.edu/">Probcons</a> (version 1.12)</li>
+ <li><a href="http://msaprobs.sourceforge.net/">MSAProbs</a> (version 0.9.7)</li>
+ <li><a href="http://sourceforge.net/projects/glprobs/">GLProbs</a> (version 0.9.7)</li>
+</ul>
+<p>Protein Secondary structure prediction</p>
+<ul>
+ <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://www.compbio.dundee.ac.uk/www-jpred">Jpred</a></span> (3.0.3) </li>
+</ul>
+
+<p>Protein disorder prediction</p>
+<ul>
+ <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://dis.embl.de/">DisEMBL</a></span> (1.5) </li>
+ <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://iupred.enzim.hu">IUPred</a></span> (1.0) </li>
+ <li><span style="color:black; font-weight:normal; text-align:left;">Jronn - Java implementation of <a href="http://www.strubi.ox.ac.uk/RONN">Ronn</a></span> (3.1) </li>
+ <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://globplot.embl.de/">GlobPlot</a></span> (2.3) </li>
+ </ul>
+<p>Amino Acid conservation</p>
+<ul>
+ <li><span style="color:black; font-weight:normal; text-align:left;"><a href="http://www.compbio.dundee.ac.uk/aacon">AACon</a></span> (1.0) </li>
+</ul>
+<p>Secondary structure for an RNA aligment</p>
+<ul>
+ <li><span style="color:black; font-weight:normal; text-align:left;">RNAalifold from <a href="http://www.tbi.univie.ac.at/RNA">ViennaRNA</a></span> (2.0) </li>
+</ul>
+
+All these codes including Jronn and AAcon are available at the <a href="http://www.compbio.dundee.ac.uk/download">Download</a>
+section (registration is required).
+
+
+
+<h3><a name="jaba2.1"/>What is new in JABAWS 2.1? </h3>
+<strong>JABAWS Version 2.1 (Released 1st Oct 2013)</strong>
+<p>Several new web services are available in this version of JABAWS:</p>
+<ul>
+ <li>Two multiple sequence aligners (MSAprobs and GLprobs), both services return the standard Alignment object</li>
+ <li>RNAalifoldWS returns RNAStructScoreManager, which is the standard ScoreManager objects with several additional methods</li>
+ <li>
+ JpredWS returns the JpredAligment object, which is the standard alignment with additional methods for extracting
+ Jpred predictions. These predictions are supplied as additional sequences in the aligment
+ </li>
+</ul>
+
+<p>Some bugs have been fixed and several improvements have been done:</p>
+<ul>
+ <li>WS status servlet returns version and some additional information on each web service</li>
+ <li>a bug with path to help in the client</li>
+ <li>Fix two bug with the Google Analytics library: no-stop due to running thread</li>
+ <li>GoogleAnalytics gets proper JABAWS version</li>
+</ul>
+
+
+<strong>JABAWS Version 2.0.1 (Released 2nd Jul 2013)</strong><p>JABAWS 2.0.1 includes several bug fixes and minor updates for <a href="#jaba2">JABAWS Version 2.0</a>. These are listed below:</p>
+<ul>
+ <li>Disembl returned swapped strings for HOTLOOPS and REM465</li>
+ <li>Jronn failed to process jobs with more than 3 sequences</li>
+ <li>JABAWS could not deal with FASTA records with '>' symbols in the record identificator</li>
+ <li>Change of parameter description for AAcon: parameters have been replaced with options for calculation methods. This allows a user to get several AAcon's conservation scores
+ in one call</li>
+ <li>JABAWS never cleaned up job directories. Now JABAWS deletes the job directory if it exist longer than a period defined in Engine.properties</li>
+ <li>Default web security has been incompatible with Tomcat 7.0.31 and newer</li>
+ <li>Documentation has been updated</li>
+ </ul>
+ <a name="jaba2"/><strong>JABAWS Version 2 (Released 16th Dec 2011)</strong><p>Compared to JABAWS 1, JABAWS 2 offers a greater number and diversity of web services, Amazon EC2 integration and improved ease of use.</p><p>It contains:</p>
+<ul><li>updates for all multiple sequence alignment services</li>
+ <li>four new protein disorder prediction services</li>
+ <li>Clustal Omega multiple sequence alignment web service</li>
+ <li>amino acid conservation service</li>
+ <li>web services execution statistics visualization </li>
+ <li>web services status check from a web page</li>
+ <li>VirtualBox support was dropped in favour of VMware</li>
+ <li>new WAR package for Mac users</li>
+ <li>Amazon Machine Image (AMI) distributive to enable users to use JABAWS on the EC2 cloud</li>
+ <li>Improved web services client API</li>
+ <li>Simplified WAR package installation</li>
+</ul>
+
+
+
+<h3><a name="jabaclient" id="jabaclient"></a>What is JABAWS client?</h3>
+<p>
+ A JABAWS client is a Java application that lets you run the programs for which a JABAWS server provides web
+ services. The most basic JABAWS client is a command line application this is able to call any of the JABAWS web
+ services on any instance of JABAWS Server available over the web. The basic client is useful if you would like
+ to test or execute the programs provided by theJABAWS server in your own scripts, but you do not want to handle
+ any web service specific details. The client is an open source software, so you can also use the source code to
+ as an example how to manipulate with JABAWS web services in your own code.
+ <a href="http://www.jalview.org/">Jalview</a>, a multiple sequence alignment and analysis application, is a good
+ example of a graphical JABAWS client. This client uses the same functionality as the command line client, but
+ instead allows JABAWS services to be accessed in a more user-friendly manner, through a graphical user interface.
+</p>
+
+
+
+<h3><a name="jalviewsup"></a>JABAWS versions compatibility and Jalview support </h3>
+<p>
+ JABAWS version 2.1 is fully backward compatible with JABAWS v1.0 and v2.0. This means all JABAWS 1.0 and 2.0 and
+ 2.0.1 clients should also be able to use JABAWS 2.1 services. To access the analysis web services introduced in
+ JABAWS 2.0, however, clients that were designed for JABAWS v1.0 must be updated.
+</p>
+
+
+
+<h3><a name="cmdclient" id="cmdclient"></a>Programmatic access to JABAWS </h3>
+<p>
+ JABAWS web services are WS-I basic profile compliant, which means they can be accessed using any programming language
+ or system that can utilize standard SOAP web services. The WSDL for each service is published on the JABAWS home
+ page, and you can use this to automatically generate service bindings for your program. If you use Java
+ you may wish to use our <a href="http://www.compbio.dundee.ac.uk/download">client package</a> to access JABAWS.
+ This package is based on the autogenerated source code produced by <span class="hightlight">wsimport</span>, which
+ is the Java tool for creating web service bindings. In addition, this offers some additional methods that simplify
+ working with JABAWS. For more information please refer to the <a href="dm_javadoc/index.html">data model javadoc</a>.
+</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="supersubmenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newpressed" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <div id="subsubmenu">\r
- <a class="newa" href="man_awscloud_ec2.html" >EC2 Server</a>\r
- <a class="newa" href="man_awscloud_bs.html" >Elastic Beanstalk</a>\r
- </div>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<div id="jabaws_on_cloud">\r
- <h3><a name="jabawsOnCloud" id="jabawsOnCloud"></a>JABAWS on the Cloud</h3>\r
- <p>We provide pre-configured JABAWS Amazon Machine Image (AMI) which you can use on the <a href="http://aws.amazon.com/what-is-aws">Amazon EC2 cloud</a>. Typical use cases are </p>\r
- <ul>\r
- <li>you need to perform large scale calculations but do not have the resources available locally </li>\r
- <li>your organization already uses the Amazon cloud and you do not want to do any special arrangements for the JABAWS </li>\r
- <li>you want to benefit from the Amazon automatic scaling and monitoring to make sure JABAWS is always ready </li>\r
-</ul>\r
-<p>If you know what to do than JABAWS AMI ID is <strong>ami-d1d5e9a5</strong>, manifest <strong>846107356395/JABAWS 2</strong> to get you started, if not please refer to <a href="man_awscloud_ec2.html">How to use JABAWS on the Amazon EC2 cloud</a> pages. </p>\r
-<p>Alternatively you can use JABAWS on the <a href="http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/index.html?GettingStarted.html">Amazon Elastic BeanStalk</a>. You may want to use this option to deploy JABAWS in the cluster configuration.</p>\r
-</div><!-- end of jabaws_on_cloud div -->\r
-<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>\r
-</div><!-- content end-->\r
-\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="supersubmenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newpressed" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <div id="subsubmenu">
+ <a class="newa" href="man_awscloud_ec2.html" >EC2 Server</a>
+ <a class="newa" href="man_awscloud_bs.html" >Elastic Beanstalk</a>
+ </div>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<div id="jabaws_on_cloud">
+ <h3><a name="jabawsOnCloud" id="jabawsOnCloud"></a>JABAWS on the Cloud</h3>
+ <p>We provide pre-configured JABAWS Amazon Machine Image (AMI) which you can use on the <a href="http://aws.amazon.com/what-is-aws">Amazon EC2 cloud</a>. Typical use cases are </p>
+ <ul>
+ <li>you need to perform large scale calculations but do not have the resources available locally </li>
+ <li>your organization already uses the Amazon cloud and you do not want to do any special arrangements for the JABAWS </li>
+ <li>you want to benefit from the Amazon automatic scaling and monitoring to make sure JABAWS is always ready </li>
+</ul>
+<p>If you know what to do than JABAWS AMI ID is <strong>ami-d1d5e9a5</strong>, manifest <strong>846107356395/JABAWS 2</strong> to get you started, if not please refer to <a href="man_awscloud_ec2.html">How to use JABAWS on the Amazon EC2 cloud</a> pages. </p>
+<p>Alternatively you can use JABAWS on the <a href="http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/index.html?GettingStarted.html">Amazon Elastic BeanStalk</a>. You may want to use this option to deploy JABAWS in the cluster configuration.</p>
+</div><!-- end of jabaws_on_cloud div -->
+<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
+</div><!-- content end-->
+
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="supersubmenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <div id="subsubmenu">\r
- <a class="newa" href="man_awscloud_ec2.html" >EC2 Server</a>\r
- <a class="newpressed" href="man_awscloud_bs.html" >Elastic Beanstalk</a>\r
- </div>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2>How to use JABAWS on Amazon Elastic Beanstalk</h2>\r
-<div id="jabaws_on_cloud">\r
- <ol>\r
- <li><a href="https://www.amazon.com/ap/signin/175-8261537-7969810?_encoding=UTF8&openid.assoc_handle=aws&openid.return_to=https%3A//aws-portal.amazon.com/gp/aws/developer/registration/index.html/175-8261537-7969810&openid.mode=checkid_setup&openid.ns=http%3A//specs.openid.net/auth/2.0&openid.claimed_id=http%3A//specs.openid.net/auth/2.0/identifier_select&openid.pape.max_auth_age=600&siteState=awsMode%3A%3Aregistration%3A%3AheaderMessage%3A%3AAmazon Web Services Sign Up%3A%3A&pageId=aws.ssop&openid.pape.preferred_auth_policies=http%3A//schemas.openid.net/pape/policies/2007/06/multi-factor-physical&marketplaceId=ATVPDKIKX0DER&accountStatusPolicy=P1&openid.ns.pape=http%3A//specs.openid.net/extensions/pape/1.0&openid.identity=http%3A//specs.openid.net/auth/2.0/identifier_select&authCookies=1">Create Amazon Web Services account</a>.\r
- </li>\r
- <li><a href="https://console.aws.amazon.com/ec2/home?region=eu-west-1#selectInstance=&launchAmi=&s=Home">Log in into the Amazon Web Services (AWS) console</a> and switch to AWS Elastic Beanstalk view.\r
- <img src="images/aws_bs_launch.gif" alt="Elastic Beanstalk launch JABAWS war step 1" width="852" height="418" />\r
- </li>\r
- <li>Create a new Beanstalk application by uploading JABAWS war file:\r
- <img src="images/aws_bs_launch1.gif" alt="Elastic Beanstalk launch JABAWS war step 2" width="532" height="388" />\r
- </li> \r
- <li>Give a name to your JABAWS instance. This name will be a part of the access URL for your JABAWS.\r
- <img src="images/aws_bs_launch2.gif" alt="Elastic Beanstalk launch JABAWS war step 3" width="530" height="492" />\r
- </li>\r
- <li>Choose the type of hardware you want to run JABAWS on.\r
- <img src="images/aws_bs_launch3.gif" alt="Elastic Beanstalk launch JABAWS war step 4" />\r
- </li> \r
- <li>If everything goes well you should be able to access your JABAWS on http://jabaws.elasticbeanstalk.com\r
- <img src="images/aws_bs_done.gif" alt="Elastic Beanstalk launch JABAWS war " width="682" height="422" />\r
- </li>\r
-</ol>\r
-<p> </p>\r
-</div><!-- end of jabaws_on_cloud div -->\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="supersubmenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <div id="subsubmenu">
+ <a class="newa" href="man_awscloud_ec2.html" >EC2 Server</a>
+ <a class="newpressed" href="man_awscloud_bs.html" >Elastic Beanstalk</a>
+ </div>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2>How to use JABAWS on Amazon Elastic Beanstalk</h2>
+<div id="jabaws_on_cloud">
+ <ol>
+ <li><a href="https://www.amazon.com/ap/signin/175-8261537-7969810?_encoding=UTF8&openid.assoc_handle=aws&openid.return_to=https%3A//aws-portal.amazon.com/gp/aws/developer/registration/index.html/175-8261537-7969810&openid.mode=checkid_setup&openid.ns=http%3A//specs.openid.net/auth/2.0&openid.claimed_id=http%3A//specs.openid.net/auth/2.0/identifier_select&openid.pape.max_auth_age=600&siteState=awsMode%3A%3Aregistration%3A%3AheaderMessage%3A%3AAmazon Web Services Sign Up%3A%3A&pageId=aws.ssop&openid.pape.preferred_auth_policies=http%3A//schemas.openid.net/pape/policies/2007/06/multi-factor-physical&marketplaceId=ATVPDKIKX0DER&accountStatusPolicy=P1&openid.ns.pape=http%3A//specs.openid.net/extensions/pape/1.0&openid.identity=http%3A//specs.openid.net/auth/2.0/identifier_select&authCookies=1">Create Amazon Web Services account</a>.
+ </li>
+ <li><a href="https://console.aws.amazon.com/ec2/home?region=eu-west-1#selectInstance=&launchAmi=&s=Home">Log in into the Amazon Web Services (AWS) console</a> and switch to AWS Elastic Beanstalk view.
+ <img src="images/aws_bs_launch.gif" alt="Elastic Beanstalk launch JABAWS war step 1" width="852" height="418" />
+ </li>
+ <li>Create a new Beanstalk application by uploading JABAWS war file:
+ <img src="images/aws_bs_launch1.gif" alt="Elastic Beanstalk launch JABAWS war step 2" width="532" height="388" />
+ </li>
+ <li>Give a name to your JABAWS instance. This name will be a part of the access URL for your JABAWS.
+ <img src="images/aws_bs_launch2.gif" alt="Elastic Beanstalk launch JABAWS war step 3" width="530" height="492" />
+ </li>
+ <li>Choose the type of hardware you want to run JABAWS on.
+ <img src="images/aws_bs_launch3.gif" alt="Elastic Beanstalk launch JABAWS war step 4" />
+ </li>
+ <li>If everything goes well you should be able to access your JABAWS on http://jabaws.elasticbeanstalk.com
+ <img src="images/aws_bs_done.gif" alt="Elastic Beanstalk launch JABAWS war " width="682" height="422" />
+ </li>
+</ol>
+<p> </p>
+</div><!-- end of jabaws_on_cloud div -->
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="supersubmenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <div id="subsubmenu">\r
- <a class="newpressed" href="man_awscloud_ec2.html" >EC2 Server</a>\r
- <a class="newa" href="man_awscloud_bs.html" >Elastic Beanstalk</a>\r
- </div>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2><a name="jabawsOnCloudHow" id="jabawsOnCloudHow"/>How to use JABAWS on the Amazon EC2 cloud </h2>\r
-<div id="jabaws_on_cloud">\r
-<ol>\r
- <li><a href="https://www.amazon.com/ap/signin/175-8261537-7969810?_encoding=UTF8&openid.assoc_handle=aws&openid.return_to=https%3A//aws-portal.amazon.com/gp/aws/developer/registration/index.html/175-8261537-7969810&openid.mode=checkid_setup&openid.ns=http%3A//specs.openid.net/auth/2.0&openid.claimed_id=http%3A//specs.openid.net/auth/2.0/identifier_select&openid.pape.max_auth_age=600&siteState=awsMode%3A%3Aregistration%3A%3AheaderMessage%3A%3AAmazon Web Services Sign Up%3A%3A&pageId=aws.ssop&openid.pape.preferred_auth_policies=http%3A//schemas.openid.net/pape/policies/2007/06/multi-factor-physical&marketplaceId=ATVPDKIKX0DER&accountStatusPolicy=P1&openid.ns.pape=http%3A//specs.openid.net/extensions/pape/1.0&openid.identity=http%3A//specs.openid.net/auth/2.0/identifier_select&authCookies=1">Create Amazon Web Services account</a>. </li>\r
- <li><a href="https://console.aws.amazon.com/ec2/home?region=eu-west-1#selectInstance=&launchAmi=&s=Home">Log in into the Amazon Web Services (AWS) console.</a> Make sure you are in the EU West (Ireland) region. JABAWS image is not available in other regions as yet. See marker 1. </li>\r
- <li>Click on "Launch Instance" button marker 2.\r
- <img src="images/aws_console_launch.gif" alt="AWS console" width="687" height="704" />\r
- </li>\r
- <li>Go to the "Community AMI" tab and search for JABAWS, then click select.\r
- <img src="images/aws_launch.gif" alt="select AMI" width="864" height="262" /></li>\r
- <li>Choose the "hardware" for your JABAWS server instance. "Large" instance should be sufficient for a single user needs. \r
- If you are planning to use this instance as a server for the lab, you may want to select a more powerful machine. Once you have chosen \r
- the hardware click continue.\r
- <img src="images/aws_launch_instance.gif" alt="select hardware" width="872" height="590" />\r
- </li>\r
- <li>You should not need to customize anything on this page, continue to the next page.\r
- <img src="images/aws_launch_instance2.gif" alt="keys" width="872" height="592" />\r
- </li>\r
- <li> At the "Create a key pair" step, choose "Proceed without a key pair" unless you want to access JABAWS server via SSH. \r
- <img src="images/aws_launch_instance3.gif" width="872" height="592" />\r
- </li>\r
- <li>Create a new security group with a single HTTP (80) port as shown below. You may want to add SSH (22) port if \r
- you are planning to manage your instance via SSH. For starting/stopping your JABAWS instance, SSH is not necessary, \r
- you can do this from the Amazon Webservices Console (AWS).\r
- <img src="images/aws_launch_instance_sec_group.gif" alt="ese" width="856" height="588" />\r
- </li>\r
- <li>Review the configuration and launch the instance, then click "view your instances on the Instances page".\r
- <img src="images/aws_launch_instance5.gif" width="870" height="430" />\r
- </li>\r
- <li>At this point you should have JABAWS instance up and running. Your AWS console should look something like this:\r
- <img src="images/aws_launch_instance_done.gif" width="812" height="848" />\r
- </li>\r
- <li>Now you can run JABAWS web services by accessing the public DNS address of your JABAWS server instance. \r
- For instance, to register it with Jalview, just add the new JABAWS web server. Prefix your instance public \r
- DNS address with http:// e.g. type: http://<public DNS>. The JABAWS instance on the screenshot can be \r
- accessed on http://ec2-46-137-50-196.eu-west-1.compute.amazonaws.com.\r
- </li>\r
-</ol>\r
-<p>If you need to run JABAWS for large organization you might want to configure load balancer and auto scaling. Please get in contact with us if you are interested in exploring such configurations. </p>\r
-<p> </p>\r
-</div><!-- end of jabaws_on_cloud div -->\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="supersubmenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <div id="subsubmenu">
+ <a class="newpressed" href="man_awscloud_ec2.html" >EC2 Server</a>
+ <a class="newa" href="man_awscloud_bs.html" >Elastic Beanstalk</a>
+ </div>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2><a name="jabawsOnCloudHow" id="jabawsOnCloudHow"/>How to use JABAWS on the Amazon EC2 cloud </h2>
+<div id="jabaws_on_cloud">
+<ol>
+ <li><a href="https://www.amazon.com/ap/signin/175-8261537-7969810?_encoding=UTF8&openid.assoc_handle=aws&openid.return_to=https%3A//aws-portal.amazon.com/gp/aws/developer/registration/index.html/175-8261537-7969810&openid.mode=checkid_setup&openid.ns=http%3A//specs.openid.net/auth/2.0&openid.claimed_id=http%3A//specs.openid.net/auth/2.0/identifier_select&openid.pape.max_auth_age=600&siteState=awsMode%3A%3Aregistration%3A%3AheaderMessage%3A%3AAmazon Web Services Sign Up%3A%3A&pageId=aws.ssop&openid.pape.preferred_auth_policies=http%3A//schemas.openid.net/pape/policies/2007/06/multi-factor-physical&marketplaceId=ATVPDKIKX0DER&accountStatusPolicy=P1&openid.ns.pape=http%3A//specs.openid.net/extensions/pape/1.0&openid.identity=http%3A//specs.openid.net/auth/2.0/identifier_select&authCookies=1">Create Amazon Web Services account</a>. </li>
+ <li><a href="https://console.aws.amazon.com/ec2/home?region=eu-west-1#selectInstance=&launchAmi=&s=Home">Log in into the Amazon Web Services (AWS) console.</a> Make sure you are in the EU West (Ireland) region. JABAWS image is not available in other regions as yet. See marker 1. </li>
+ <li>Click on "Launch Instance" button marker 2.
+ <img src="images/aws_console_launch.gif" alt="AWS console" width="687" height="704" />
+ </li>
+ <li>Go to the "Community AMI" tab and search for JABAWS, then click select.
+ <img src="images/aws_launch.gif" alt="select AMI" width="864" height="262" /></li>
+ <li>Choose the "hardware" for your JABAWS server instance. "Large" instance should be sufficient for a single user needs.
+ If you are planning to use this instance as a server for the lab, you may want to select a more powerful machine. Once you have chosen
+ the hardware click continue.
+ <img src="images/aws_launch_instance.gif" alt="select hardware" width="872" height="590" />
+ </li>
+ <li>You should not need to customize anything on this page, continue to the next page.
+ <img src="images/aws_launch_instance2.gif" alt="keys" width="872" height="592" />
+ </li>
+ <li> At the "Create a key pair" step, choose "Proceed without a key pair" unless you want to access JABAWS server via SSH.
+ <img src="images/aws_launch_instance3.gif" width="872" height="592" />
+ </li>
+ <li>Create a new security group with a single HTTP (80) port as shown below. You may want to add SSH (22) port if
+ you are planning to manage your instance via SSH. For starting/stopping your JABAWS instance, SSH is not necessary,
+ you can do this from the Amazon Webservices Console (AWS).
+ <img src="images/aws_launch_instance_sec_group.gif" alt="ese" width="856" height="588" />
+ </li>
+ <li>Review the configuration and launch the instance, then click "view your instances on the Instances page".
+ <img src="images/aws_launch_instance5.gif" width="870" height="430" />
+ </li>
+ <li>At this point you should have JABAWS instance up and running. Your AWS console should look something like this:
+ <img src="images/aws_launch_instance_done.gif" width="812" height="848" />
+ </li>
+ <li>Now you can run JABAWS web services by accessing the public DNS address of your JABAWS server instance.
+ For instance, to register it with Jalview, just add the new JABAWS web server. Prefix your instance public
+ DNS address with http:// e.g. type: http://<public DNS>. The JABAWS instance on the screenshot can be
+ accessed on http://ec2-46-137-50-196.eu-west-1.compute.amazonaws.com.
+ </li>
+</ol>
+<p>If you need to run JABAWS for large organization you might want to configure load balancer and auto scaling. Please get in contact with us if you are interested in exploring such configurations. </p>
+<p> </p>
+</div><!-- end of jabaws_on_cloud div -->
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newpressed" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2><a name="usingcclient" id="usingcclient"></a>JABAWS Command Line Client Usage </h2>\r
-<p>\r
-The command line client comes as a part of <a href="http://www.compbio.dundee.ac.uk/download"> client package</a> which you are welcome to download. \r
-The command line client can be used to align sequences using any of JABAWS supported web services. The client is OS independent and supports most of \r
-the functions which can be accessed programmatically via <a href="dm_javadoc/index.html">JABAWS API</a>. Using this client you could align sequences \r
-using presets or custom parameters, please see examples of this below. Here is the list of options supported by the command line client.\r
-</p>\r
-<span class="code"><strong>Usage:</strong><br/> java -jar <path_to_jar_file> -h=host_and_context -s=serviceName ACTION [OPTIONS]<br />\r
--h=<host_and_context> - a full URL to the JABAWS web server including context path e.g. http://10.31.10.159:8080/ws<br />\r
--s=<ServiceName> - one of [MafftWS, MuscleWS, ClustalWS, ClustalOWS, TcoffeeWS, ProbconsWS, AAConWS, JronnWS, DisemblWS, GlobPlotWS, IUPredWS]\r
-<br/><br/>\r
-<strong>ACTIONS:</strong><br/>\r
--i=<inputFile> - full path to fasta formatted sequence file, from which to align sequences<br />\r
--parameters - lists parameters supported by web service<br />\r
--presets - lists presets supported by web service<br />\r
--limits - lists web services limits<br />\r
-Please note that if input file is specified other actions are ignored\r
-<br/><br/>\r
-<strong> OPTIONS:</strong> (only for use with -i action):<br/>\r
--r=<presetName> - name of the preset to use<br />\r
--o=<outputFile> - full path to the file where to write an alignment<br />\r
--f=<parameterInputFile> - the name of the file with the list of parameters to use.<br />\r
-Please note that -r and -f options cannot be used together. Alignment is done with either preset or a parameters from the file, but not both!</span>\r
-<p>Align sequences from input.fasta file using Mafft web service with default settings, print alignment in Clustal format to console. </p>\r
-<p class="code">java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -i=d:\input.fasta</p>\r
-<p>Content of input.fasta file is show below (please note sequences has been trimmed for clarity)<span class="code">>Foobar<br />\r
- MTADGPRELLQLRAAVRHRPQDFVAWL <br />\r
- >Bar<br />\r
- MGDTTAGEMAVQRGLALHQ<br />\r
- QRHAEAAVLLQQASDAAPE<br />\r
- >Foofriend<br />\r
- MTADGPRELLQLRAAV</span></p>\r
-<p>Align as in above example, but write output alignment in a file out.clustal, using parameters defined in prm.in file</p>\r
-<p><span class="code">java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -i=d:\input.fasta -o=d:\out.clustal -f=prm.in </span></p>\r
-<p>The content of the prm.in file is shown below <span class="code">--nofft<br />\r
- --noscore<br />\r
- --fastaparttree<br />\r
- --retree=10<br />\r
- --op=2.2</span></p>\r
-<p>The format of the file is the same for all JABAWS web services. Parameters are specified in exactly the same way as for native executables - alignment programs like Mafft etc. So parameters which you can use with command line version of an alignment program can be used with JABAWS. Most of the settings controlling alignment process are supported, but because any output has to be handled by JABAWS, settings controlling output are not allowed to be changed. For a list of parameters supported by a web service see the next example. In <span class="hightlight">prm.in</span> parameters are separated by the new line, and name of the parameter is separated from its value with an equals sign. This format is constant no matter which JABAWS web service is used. <br />\r
- <span class="code"> java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -parameters</span></p>\r
-<p>The same client can be used to access JABAWS on different hosts. Just point the client to the host you want to use by changing the value of -h key. For example you used <span class="hightlight">-h=http://myhost.compbio.ac.uk:8080/jabaws</span> server, now you want to use another server to <span class="hightlight">-h=http://mylabserver.myuni.edu.</span> This comes handy if your favorite server is off and you need to do the job yesterday. </p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newpressed" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2><a name="usingcclient" id="usingcclient"></a>JABAWS Command Line Client Usage </h2>
+<p>
+The command line client comes as a part of <a href="http://www.compbio.dundee.ac.uk/download"> client package</a> which you are welcome to download.
+The command line client can be used to align sequences using any of JABAWS supported web services. The client is OS independent and supports most of
+the functions which can be accessed programmatically via <a href="dm_javadoc/index.html">JABAWS API</a>. Using this client you could align sequences
+using presets or custom parameters, please see examples of this below. Here is the list of options supported by the command line client.
+</p>
+<span class="code"><strong>Usage:</strong><br/> java -jar <path_to_jar_file> -h=host_and_context -s=serviceName ACTION [OPTIONS]<br />
+-h=<host_and_context> - a full URL to the JABAWS web server including context path e.g. http://10.31.10.159:8080/ws<br />
+-s=<ServiceName> - one of [MafftWS, MuscleWS, ClustalWS, ClustalOWS, TcoffeeWS, ProbconsWS, AAConWS, JronnWS, DisemblWS, GlobPlotWS, IUPredWS]
+<br/><br/>
+<strong>ACTIONS:</strong><br/>
+-i=<inputFile> - full path to fasta formatted sequence file, from which to align sequences<br />
+-parameters - lists parameters supported by web service<br />
+-presets - lists presets supported by web service<br />
+-limits - lists web services limits<br />
+Please note that if input file is specified other actions are ignored
+<br/><br/>
+<strong> OPTIONS:</strong> (only for use with -i action):<br/>
+-r=<presetName> - name of the preset to use<br />
+-o=<outputFile> - full path to the file where to write an alignment<br />
+-f=<parameterInputFile> - the name of the file with the list of parameters to use.<br />
+Please note that -r and -f options cannot be used together. Alignment is done with either preset or a parameters from the file, but not both!</span>
+<p>Align sequences from input.fasta file using Mafft web service with default settings, print alignment in Clustal format to console. </p>
+<p class="code">java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -i=d:\input.fasta</p>
+<p>Content of input.fasta file is show below (please note sequences has been trimmed for clarity)<span class="code">>Foobar<br />
+ MTADGPRELLQLRAAVRHRPQDFVAWL <br />
+ >Bar<br />
+ MGDTTAGEMAVQRGLALHQ<br />
+ QRHAEAAVLLQQASDAAPE<br />
+ >Foofriend<br />
+ MTADGPRELLQLRAAV</span></p>
+<p>Align as in above example, but write output alignment in a file out.clustal, using parameters defined in prm.in file</p>
+<p><span class="code">java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -i=d:\input.fasta -o=d:\out.clustal -f=prm.in </span></p>
+<p>The content of the prm.in file is shown below <span class="code">--nofft<br />
+ --noscore<br />
+ --fastaparttree<br />
+ --retree=10<br />
+ --op=2.2</span></p>
+<p>The format of the file is the same for all JABAWS web services. Parameters are specified in exactly the same way as for native executables - alignment programs like Mafft etc. So parameters which you can use with command line version of an alignment program can be used with JABAWS. Most of the settings controlling alignment process are supported, but because any output has to be handled by JABAWS, settings controlling output are not allowed to be changed. For a list of parameters supported by a web service see the next example. In <span class="hightlight">prm.in</span> parameters are separated by the new line, and name of the parameter is separated from its value with an equals sign. This format is constant no matter which JABAWS web service is used. <br />
+ <span class="code"> java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -parameters</span></p>
+<p>The same client can be used to access JABAWS on different hosts. Just point the client to the host you want to use by changing the value of -h key. For example you used <span class="hightlight">-h=http://myhost.compbio.ac.uk:8080/jabaws</span> server, now you want to use another server to <span class="hightlight">-h=http://mylabserver.myuni.edu.</span> This comes handy if your favorite server is off and you need to do the job yesterday. </p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newpressed" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2>JABAWS Server Configuration </h2>\r
-<ul>\r
- <li><a href="#defjabaconf">JABAWS Configuration </a></li>\r
- <li><a href="#locEngConf">Local Engine Configuration</a></li>\r
- <li><a href="#clustEngConf">Cluster Engine Configuration</a></li>\r
- <li><a href="#exec">Executable Configuration</a></li>\r
- <li><a href="#setexecenv">Defining Environment Variables for Executables</a></li>\r
- <li><a href="#mafftconf">Configure JABAWS to Work with Mafft</a></li>\r
- <li><a href="#settinglimit">Limiting the size of the job accepted by JABAWS Server </a></li>\r
- <li><a href="#diffbin">Using a different version of the alignment program with JABAWS</a></li>\r
- <li><a href="#mixuse">Load balancing </a></li>\r
- <li><a href="#testingJaba">Testing JABA Web Services</a></li>\r
- <li><a href="#logs">JABAWS requests logging </a></li>\r
- <li><a href="#logfiles">JABAWS internal logging </a></li>\r
- <li><a href="#warfile">JABAWS War File Content</a></li>\r
- <li><a href="#ga">JABAWS and Google Analytics</a></li>\r
- </ul>\r
-<h3><a name="defjabaconf" id="defjabaconf"></a>JABAWS Configuration </h3>\r
-<p>There are three parts of the system you can configure. The local\r
-and the cluster engines, and the paths to the individual executables for\r
-each engine. These settings are stored in configuration files\r
-within the web application directory (for an overview, then take a\r
-look at the <a href="#warfile">war file content table</a>). </p>\r
-<p>Initially, JABAWS is configured with only the local engine\r
- enabled, with job output written to directory called "jobsout"\r
- within the web application itself. This means that JABAWS will work\r
- out of the box, but may not be suitable for serving a whole lab or\r
- a university.</p>\r
-<h3><a name="locEngConf" id="locEngConf"></a>Local Engine Configuration</h3>\r
-\r
-<p>The Local execution engine configuration is defined in the\r
-properties file <span class="hightlight">conf/Engine.local.properties. </span>The supported\r
-configuration settings are:<br />\r
- <span class="hightlight">engine.local.enable=true</span> - #\r
-enable or disable local engine, valid values true | false<br />\r
- <span class=\r
-"hightlight">local.tmp.directory=D:\\clusterengine\\testoutput</span>\r
-- a directory to use for temporary files storage, optional,\r
-defaults to java temporary directory<br />\r
- <span class="hightlight">engine.local.thread.number=4</span> -\r
-Number of threads for tasks execution (valid values between 1 and\r
-2x cpu. Where x is a number of cores available in the system).\r
-Optional defaults to the number of cores for core number <=4 and\r
-number of cores-1 for greater core numbers.</p>\r
-\r
-<p>If the local engine going to be heavily loaded (which is often the case if you do not have a cluster) it is a good idea to increase\r
-the amount of memory available for the web application server. If\r
-you are using Apache-Tomcat, then you can define its memory\r
-settings in the JAVA_OPTS environment variable. To specify which\r
-JVM to use for Apache-Tomcat, put the full path to the JRE\r
-installation in the JAVA_HOME environment variable. (We would\r
-recommend using Sun Java Virtual Machine (JVM) in preference to\r
-Open JDK). Below is an example of code which can be added to <span\r
-class="hightlight"><tomcat_dir>/bin/setenv.sh</span> script\r
-to define which JVM to use and a memory settings for Tomcat server.\r
-Tomcat server startup script (<span class=\r
-"hightlight">catalina.sh</span>) will execute <span class=\r
-"hightlight">setenv.sh</span> on each server start\r
-automatically.<br />\r
- <span class="code">export\r
-JAVA_HOME=/homes/ws-dev2/jdk1.6.0_17/<br />\r
- export JAVA_OPTS="-server -Xincgc -Xms512m -Xmx1024m"</span></p>\r
-\r
-<h3><a name="clustEngConf" id="clustEngConf"></a>Cluster Engine Configuration</h3>\r
-\r
-<p>Supported configuration settings:<br />\r
- <span class="hightlight">engine.cluster.enable=true</span> - #\r
-enable or disable local engine true | false, defaults to\r
-false<br />\r
- <span class=\r
-"hightlight">cluster.tmp.directory=/homes/clustengine/testoutput-</span>\r
-a directory to use for temporary files storage. The value must be\r
-an absolute path to the temporary directory. This is required. The value\r
-must be different from what is defined for local engine. This\r
-directory must be accessible from all cluster nodes.<br />\r
- For the cluster engine to work, the SGE_ROOT and LD_LIBRARY_PATH\r
-environment variables have to be defined. They tell the cluster\r
-engine where to find DRMAA libraries. These variables\r
-should be defined when the web application server starts up, e.g.</p>\r
-\r
-<p class="code">SGE_ROOT=/gridware/sge<br />\r
- LD_LIBRARY_PATH=/gridware/sge/lib/lx24-amd64</p>\r
-\r
-<p>Finally, do not forget to configure executables for the cluster\r
-execution, they may be the same as for the local execution but may\r
-be different. Please refer to the executable configuration section\r
-for further details.</p>\r
-\r
-<h3><a name="exec" id="exec"></a>Executable Configuration</h3>\r
-\r
-<p>All the executable programs\r
-are configured in <span class="hightlight">conf/Executable.properties</span> file. Each executable\r
-is configured with a number of options. They are: <span class=\r
-"code">local.X.bin.windows=<path to executable under windows\r
-system, optional><br />\r
- local.X.bin=<path to the executable under non-windows system,\r
-optional><br />\r
- cluster.X.bin=<path to the executable on the cluster, all\r
-cluster nodes must see it, optional><br />\r
- X.bin.env=<semicolon separated list of environment variables\r
-for executable, use hash symbol as name value separator,\r
-optional><br />\r
- X.--aamatrix.path=<path to the directory containing\r
-substitution matrices, optional><br />\r
- X.presets.file=<path to the preset configuration file, optional\r
-><br />\r
- X.parameters.file=<path to the parameters configuration file,\r
-optional><br />\r
- X.limits.file=<path to the limits configuration file,\r
-optional><br />\r
- X.cluster.settings=<list of the cluster specific options,\r
-optional></span></p>\r
-\r
-<p>Where X is either clustal, muscle, mafft, probcons or tcoffee. </p>\r
-\r
-<p>Default JABAWS configuration includes path to local executables\r
-to be run by the local engine only, all cluster related settings\r
-are commented out, but they are there for you as examples. Cluster\r
-engine is disabled by default. To configure executable for cluster\r
-execution uncomment the X.cluster settings and change them\r
-appropriately. </p>\r
-<p>\r
- By default limits are set well in excess of what you may want to offer to the users outside your lab, \r
- to make sure that the tasks are never rejected. The default limit is 100000 sequences of 100000 \r
- letters on average for all of the JABA web services. You can adjust the limits according to your \r
- needs by editing <span class="hightlight">conf/settings/<X>Limit.xml</span> files.<br />\r
- After you have completed the editing your configuration may look like\r
- this:<span class="code">local.mafft.bin.windows=<br />\r
- local.mafft.bin=binaries/mafft<br />\r
- cluster.mafft.bin=/homes/cengine/mafft<br />\r
- mafft.bin.env=MAFFT_BINARIES#/homes/cengine/mafft;FASTA_4_MAFFT#/bin/fasta34;<br />\r
- mafft.--aamatrix.path=binaries/matrices<br />\r
- mafft.presets.file=conf/settings/MafftPresets.xml<br />\r
- mafft.parameters.file=conf/settings/MafftParameters.xml<br />\r
- mafft.limits.file=conf/settings/MafftLimits.xml<br />\r
- mafft.cluster.settings=-q bigmem.q -l h_cpu=24:00:00 -l\r
- h_vmem=6000M -l ram=6000M</span></p>\r
-<p>Please not that relative paths must only be specified for the\r
-files that reside inside web application directory, all other paths\r
-must be supplied as absolute!</p>\r
-\r
-<p>\r
-Furthermore, you should avoid using environment variables within the paths or options - since \r
-these will not be evaluated correctly. Instead, please explicitly specify the absolute path \r
-to anything normally evaluated from an environment variable at execution time.\r
-</p>\r
-\r
-<p>If you are using JABAWS to submit jobs to the cluster (with\r
-cluster engine enabled), executables must be available from all\r
-cluster nodes the task can be sent to, also paths to the\r
-executables on the cluster e.g. <span class=\r
-"hightlight">cluster.<exec_name>.bin</span> must be\r
-absolute.</p>\r
-\r
-<p>Executables can be located anywhere in your system, they do not\r
-have to reside on the server as long as the web application server\r
-can access and execute them.</p>\r
-\r
-<p>Cluster settings are treated as a black box, the system will\r
-just pass whatever is specified in this line directly to the\r
-cluster submission library. This is how DRMAA itself treats this\r
-settings. More exactly DRMAA <span class="hightlight">JobTemplate.setNativeSpecification()</span> function will be called.</p>\r
-<p>For further details and examples of configuration please refer to the <span class="hightlight">Executable.properties</span> file supplied with JABAWS.</p>\r
-<h3><a name="setexecenv" />Defining Environment Variables for\r
-Executables</h3>\r
-\r
-<p>Environment variables can be defined in property <span class=\r
-"code">x.bin.env</span> Where <span class="hightlight">x</span> is\r
-one of five executables supported by JABAWS. Several environment\r
-variables can be specified in the same line. For example.<br />\r
- <span class=\r
-"code">mafft.bin.env=MAFFT_BINARIES#/homes/cengine/mafft;FASTA_4_MAFFT#/bin/fasta34;</span></p>\r
-\r
-<p>The example above defines two environment variables with names\r
-MAFFT-BINARIES and FASTA_4_MAFFT and values /homes/cengine/mafft\r
-and /bin/fasta34 respectively. Semicolon is used as a separator\r
-between different environment variables whereas hash is used as a\r
-separator for name and value of the variable.</p>\r
-\r
-<h3><a name="mafftconf" id="mafftconf"></a>Configure JABAWS to Work\r
-with Mafft</h3>\r
-\r
-<p>If you use default configuration you do not need to read any\r
-further. The default configuration will work for you without any\r
-changes, however, if you want to install Mafft yourself then there\r
-is a couple of more steps to do.</p>\r
-\r
-<p>Mafft executable needs to know the location of other files\r
-supplied with Mafft. In addition some Mafft functions depends on\r
-the fasta executable, which is not supplied with Mafft, but is a\r
-separate package. Mafft needs to know the location of fasta34\r
-executable.</p>\r
-\r
-<p>To let Mafft know where the other files from its package are,\r
-change the value of MAFFT-BINARIES environment variables. To let\r
-Mafft know where is the fasta34 executable set the value of\r
-FASTA_4_MAFFT environment variable to point to a location of\r
-fasta34 program. The latter can be added to the PATH variable\r
-instead. If you are using executables supplied with JABAWS, the\r
-path to Mafft binaries would be like <span class=\r
-"hightlight"><relative path to web application\r
-directory>/binaries/src/mafft/binaries</span> and the path to\r
-fasta34 binary would be <span class="hightlight"><relative path\r
-to web application\r
-directory>/binaries/src/fasta34/fasta34</span>. You can specify\r
-the location of Mafft binaries as well as fasta34 program elsewhere\r
-by providing an absolute path to them. All these settings are\r
-defined in <span class=\r
-"hightlight">conf/Executable.properties</span> file.</p>\r
-<h3><a name="settinglimit" id="settinglimit"></a>Limiting the size of the job accepted by JABAWS </h3>\r
-<p>\r
-JABAWS can be configured to reject excessively large tasks. This is useful if you operate JABAWS service \r
-for many users. By defining a maximum allowed task size you can provide an even service for all users and \r
-prevents waste of resources on the tasks too large to complete successfully. You can define the maximum \r
-number of sequences and the maximum average sequence length that JABAWS accepts for each JABA Web Service \r
-independently. Furthermore, you can define different limits for different presets of the same web service. \r
-<br/>\r
-By default limits are disabled. You can enable them by editing <span class="hightlight">conf/Executable.properties</span> \r
-file. You can adjust the limits according to your needs by editing <span class="hightlight">conf/settings/<X>Limit.xml</span> \r
-files.</p>\r
-\r
-<h3><a name="diffbin" id="diffbin"></a>Using a different version of the alignment program with JABAWS</h3>\r
-<p>\r
- JABAWS is supplied with binaries and source code of the executables related to the version it supports. So normally you \r
- would not need to install your own executables. However, if you have a different version of an executable \r
- (e.g. an alignment program) which you prefer, you could use it as long as it supports all the functions \r
- JABAWS executable require. This could be the case with more recent executable. If the options supported \r
- by your chosen executable is different from the standard JABAWS executable, then you need to edit \r
- <em>ExecutableName</em>Paramaters.xml configuration file.\r
-</p>\r
-\r
-<h3><a name="mixuse" id="mixuse"></a>Load balancing </h3>\r
-<p>\r
- If your cluster is busy and has significant waiting times, you can achieve a faster response by allowing \r
- the server machine to calculate small tasks and then reserve the cluster for bigger jobs. This works \r
- especially well if your server is a powerful machine with many CPUs. To do this you need to enable and \r
- configure both the cluster and the local engines. Once this is done decide on the maximum size of a task \r
- to be run on the server locally. Then, edit \r
- <span class="hightlight">"# LocalEngineExecutionLimit #" </span>preset \r
- in <span class="hightlight"> <ServiceName>Limits.xml</span> file accordingly. JABAWS server then \r
- will balance the load according to the following rule: If the task size is smaller than the maximum task \r
- size for local engine, and the local engine has idle threads, then it calculates task locally otherwise it submit \r
- the task to the cluster.\r
-</p>\r
-\r
-<h3><a name="testingJaba" id="testingJaba"></a>Testing JABA Web Services</h3>\r
-<p>\r
- Access <span class="code"><your_JABAWS_server_URL>/ServiceStatus</span> to test all web services. \r
- Each time you access this URL, all services are tested. \r
- <!-- You can test a particular web service by adding \r
- its name at the end of this URL. For example <span class="code">http://localhost:8080/jabaws/ServiceStatus/MuscleWS </span>\r
- will test MuscleWS webservice only. -->\r
- For production configuration we recommend prohibiting requests to this URL for non \r
- authenticated users to prevent excessive load on the server.\r
-</p>\r
-<p>Alternatively, you can use a command line client (part of the client only\r
- package) to test your JABAWS installation as described <a href="man_client.html">here</a>. If you downloaded a JABAWS\r
- server package, you can use <span class=\r
-"hightlight"><your_jaba_context_name>/WEB-INF/lib/jaba-client.jar</span> to test JABAWS installation as described <a href=\r
-"man_serverwar.html#usingWsTester">here</a>. If you downloaded the source\r
- code, then you could run a number of test suites defined in the\r
- build.xml Apache Ant file.</p>\r
-<h3><a name="logs" id="logs"></a>JABAWS requests logging </h3>\r
-<p>Enable Tomcat log valve. To do this uncomment the following section of <span class="hightlight"><tomcat_root>/conf/server.xml</span> configuration file. </p>\r
-<p class="code"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" <br />\r
- prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/></p>\r
-<p> The following information will be logged:</p>\r
-<table width="100%" border="0" style="margin:0">\r
- <tr>\r
- <th>Remote IP</th>\r
- <th>Date</th>\r
- <th>Method server_URL protocol </th>\r
- <th>HTTP status </th>\r
- <th>Response size in bytes </th>\r
- </tr>\r
- <tr>\r
- <td>10.31.11.159</td>\r
- <td>[10/Feb/2010:16:51:32 +0000]</td>\r
- <td>"POST /jws2/MafftWS HTTP/1.1"</td>\r
- <td>200</td>\r
- <td>2067</td>\r
- </tr>\r
-</table>\r
-<p>Which can be processed in various programs for log analysis , such as <a href="http://www.webalizer.org/">WebAlizer</a>, <a href="http://www.analog.cx/">Analog</a>, <a href="http://awstats.sourceforge.net/">AWStats</a>. </p>\r
-<h3><a name="logfiles" id="logfiles"></a>JABAWS internal logging </h3>\r
-<p>JABAWS can be configured to log what it is doing. This comes in\r
- handy if you would like to see who is using your web services or\r
- need to chase some problems. JABAWS uses <a href=\r
-"http://logging.apache.org/log4j/1.2/">log4j</a> to do the logging,\r
- the example of log4j configuration is bundled with JABAWS war file.\r
- You will find it in the <span class=\r
-"hightlight">/WEB-INF/classes/log4j.properties</span> file. All the\r
- lines in this file are commented out. The reason why the logging is\r
- disabled by default it simple, log4j has to know the exact\r
- location of where the log files are stored. This is not known up\r
- until the deployment time. To enable the logging you need to\r
- define<span class="hightlight"> logDir</span> property in the <span\r
-class="hightlight">log4j.properties</span> and uncomment section of\r
- the file which corresponds to your need. More information is given\r
- in the <span class="hightlight">log4j.properties</span> file\r
- itself. Restart the Tomcat or the JABAWS web application to apply\r
- the settings.</p>\r
-<p>After you have done this, assuming that you did not change the\r
- log4j.properties file yourself, you should see the application log\r
- file called <span class="hightlight">activity.log</span>. The\r
- amount of information logged can be adjusted using different\r
- logging levels, it is reduced in the following order of log levels\r
- TRACE, DEBUG, INFO, WARN, ERROR, FATAL.</p>\r
-<p>If you would like to know who is using your services, you might\r
- want to <a href="#logs">enable Tomcat request\r
- logging</a>.</p>\r
-<h3><a name="warfile" id="warfile"></a>JABAWS War File Content</h3>\r
-<table width="100%">\r
- <tr>\r
- <th style="width:19%">Directory</th>\r
- <th style="width:81%">Content description</th>\r
- </tr>\r
- <tr>\r
- <td>conf/</td>\r
- <td>contains configuration files such as Executable.properties,\r
- Engine.local.properties, Engine.cluster.properties</td>\r
- </tr>\r
- <tr>\r
- <td>conf/settings</td>\r
- <td>Contains individual executable description files. In particular\r
- XXXParameters.xml, XXXPresets.xml, XXXLimits.xml where XXX is the\r
- name of the executable</td>\r
- </tr>\r
- <tr>\r
- <td>ExecutionStatistics</td>\r
- <td>The database for storing the execution statistics </td>\r
- </tr>\r
- <tr>\r
- <td>statpages</td>\r
- <td>Web pages for usage statistics visialization and webservices status queries </td>\r
- </tr>\r
- <tr>\r
- <td>jobsout/</td>\r
- <td>Contains directories generated when running an individual executable. E.g. input and output files and some other task\r
- related data (optional)</td>\r
- </tr>\r
- <tr>\r
- <td>binaries/</td>\r
- <td>Directory contains native executables - programs,\r
- windows binaries (optional)</td>\r
- </tr>\r
- <tr>\r
- <td>binaries/src</td>\r
- <td>Contains source of native executables and Linux i386\r
- binaries</td>\r
- </tr>\r
- <tr>\r
- <td>binaries/windows</td>\r
- <td>Contains binaries for MS Windows operating system </td>\r
- </tr>\r
- <tr>\r
- <td>binaries/matrices</td>\r
- <td>Substitution matrices\r
- <!-- what format ? --></td>\r
- </tr>\r
- <tr>\r
- <td>WEB-INF</td>\r
- <td>Web application descriptor</td>\r
- </tr>\r
- <tr>\r
- <td>WEB-INF/lib</td>\r
- <td>Web application libraries</td>\r
- </tr>\r
- <tr>\r
- <td>WEB-INF/classes</td>\r
- <td>log4j.properties - log configuration file (optional)</td>\r
- </tr>\r
- <tr>\r
- <td colspan="2"><strong>Help Pages</strong> </td>\r
- </tr>\r
- <tr>\r
- <td>/</td>\r
- <td>help pages, index.html is the starting page</td>\r
- </tr>\r
- <tr>\r
- <td>dm_javadoc</td>\r
- <td>javadoc for JABAWS client (the link is available from How To\r
- pages)</td>\r
- </tr>\r
- <tr>\r
- <td>prog_docs</td>\r
- <td>documentation for programs that JABAWS uses</td>\r
- </tr>\r
- <tr>\r
- <td>images</td>\r
- <td>images referenced by html pages</td>\r
- </tr>\r
-</table>\r
-<h3><a name="ga" id="ga"></a>JABAWS and Google Analytics </h3>\r
-<p>JABAWS reports web services usage to our group Google Analytics (GA) account. JABAWS usage statistics are collected for funding and reporting purposes, and no private information is collected. The data sent by JABAWS is as follows: </p>\r
-<ol>\r
- <li>The IP address of the JABAWS server machine (the server IP can anonymized see <span class="hightlight">conf/GA.properties</span> config file)</li>\r
- <li>The name of the web service that was called. </li>\r
- <li>A few details of the system such as JABAWS version, java version, user language, color depth, screen\r
- resolution and character encoding.</li>\r
-</ol>\r
-<p> Google Analytics can be disabled or adjusted by removing/editing <span class="hightlight">conf/GA.properties</span> Google Analytics (GA) settings file. We would appreciate it greatly if you could leave it on!</p>\r
-<p>All calls to GA are very lightweight, completed asynchronously, create very little overhead and do not influence the server response time or performance.</p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newpressed" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2>JABAWS Server Configuration </h2>
+<ul>
+ <li><a href="#defjabaconf">JABAWS Configuration </a></li>
+ <li><a href="#locEngConf">Local Engine Configuration</a></li>
+ <li><a href="#clustEngConf">Cluster Engine Configuration</a></li>
+ <li><a href="#exec">Executable Configuration</a></li>
+ <li><a href="#setexecenv">Defining Environment Variables for Executables</a></li>
+ <li><a href="#mafftconf">Configure JABAWS to Work with Mafft</a></li>
+ <li><a href="#settinglimit">Limiting the size of the job accepted by JABAWS Server </a></li>
+ <li><a href="#diffbin">Using a different version of the alignment program with JABAWS</a></li>
+ <li><a href="#mixuse">Load balancing </a></li>
+ <li><a href="#testingJaba">Testing JABA Web Services</a></li>
+ <li><a href="#logs">JABAWS requests logging </a></li>
+ <li><a href="#logfiles">JABAWS internal logging </a></li>
+ <li><a href="#warfile">JABAWS War File Content</a></li>
+ <li><a href="#ga">JABAWS and Google Analytics</a></li>
+ </ul>
+<h3><a name="defjabaconf" id="defjabaconf"></a>JABAWS Configuration </h3>
+<p>There are three parts of the system you can configure. The local
+and the cluster engines, and the paths to the individual executables for
+each engine. These settings are stored in configuration files
+within the web application directory (for an overview, then take a
+look at the <a href="#warfile">war file content table</a>). </p>
+<p>Initially, JABAWS is configured with only the local engine
+ enabled, with job output written to directory called "jobsout"
+ within the web application itself. This means that JABAWS will work
+ out of the box, but may not be suitable for serving a whole lab or
+ a university.</p>
+<h3><a name="locEngConf" id="locEngConf"></a>Local Engine Configuration</h3>
+
+<p>The Local execution engine configuration is defined in the
+properties file <span class="hightlight">conf/Engine.local.properties. </span>The supported
+configuration settings are:<br />
+ <span class="hightlight">engine.local.enable=true</span> - #
+enable or disable local engine, valid values true | false<br />
+ <span class=
+"hightlight">local.tmp.directory=D:\\clusterengine\\testoutput</span>
+- a directory to use for temporary files storage, optional,
+defaults to java temporary directory<br />
+ <span class="hightlight">engine.local.thread.number=4</span> -
+Number of threads for tasks execution (valid values between 1 and
+2x cpu. Where x is a number of cores available in the system).
+Optional defaults to the number of cores for core number <=4 and
+number of cores-1 for greater core numbers.</p>
+
+<p>If the local engine going to be heavily loaded (which is often the case if you do not have a cluster) it is a good idea to increase
+the amount of memory available for the web application server. If
+you are using Apache-Tomcat, then you can define its memory
+settings in the JAVA_OPTS environment variable. To specify which
+JVM to use for Apache-Tomcat, put the full path to the JRE
+installation in the JAVA_HOME environment variable. (We would
+recommend using Sun Java Virtual Machine (JVM) in preference to
+Open JDK). Below is an example of code which can be added to <span
+class="hightlight"><tomcat_dir>/bin/setenv.sh</span> script
+to define which JVM to use and a memory settings for Tomcat server.
+Tomcat server startup script (<span class=
+"hightlight">catalina.sh</span>) will execute <span class=
+"hightlight">setenv.sh</span> on each server start
+automatically.<br />
+ <span class="code">export
+JAVA_HOME=/homes/ws-dev2/jdk1.6.0_17/<br />
+ export JAVA_OPTS="-server -Xincgc -Xms512m -Xmx1024m"</span></p>
+
+<h3><a name="clustEngConf" id="clustEngConf"></a>Cluster Engine Configuration</h3>
+
+<p>Supported configuration settings:<br />
+ <span class="hightlight">engine.cluster.enable=true</span> - #
+enable or disable local engine true | false, defaults to
+false<br />
+ <span class=
+"hightlight">cluster.tmp.directory=/homes/clustengine/testoutput-</span>
+a directory to use for temporary files storage. The value must be
+an absolute path to the temporary directory. This is required. The value
+must be different from what is defined for local engine. This
+directory must be accessible from all cluster nodes.<br />
+ For the cluster engine to work, the SGE_ROOT and LD_LIBRARY_PATH
+environment variables have to be defined. They tell the cluster
+engine where to find DRMAA libraries. These variables
+should be defined when the web application server starts up, e.g.</p>
+
+<p class="code">SGE_ROOT=/gridware/sge<br />
+ LD_LIBRARY_PATH=/gridware/sge/lib/lx24-amd64</p>
+
+<p>Finally, do not forget to configure executables for the cluster
+execution, they may be the same as for the local execution but may
+be different. Please refer to the executable configuration section
+for further details.</p>
+
+<h3><a name="exec" id="exec"></a>Executable Configuration</h3>
+
+<p>All the executable programs
+are configured in <span class="hightlight">conf/Executable.properties</span> file. Each executable
+is configured with a number of options. They are: <span class=
+"code">local.X.bin.windows=<path to executable under windows
+system, optional><br />
+ local.X.bin=<path to the executable under non-windows system,
+optional><br />
+ cluster.X.bin=<path to the executable on the cluster, all
+cluster nodes must see it, optional><br />
+ X.bin.env=<semicolon separated list of environment variables
+for executable, use hash symbol as name value separator,
+optional><br />
+ X.--aamatrix.path=<path to the directory containing
+substitution matrices, optional><br />
+ X.presets.file=<path to the preset configuration file, optional
+><br />
+ X.parameters.file=<path to the parameters configuration file,
+optional><br />
+ X.limits.file=<path to the limits configuration file,
+optional><br />
+ X.cluster.settings=<list of the cluster specific options,
+optional></span></p>
+
+<p>Where X is either clustal, muscle, mafft, probcons or tcoffee. </p>
+
+<p>Default JABAWS configuration includes path to local executables
+to be run by the local engine only, all cluster related settings
+are commented out, but they are there for you as examples. Cluster
+engine is disabled by default. To configure executable for cluster
+execution uncomment the X.cluster settings and change them
+appropriately. </p>
+<p>
+ By default limits are set well in excess of what you may want to offer to the users outside your lab,
+ to make sure that the tasks are never rejected. The default limit is 100000 sequences of 100000
+ letters on average for all of the JABA web services. You can adjust the limits according to your
+ needs by editing <span class="hightlight">conf/settings/<X>Limit.xml</span> files.<br />
+ After you have completed the editing your configuration may look like
+ this:<span class="code">local.mafft.bin.windows=<br />
+ local.mafft.bin=binaries/mafft<br />
+ cluster.mafft.bin=/homes/cengine/mafft<br />
+ mafft.bin.env=MAFFT_BINARIES#/homes/cengine/mafft;FASTA_4_MAFFT#/bin/fasta34;<br />
+ mafft.--aamatrix.path=binaries/matrices<br />
+ mafft.presets.file=conf/settings/MafftPresets.xml<br />
+ mafft.parameters.file=conf/settings/MafftParameters.xml<br />
+ mafft.limits.file=conf/settings/MafftLimits.xml<br />
+ mafft.cluster.settings=-q bigmem.q -l h_cpu=24:00:00 -l
+ h_vmem=6000M -l ram=6000M</span></p>
+<p>Please not that relative paths must only be specified for the
+files that reside inside web application directory, all other paths
+must be supplied as absolute!</p>
+
+<p>
+Furthermore, you should avoid using environment variables within the paths or options - since
+these will not be evaluated correctly. Instead, please explicitly specify the absolute path
+to anything normally evaluated from an environment variable at execution time.
+</p>
+
+<p>If you are using JABAWS to submit jobs to the cluster (with
+cluster engine enabled), executables must be available from all
+cluster nodes the task can be sent to, also paths to the
+executables on the cluster e.g. <span class=
+"hightlight">cluster.<exec_name>.bin</span> must be
+absolute.</p>
+
+<p>Executables can be located anywhere in your system, they do not
+have to reside on the server as long as the web application server
+can access and execute them.</p>
+
+<p>Cluster settings are treated as a black box, the system will
+just pass whatever is specified in this line directly to the
+cluster submission library. This is how DRMAA itself treats this
+settings. More exactly DRMAA <span class="hightlight">JobTemplate.setNativeSpecification()</span> function will be called.</p>
+<p>For further details and examples of configuration please refer to the <span class="hightlight">Executable.properties</span> file supplied with JABAWS.</p>
+<h3><a name="setexecenv" />Defining Environment Variables for
+Executables</h3>
+
+<p>Environment variables can be defined in property <span class=
+"code">x.bin.env</span> Where <span class="hightlight">x</span> is
+one of five executables supported by JABAWS. Several environment
+variables can be specified in the same line. For example.<br />
+ <span class=
+"code">mafft.bin.env=MAFFT_BINARIES#/homes/cengine/mafft;FASTA_4_MAFFT#/bin/fasta34;</span></p>
+
+<p>The example above defines two environment variables with names
+MAFFT-BINARIES and FASTA_4_MAFFT and values /homes/cengine/mafft
+and /bin/fasta34 respectively. Semicolon is used as a separator
+between different environment variables whereas hash is used as a
+separator for name and value of the variable.</p>
+
+<h3><a name="mafftconf" id="mafftconf"></a>Configure JABAWS to Work
+with Mafft</h3>
+
+<p>If you use default configuration you do not need to read any
+further. The default configuration will work for you without any
+changes, however, if you want to install Mafft yourself then there
+is a couple of more steps to do.</p>
+
+<p>Mafft executable needs to know the location of other files
+supplied with Mafft. In addition some Mafft functions depends on
+the fasta executable, which is not supplied with Mafft, but is a
+separate package. Mafft needs to know the location of fasta34
+executable.</p>
+
+<p>To let Mafft know where the other files from its package are,
+change the value of MAFFT-BINARIES environment variables. To let
+Mafft know where is the fasta34 executable set the value of
+FASTA_4_MAFFT environment variable to point to a location of
+fasta34 program. The latter can be added to the PATH variable
+instead. If you are using executables supplied with JABAWS, the
+path to Mafft binaries would be like <span class=
+"hightlight"><relative path to web application
+directory>/binaries/src/mafft/binaries</span> and the path to
+fasta34 binary would be <span class="hightlight"><relative path
+to web application
+directory>/binaries/src/fasta34/fasta34</span>. You can specify
+the location of Mafft binaries as well as fasta34 program elsewhere
+by providing an absolute path to them. All these settings are
+defined in <span class=
+"hightlight">conf/Executable.properties</span> file.</p>
+<h3><a name="settinglimit" id="settinglimit"></a>Limiting the size of the job accepted by JABAWS </h3>
+<p>
+JABAWS can be configured to reject excessively large tasks. This is useful if you operate JABAWS service
+for many users. By defining a maximum allowed task size you can provide an even service for all users and
+prevents waste of resources on the tasks too large to complete successfully. You can define the maximum
+number of sequences and the maximum average sequence length that JABAWS accepts for each JABA Web Service
+independently. Furthermore, you can define different limits for different presets of the same web service.
+<br/>
+By default limits are disabled. You can enable them by editing <span class="hightlight">conf/Executable.properties</span>
+file. You can adjust the limits according to your needs by editing <span class="hightlight">conf/settings/<X>Limit.xml</span>
+files.</p>
+
+<h3><a name="diffbin" id="diffbin"></a>Using a different version of the alignment program with JABAWS</h3>
+<p>
+ JABAWS is supplied with binaries and source code of the executables related to the version it supports. So normally you
+ would not need to install your own executables. However, if you have a different version of an executable
+ (e.g. an alignment program) which you prefer, you could use it as long as it supports all the functions
+ JABAWS executable require. This could be the case with more recent executable. If the options supported
+ by your chosen executable is different from the standard JABAWS executable, then you need to edit
+ <em>ExecutableName</em>Paramaters.xml configuration file.
+</p>
+
+<h3><a name="mixuse" id="mixuse"></a>Load balancing </h3>
+<p>
+ If your cluster is busy and has significant waiting times, you can achieve a faster response by allowing
+ the server machine to calculate small tasks and then reserve the cluster for bigger jobs. This works
+ especially well if your server is a powerful machine with many CPUs. To do this you need to enable and
+ configure both the cluster and the local engines. Once this is done decide on the maximum size of a task
+ to be run on the server locally. Then, edit
+ <span class="hightlight">"# LocalEngineExecutionLimit #" </span>preset
+ in <span class="hightlight"> <ServiceName>Limits.xml</span> file accordingly. JABAWS server then
+ will balance the load according to the following rule: If the task size is smaller than the maximum task
+ size for local engine, and the local engine has idle threads, then it calculates task locally otherwise it submit
+ the task to the cluster.
+</p>
+
+<h3><a name="testingJaba" id="testingJaba"></a>Testing JABA Web Services</h3>
+<p>
+ Access <span class="code"><your_JABAWS_server_URL>/ServiceStatus</span> to test all web services.
+ Each time you access this URL, all services are tested.
+ <!-- You can test a particular web service by adding
+ its name at the end of this URL. For example <span class="code">http://localhost:8080/jabaws/ServiceStatus/MuscleWS </span>
+ will test MuscleWS webservice only. -->
+ For production configuration we recommend prohibiting requests to this URL for non
+ authenticated users to prevent excessive load on the server.
+</p>
+<p>Alternatively, you can use a command line client (part of the client only
+ package) to test your JABAWS installation as described <a href="man_client.html">here</a>. If you downloaded a JABAWS
+ server package, you can use <span class=
+"hightlight"><your_jaba_context_name>/WEB-INF/lib/jaba-client.jar</span> to test JABAWS installation as described <a href=
+"man_serverwar.html#usingWsTester">here</a>. If you downloaded the source
+ code, then you could run a number of test suites defined in the
+ build.xml Apache Ant file.</p>
+<h3><a name="logs" id="logs"></a>JABAWS requests logging </h3>
+<p>Enable Tomcat log valve. To do this uncomment the following section of <span class="hightlight"><tomcat_root>/conf/server.xml</span> configuration file. </p>
+<p class="code"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" <br />
+ prefix="localhost_access_log." suffix=".txt" pattern="common" resolveHosts="false"/></p>
+<p> The following information will be logged:</p>
+<table width="100%" border="0" style="margin:0">
+ <tr>
+ <th>Remote IP</th>
+ <th>Date</th>
+ <th>Method server_URL protocol </th>
+ <th>HTTP status </th>
+ <th>Response size in bytes </th>
+ </tr>
+ <tr>
+ <td>10.31.11.159</td>
+ <td>[10/Feb/2010:16:51:32 +0000]</td>
+ <td>"POST /jws2/MafftWS HTTP/1.1"</td>
+ <td>200</td>
+ <td>2067</td>
+ </tr>
+</table>
+<p>Which can be processed in various programs for log analysis , such as <a href="http://www.webalizer.org/">WebAlizer</a>, <a href="http://www.analog.cx/">Analog</a>, <a href="http://awstats.sourceforge.net/">AWStats</a>. </p>
+<h3><a name="logfiles" id="logfiles"></a>JABAWS internal logging </h3>
+<p>JABAWS can be configured to log what it is doing. This comes in
+ handy if you would like to see who is using your web services or
+ need to chase some problems. JABAWS uses <a href=
+"http://logging.apache.org/log4j/1.2/">log4j</a> to do the logging,
+ the example of log4j configuration is bundled with JABAWS war file.
+ You will find it in the <span class=
+"hightlight">/WEB-INF/classes/log4j.properties</span> file. All the
+ lines in this file are commented out. The reason why the logging is
+ disabled by default it simple, log4j has to know the exact
+ location of where the log files are stored. This is not known up
+ until the deployment time. To enable the logging you need to
+ define<span class="hightlight"> logDir</span> property in the <span
+class="hightlight">log4j.properties</span> and uncomment section of
+ the file which corresponds to your need. More information is given
+ in the <span class="hightlight">log4j.properties</span> file
+ itself. Restart the Tomcat or the JABAWS web application to apply
+ the settings.</p>
+<p>After you have done this, assuming that you did not change the
+ log4j.properties file yourself, you should see the application log
+ file called <span class="hightlight">activity.log</span>. The
+ amount of information logged can be adjusted using different
+ logging levels, it is reduced in the following order of log levels
+ TRACE, DEBUG, INFO, WARN, ERROR, FATAL.</p>
+<p>If you would like to know who is using your services, you might
+ want to <a href="#logs">enable Tomcat request
+ logging</a>.</p>
+<h3><a name="warfile" id="warfile"></a>JABAWS War File Content</h3>
+<table width="100%">
+ <tr>
+ <th style="width:19%">Directory</th>
+ <th style="width:81%">Content description</th>
+ </tr>
+ <tr>
+ <td>conf/</td>
+ <td>contains configuration files such as Executable.properties,
+ Engine.local.properties, Engine.cluster.properties</td>
+ </tr>
+ <tr>
+ <td>conf/settings</td>
+ <td>Contains individual executable description files. In particular
+ XXXParameters.xml, XXXPresets.xml, XXXLimits.xml where XXX is the
+ name of the executable</td>
+ </tr>
+ <tr>
+ <td>ExecutionStatistics</td>
+ <td>The database for storing the execution statistics </td>
+ </tr>
+ <tr>
+ <td>statpages</td>
+ <td>Web pages for usage statistics visialization and webservices status queries </td>
+ </tr>
+ <tr>
+ <td>jobsout/</td>
+ <td>Contains directories generated when running an individual executable. E.g. input and output files and some other task
+ related data (optional)</td>
+ </tr>
+ <tr>
+ <td>binaries/</td>
+ <td>Directory contains native executables - programs,
+ windows binaries (optional)</td>
+ </tr>
+ <tr>
+ <td>binaries/src</td>
+ <td>Contains source of native executables and Linux i386
+ binaries</td>
+ </tr>
+ <tr>
+ <td>binaries/windows</td>
+ <td>Contains binaries for MS Windows operating system </td>
+ </tr>
+ <tr>
+ <td>binaries/matrices</td>
+ <td>Substitution matrices
+ <!-- what format ? --></td>
+ </tr>
+ <tr>
+ <td>WEB-INF</td>
+ <td>Web application descriptor</td>
+ </tr>
+ <tr>
+ <td>WEB-INF/lib</td>
+ <td>Web application libraries</td>
+ </tr>
+ <tr>
+ <td>WEB-INF/classes</td>
+ <td>log4j.properties - log configuration file (optional)</td>
+ </tr>
+ <tr>
+ <td colspan="2"><strong>Help Pages</strong> </td>
+ </tr>
+ <tr>
+ <td>/</td>
+ <td>help pages, index.html is the starting page</td>
+ </tr>
+ <tr>
+ <td>dm_javadoc</td>
+ <td>javadoc for JABAWS client (the link is available from How To
+ pages)</td>
+ </tr>
+ <tr>
+ <td>prog_docs</td>
+ <td>documentation for programs that JABAWS uses</td>
+ </tr>
+ <tr>
+ <td>images</td>
+ <td>images referenced by html pages</td>
+ </tr>
+</table>
+<h3><a name="ga" id="ga"></a>JABAWS and Google Analytics </h3>
+<p>JABAWS reports web services usage to our group Google Analytics (GA) account. JABAWS usage statistics are collected for funding and reporting purposes, and no private information is collected. The data sent by JABAWS is as follows: </p>
+<ol>
+ <li>The IP address of the JABAWS server machine (the server IP can anonymized see <span class="hightlight">conf/GA.properties</span> config file)</li>
+ <li>The name of the web service that was called. </li>
+ <li>A few details of the system such as JABAWS version, java version, user language, color depth, screen
+ resolution and character encoding.</li>
+</ol>
+<p> Google Analytics can be disabled or adjusted by removing/editing <span class="hightlight">conf/GA.properties</span> Google Analytics (GA) settings file. We would appreciate it greatly if you could leave it on!</p>
+<p>All calls to GA are very lightweight, completed asynchronously, create very little overhead and do not influence the server response time or performance.</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newpressed" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2>Using JABAWS From Your Program </h2>\r
-<ul>\r
- <li><a href="#wsfunctions">Web services functions overview </a></li>\r
- <li><a href="#templatestr">The template client structure</a></li>\r
- <li><a href="#connectto">Connecting to JABAWS</a></li>\r
- <li><a href="#validnames">Valid JABAWS service names and WSDL files</a></li>\r
- <li><a href="#defalign">Aligning sequences</a></li>\r
- <li><a href="#checkresults">Checking the status of the calculation </a></li>\r
- <li><a href="#presetalign">Aligning with presets</a></li>\r
- <li><a href="#customalign">Aligning with custom parameters</a></li>\r
- <li><a href="#writingaltofile">Writing alignments to a file</a></li>\r
- <li><a href="#compex">A complete client example </a></li>\r
- <li><a href="#buildart">Building web services artifacts</a></li>\r
-</ul>\r
-<h3><a name="wsfunctions" id="wsfunctions"></a>Web services functions overview </h3>\r
-<p>All JABA multiple sequence alignment web services comply to the same interface, thus the function described below are available from all the services. </p>\r
-<p><strong>Functions for initiating the alignment </strong><span class="code"> String id = align(List<FastaSequence> list)<br />\r
- String id = customAlign(List<FastaSequence> sequenceList, List<Option> optionList)<br />\r
- String id = presetAlign(List<FastaSequence> sequenceList, Preset preset)</span></p>\r
-<p><strong>Functions pertaining to job monitoring and control</strong><br />\r
- <span class="code">JobStatus status = getJobStatus(String id)<br />\r
- Alignment al = getResult(String id)<br />\r
- boolean cancelled = cancelJob(String id)<br />\r
- ChunkHolder chunk = pullExecStatistics(String id, long marker)</span></p>\r
-<p><strong>Functions relating to service features discovery</strong><br />\r
- <span class="code">RunnerConfig rc = getRunnerOptions()<br />\r
- Limit limit = getLimit(String name)<br />\r
- LimitsManager lm = getLimits()<br />\r
- PresetManager pm = getPresets()</span></p>\r
-<p>Please refer to a <a href="dm_javadoc/compbio/data/msa/MsaWS.html">data model javadoc</a> for a detailed description of each methods. </p>\r
-<h3><a name="templatestr" id="templatestr"></a>Structure of the template command line client</h3>\r
-<table width="100%" border="1">\r
- <tr>\r
- <td style="width:19%"><strong>Packages</strong></td>\r
- <td style="width:81%"><strong>Classes and Interfaces </strong></td>\r
- </tr>\r
- <tr>\r
- <td>compbio.data.msa </td>\r
- <td>MsaWS the interface for all multiple sequence alignment web services </td>\r
- </tr>\r
- <tr>\r
- <td>compbio.data.sequence</td>\r
- <td>JABAWS data types </td>\r
- </tr>\r
- <tr>\r
- <td>compbio.metadata</td>\r
- <td>JABAWS meta data types </td>\r
- </tr>\r
- <tr>\r
- <td>compbio.ws.client</td>\r
- <td>JABAWS command line client </td>\r
- </tr>\r
-</table>\r
-<p>Additional utility libraries that this client depend upon is the compbio-util-1.3.jar and compbio-annotation-1.0.jar. <br />\r
- Please refer to a <a href="dm_javadoc/index.html">data model javadoc</a> for a detailed description of each class and its methods. </p>\r
-\r
-\r
-<h3><a name="connectto" id="connectto"></a>Connecting to JABAWS</h3>\r
-<p class="attention">\r
-For a complete working example of JABAWS command line client please see compbio.ws.client.Jws2Client class. JABAWS command line client \r
-source code is available from the <a href="http://www.compbio.dundee.ac.uk/download">download page</a>. Please note that for now all \r
-the examples are in Java other languages will follow given a sufficient demand. </p>\r
-\r
-<p>\r
-Download a binary JABAWS client. Add the client to the class path. The following code excerpt will connect your program to Clustal \r
-web service deployed in the University of Dundee. </p>\r
-<p class="code"> import java.net.URL;<br />\r
- import javax.xml.namespace.QName;<br />\r
- import javax.xml.ws.Service;<br />\r
- ...............<br />\r
- 1) String qualifiedName = "http://msa.data.compbio/01/01/2010/";<br />\r
- 2) URL url = new URL("http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?wsdl");<br />\r
- 3) QName qname = new QName(, "ClustalWS");<br />\r
- 4) Service serv = Service.create(url, qname);<br />\r
- 5) MsaWS msaws = serv.getPort(new QName(qualifiedName, "ClustalWSPort"),\r
- MsaWS.class);\r
-</p>\r
-<p>\r
- Line 1 makes a qualified name for JABA web services.<br />\r
- Line 2 constructs the URL to the web services WSDL. <br />\r
- Line 3 makes a qualified name instance for Clustal JABA web service. <br />\r
- Line 4 creates a service instance.<br />\r
- Line 5 makes a connection to the server.\r
-</p>\r
-<p>\r
- A more generic connection method would look like this\r
-</p>\r
-<p class="code"> import java.net.URL;<br />\r
- import javax.xml.namespace.QName;<br />\r
- import javax.xml.ws.Service;<br />\r
- import compbio.ws.client.Services<br />\r
- .............. <br />\r
- String qualifiedServiceName = "http://msa.data.compbio/01/01/2010/";<br />\r
- String host = "http://www.compbio.dundee.ac.uk/jabaws";<br />\r
- // In real life the service name can come from args<br />\r
- Services clustal = Services.ClustalWS;<br />\r
- URL url = new URL(host + "/" + clustal.toString() + "?wsdl");<br />\r
- QName qname = new QName(qualifiedServiceName, clustal.toString());<br />\r
- Service serv = Service.create(url, qname);<br />\r
- MsaWS msaws = serv.getPort(new QName(qualifiedServiceName, clustal<br />\r
- + "Port"), MsaWS.class);\r
-</p>\r
-<p>\r
- Where Services is enumeration of JABAWS web services. All JABAWS multiple sequence alignment methods confirm to \r
- MsaWS specification, thus from the caller point of view all JABAWS web services can be represented by MsaWS \r
- interface. The full documentation of MsaWS functions is available from the <a href="dm_javadoc/compbio/data/msa/MsaWS.html">javadoc</a>.\r
-</p>\r
-\r
-\r
-<h3><a name="validnames" id="validnames"></a>Valid JABAWS service names and WSDL files </h3>\r
-<p>Multiple sequence alignment services </p>\r
-<ul><li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalOWS?wsdl">ClustalOWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalOWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalWS?wsdl">ClustalWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/MuscleWS?wsdl">MuscleWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/MuscleWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/MafftWS?wsdl">MafftWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/MafftWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/TcoffeeWS?wsdl">TcoffeeWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/TcoffeeWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/ProbconsWS?wsdl">ProbconsWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/ProbconsWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/MSAprobsWS?wsdl">MSAprobsWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/MSAprobsWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/GLprobsWS?wsdl">GLprobsWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/GLprobsWS?wsdl) </li>\r
-</ul>\r
-<p>Protein disorder prediction services </p>\r
-<ul>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/IUPredWS?wsdl">IUPredWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/IUPredWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/GlobPlotWS?wsdl">GlobPlotWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/GlobPlotWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/DisemblWS?wsdl">DisemblWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/DisemblWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/JronnWS?wsdl">JronnWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/JronnWS?wsdl) </li>\r
-</ul>\r
-<p>Amino acid conservation service</p>\r
-<ul>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/AAConWS?wsdl">AAConWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/AAConWS?wsdl) </li>\r
-</ul>\r
-<p>Protein and RNA Secondary Structure Prediction</p>\r
-<ul>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/JpredWS?wsdl">JpredWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/JpredWS?wsdl) </li>\r
- <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/RNAalifoldWS?wsdl">RNAalifoldWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/RNAalifoldWS?wsdl) </li>\r
-</ul>\r
-<p>\r
-Please replace <span class="hightlight">http://www.compbio.dundee.ac.uk/</span> with your JABAWS instance host name, and \r
-<span class="hightlight">jabaws</span> with your JABAWS context name to access your local version of JABAWS web services. \r
-For example <span class="hightlight">http://localhost:8080/jabaws</span> would be a valid URL for the default Apache-Tomcat \r
-installation and jabaws.war file deployment. </p>\r
-\r
-\r
-<h3><a name="defalign" id="defalign"></a>Aligning sequences </h3>\r
-<p>\r
-Given that <span class="hightlight">msaws</span> is web service proxy, created as described in "Connecting to JABAWS" \r
-section, the actual alignment can be obtained as follows: </p>\r
-<p class="code">1) List<FastaSequence> fastalist = SequenceUtil.readFasta(new FileInputStream(file));<br />\r
- 2) String jobId = msaws.align(fastalist); <br />\r
- 3) Alignment alignment = msaws.getResult(jobId);</p>\r
-<p>Line one loads FASTA sequence from the file.<br />\r
- Line two submits them to web service represented by msaws proxy. <br />\r
- Line three retrieves the alignment from a web service. This line will block the execution until the result is available. \r
- Use this with caution. In general, you should make sure that the calculation has been completed before attempting \r
- retrieving results. This is to avoid keeping the connection to the server on hold for a prolonged periods of time. \r
- While this may be ok with your local server, our public server \r
- (<a href="http://www.compbio.dundee.ac.uk/jabaws">www.compbio.dundee.ac.uk/jabaws</a>) will not let you hold the connection \r
- for longer than 10 minutes. This is done to prevent excessive load on the server. The next section describes how to check \r
- the status of the calculation.<br />\r
- Methods and classes mentioned in the excerpt are available from the JABAWS client library. </p>\r
-<h3><a name="checkresults" id="checkresults"></a>Checking the status of the calculation </h3>\r
-<p> You may have noticed that there was no pause between submitting the job and retrieving of the results. This is \r
-because <span class="hightlight">getResult(jobId)</span> method block the processing until the calculation is completed. \r
-However, taking into account that the connection holds server resources, our public server \r
-(<a href="http://www.compbio.dundee.ac.uk/jabaws">www.compbio.dundee.ac.uk/jabaws</a>) is configured to reset the \r
-connection after 10 minutes of waiting. To work around the connection reset you are encouraged to check whether the \r
-calculation has been completed before accessing the results. You can do it like this: </p>\r
-<p> <span class="code">while (msaws.getJobStatus(jobId) != JobStatus.FINISHED) {<br />\r
- Thread.sleep(2000); // wait two seconds, then recheck the status <br />\r
- }</span></p>\r
-<h3><a name="presetalign" id="presetalign"></a>Aligning with presets</h3>\r
-<p class="code">1) PresetManager presetman = msaws.getPresets();<br />\r
- 2) Preset preset = presetman.getPresetByName(presetName);<br />\r
- 3) List<FastaSequence> fastalist = SequenceUtil.readFasta(new FileInputStream(file));<br />\r
- 4) String jobId = msaws.presetAlign(fastalist, preset);<br />\r
- 5) Alignment alignment = msaws.getResult(jobId);</p>\r
-<p>Line one obtains the lists of presets supported by a web service.<br />\r
- Line two return a particular Preset \r
- by its name.<br />\r
- Lines three to five are doing the same job as in the first <a href="#defalign"> aligning sequences example</a>.</p>\r
-<h3><a name="customalign" id="customalign"></a>Aligning with custom parameters</h3>\r
-<p class="code"> 1) RunnerConfig options = msaws.getRunnerOptions();<br />\r
- 2) Argument matrix = options.getArgument("MATRIX");<br />\r
- 3) matrix.setValue("PAM300");<br />\r
- 4) Argument gapopenpenalty = options.getArgument("GAPOPEN");<br />\r
- 5) gapopenpenalty.setValue("20");<br />\r
- 6) List<Argument> arguments = new ArrayList<Argument>(); <br />\r
- 7) arguments.add(matrix);\r
- arguments.add(gapopenpenalty);<br />\r
- 8) List<FastaSequence> fastalist = SequenceUtil.readFasta(new FileInputStream(file));<br />\r
- 9) String jobId = msaws.customAlign(fastalist, arguments);<br />\r
- 10) Alignment alignment = msaws.getResult(jobId);</p>\r
-<p>Line one obtains the <span class="hightlight">RunnerConfig</span> object that holds information on supported parameters and their values<br />\r
- Line two retrieve a particular parameter from the holder by its name.<br />\r
- Lines three sets a value to this parameter which will be used in the calculation. <br />\r
- Line four and five do the same but for another parameter.<br />\r
- Line 6 makes a List to hold the parameters. <br />\r
- Line seven puts the parameters into that list.<br />\r
- Line eight \r
- and ten is the same as in previous examples.<br />\r
- Line nine submit an alignment request with the sequences and the parameters. <br />\r
- The names of all the parameters supported by a web service e.g. "PAM300" can be obtained \r
- using <span class="hightlight">options.getArguments() </span>method. Further details on the methods \r
- available from <span class="hightlight">RunnerConfig</span> object are available from the \r
- <a href="dm_javadoc/index.html">javadoc</a>. </p>\r
-<h3><a name="writingaltofile" id="writingaltofile"></a>Writing alignments to a file</h3>\r
-<p>There is a utility method in the client library that does exactly that. </p>\r
-<p> <span class="code">Alignment alignment = align(...) <br />\r
- FileOutputStream outStream = new FileOutputStream(file);<br />\r
- ClustalAlignmentUtil.writeClustalAlignment(outStream, align);</span></p>\r
-<h3><a name="compex" id="compex"></a>A complete client example </h3>\r
-<p>\r
-Finally, a complete example of the program that connects to JABAWS Clustal service and aligns sequences using \r
-one of the Clustal web service presets. There is also a <a href="Example_template.pdf">PDF version</a> of \r
-this example with syntax highlighted. The text comments are commented by block style comments e.g. /* comment */, \r
-the alternatives given in the code are line commented // comment. You may want to remove line style comments to \r
-test alternatives of the functions. All you need for this to work is a \r
-<a href="http://www.compbio.dundee.ac.uk/download/get?id=min-jaba-client-2.0.jar">JABAWS binary client</a>. \r
-Please make sure that the client is in the Java class path before running this example.</p>\r
-<pre class="code" style="line-height:1em;">\r
-import java.io.ByteArrayInputStream;\r
-import java.io.FileNotFoundException;\r
-import java.io.IOException;\r
-import java.net.URL;\r
-import java.util.List;\r
-\r
-import javax.xml.namespace.QName;\r
-import javax.xml.ws.Service;\r
-\r
-import compbio.data.msa.MsaWS;\r
-import compbio.data.sequence.Alignment;\r
-import compbio.data.sequence.FastaSequence;\r
-import compbio.data.sequence.SequenceUtil;\r
-import compbio.metadata.JobSubmissionException;\r
-import compbio.metadata.LimitExceededException;\r
-import compbio.metadata.Preset;\r
-import compbio.metadata.PresetManager;\r
-import compbio.metadata.ResultNotAvailableException;\r
-import compbio.metadata.UnsupportedRuntimeException;\r
-import compbio.metadata.WrongParameterException;\r
-\r
-public class Example {\r
-\r
- /*\r
- * Input sequences for alignment\r
- */\r
- static final String input = ">Foo\r\n"\r
- + "MTADGPRELLQLRAAVRHRPQDFVAWLMLADAELGMGDTTAGEMAVQRGLALHPGHPEAVARLGR"\r
- + "VRWTQQRHAEAAVLLQQASDAAPEHPGIALWLGHALEDAGQAEAAAAAYTRAHQLLPEEPYITAQ"\r
- + "LLNWRRRLCDWRALDVLSAQVRAAVAQGVGAVEPFAFLSEDASAAEQLACARTRAQAIAASVRPL"\r
- + "APTRVRSKGPLRVGFVSNGFGAHPTGLLTVALFEALQRRQPDLQMHLFATSGDDGSTLRTRLAQA"\r
- + "STLHDVTALGHLATAKHIRHHGIDLLFDLRGWGGGGRPEVFALRPAPVQVNWLAYPGTSGAPWMD"\r
- + "YVLGDAFALPPALEPFYSEHVLRLQGAFQPSDTSRVVAEPPSRTQCGLPEQGVVLCCFNNSYKLN"\r
- + "PQSMARMLAVLREVPDSVLWLLSGPGEADARLRAFAHAQGVDAQRLVFMPKLPHPQYLARYRHAD"\r
- + "LFLDTHPYNAHTTASDALWTGCPVLTTPGETFAARVAGSLNHHLGLDEMNVADDAAFVAKAVALAS"\r
- + "DPAALTALHARVDVLRRESGVFEMDGFADDFGALLQALARRHGWLGI\r\n"\r
- + "\r\n"\r
- + ">Bar\r\n"\r
- + "MGDTTAGEMAVQRGLALHQQRHAEAAVLLQQASDAAPEHPGIALWLHALEDAGQAEAAAAYTRAH"\r
- + "QLLPEEPYITAQLLNAVAQGVGAVEPFAFLSEDASAAESVRPLAPTRVRSKGPLRVGFVSNGFGA"\r
- + "HPTGLLTVALFEALQRRQPDLQMHLFATSGDDGSTLRTRLAQASTLHDVTALGHLATAKHIRHHG"\r
- + "IDLLFDLRGWGGGGRPEVFALRPAPVQVNWLAYPGTSGAPWMDYVLGDAFALPPALEPFYSEHVL"\r
- + "RLQGAFQPSDTSRVVAEPPSRTQCGLPEQGVVLCCFNNSYKLNPQSMARMLAVLREVPDSVLWLL"\r
- + "SGPGEADARLRAFAHAQGVDAQRLVFMPKLPHPQYLARYRHADLFLDTHPYNAHTTASDALWTGC"\r
- + "PVLTTPGETFAARVAGSLNHHLGLDEMNVADDAAFVAKAVALASDPAALTALHARVDVLRRESGV"\r
- + "FEMDGFADDFGALLQALARRHGWLGI\r\n"\r
- + "\r\n"\r
- + ">Friends\r\n"\r
- + "MTADGPRELLQLRAAVRHRPQDVAWLMLADAELGMGDTTAGEMAVQRGLALHPGHPEAVARLGRV"\r
- + "RWTQQRHAEAAVLLQQASDAAPEHPGIALWLGHALEDHQLLPEEPYITAQLDVLSAQVRAAVAQG"\r
- + "VGAVEPFAFLSEDASAAEQLACARTRAQAIAASVRPLAPTRVRSKGPLRVGFVSNGFGAHPTGLL"\r
- + "TVALFEALQRRQPDLQMHLFATSGDDGSTLRTRLAQASTLHDVTALGHLATAKHIRHHGIDLLFD"\r
- + "LRGWGGGGRPEVFALRPAPVQVNWLAYPGTSGAPWMDYVLGDAFALPPALEPFYSEHVLRLQGAF"\r
- + "QPSDTSRVVAEPPSRTQCGLPEQGVVLCCFNNSYKLNPQSMARMLAVLREVPDSVLWLLSGPGEA"\r
- + "DARLRAFAHAQGVDAQRLVFMPKLPHPQYLARYRHADLFLDTHPYNAHTTASDALWTGCPVLTTP"\r
- + "GETFAARVAGSLNHHLGLDEMNVADDAAFVAKAVALASDPAALTALHARVDVLRRESI";\r
-\r
- public static void main(String[] args) throws UnsupportedRuntimeException,\r
- LimitExceededException, JobSubmissionException,\r
- WrongParameterException, FileNotFoundException, IOException,\r
- ResultNotAvailableException, InterruptedException {\r
-\r
- String qualifiedServiceName = "http://msa.data.compbio/01/01/2010/";\r
-\r
- /* Make a URL pointing to web service WSDL */\r
- URL url = new URL("http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?wsdl");\r
-\r
- /*\r
- * If you are making a client that connects to different web services\r
- * you can use something like this:\r
- */\r
- // URL url = new URL(host + "/" + Services.ClustalWS.toString() +\r
- // "?wsdl");\r
-\r
- QName qname = new QName(qualifiedServiceName, "ClustalWS");\r
- Service serv = Service.create(url, qname);\r
- /*\r
- * Multiple sequence alignment interface for Clustal web service\r
- * instance\r
- */\r
- MsaWS msaws = serv.getPort(new QName(qualifiedServiceName, "ClustalWS"\r
- + "Port"), MsaWS.class);\r
-\r
- /* Get the list of available presets */\r
- PresetManager presetman = msaws.getPresets();\r
-\r
- /* Get the Preset object by preset name */\r
- Preset preset = presetman\r
- .getPresetByName("Disable gap weighting (Speed-oriented)");\r
-\r
- /*\r
- * Load sequences in FASTA format from the file You can use something\r
- * like new FileInputStream(<filename>) to load sequence from the file\r
- */\r
- List<FastaSequence> fastalist = SequenceUtil\r
- .readFasta(new ByteArrayInputStream(input.getBytes()));\r
-\r
- /*\r
- * Submit loaded sequences for an alignment using preset. The job\r
- * identifier is returned by this method, you can retrieve the results\r
- * with it sometime later.\r
- */\r
- String jobId = msaws.presetAlign(fastalist, preset);\r
-\r
- /* This method will block for the duration of the calculation */\r
- Alignment alignment = msaws.getResult(jobId);\r
-\r
- /*\r
- * This is a better way of obtaining results, it does not involve\r
- * holding the connection open for the duration of the calculation,\r
- * Besides, as the University of Dundee public server will reset the\r
- * connection after 10 minutes of idling, this is the only way to obtain\r
- * the results of long running task from our public server.\r
- */\r
- // while (msaws.getJobStatus(jobId) != JobStatus.FINISHED) {\r
- // Thread.sleep(1000); // wait a second, then recheck the status\r
- // }\r
-\r
- /* Output the alignment to standard out */\r
- System.out.println(alignment);\r
-\r
- // Alternatively, you can record retrieved alignment into the file in\r
- // ClustalW format\r
-\r
- // ClustalAlignmentUtil.writeClustalAlignment(new FileOutputStream(\r
- // "output.al"), alignment);\r
-\r
- }\r
-}\r
-</pre>\r
-For a more detailed description of all available types and their functions please refer to the <a href="dm_javadoc/index.html">data model javadoc</a>.\r
-<h3><a name="buildart" id="buildart"></a>Building web services artifacts</h3>\r
-<p>\r
-JABAWS are the standard <a href="http://jax-ws.java.net/">JAX-WS</a> SOAP web services, which are <a href="http://www.ws-i.org/">WS-I</a> \r
-basic profile compatible. This means that you could use whatever tool your language has to work with web services. Below is how you can \r
-generate portable artifacts to work with JABAWS from Java. However if programming in Java, we recommend using our client library as \r
-it provides a handful of useful methods in addition to plain data types. </p>\r
-<p class="code">wsimport -keep http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?wsdl</p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newpressed" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2>Using JABAWS From Your Program </h2>
+<ul>
+ <li><a href="#wsfunctions">Web services functions overview </a></li>
+ <li><a href="#templatestr">The template client structure</a></li>
+ <li><a href="#connectto">Connecting to JABAWS</a></li>
+ <li><a href="#validnames">Valid JABAWS service names and WSDL files</a></li>
+ <li><a href="#defalign">Aligning sequences</a></li>
+ <li><a href="#checkresults">Checking the status of the calculation </a></li>
+ <li><a href="#presetalign">Aligning with presets</a></li>
+ <li><a href="#customalign">Aligning with custom parameters</a></li>
+ <li><a href="#writingaltofile">Writing alignments to a file</a></li>
+ <li><a href="#compex">A complete client example </a></li>
+ <li><a href="#buildart">Building web services artifacts</a></li>
+</ul>
+<h3><a name="wsfunctions" id="wsfunctions"></a>Web services functions overview </h3>
+<p>All JABA multiple sequence alignment web services comply to the same interface, thus the function described below are available from all the services. </p>
+<p><strong>Functions for initiating the alignment </strong><span class="code"> String id = align(List<FastaSequence> list)<br />
+ String id = customAlign(List<FastaSequence> sequenceList, List<Option> optionList)<br />
+ String id = presetAlign(List<FastaSequence> sequenceList, Preset preset)</span></p>
+<p><strong>Functions pertaining to job monitoring and control</strong><br />
+ <span class="code">JobStatus status = getJobStatus(String id)<br />
+ Alignment al = getResult(String id)<br />
+ boolean cancelled = cancelJob(String id)<br />
+ ChunkHolder chunk = pullExecStatistics(String id, long marker)</span></p>
+<p><strong>Functions relating to service features discovery</strong><br />
+ <span class="code">RunnerConfig rc = getRunnerOptions()<br />
+ Limit limit = getLimit(String name)<br />
+ LimitsManager lm = getLimits()<br />
+ PresetManager pm = getPresets()</span></p>
+<p>Please refer to a <a href="dm_javadoc/compbio/data/msa/MsaWS.html">data model javadoc</a> for a detailed description of each methods. </p>
+<h3><a name="templatestr" id="templatestr"></a>Structure of the template command line client</h3>
+<table width="100%" border="1">
+ <tr>
+ <td style="width:19%"><strong>Packages</strong></td>
+ <td style="width:81%"><strong>Classes and Interfaces </strong></td>
+ </tr>
+ <tr>
+ <td>compbio.data.msa </td>
+ <td>MsaWS the interface for all multiple sequence alignment web services </td>
+ </tr>
+ <tr>
+ <td>compbio.data.sequence</td>
+ <td>JABAWS data types </td>
+ </tr>
+ <tr>
+ <td>compbio.metadata</td>
+ <td>JABAWS meta data types </td>
+ </tr>
+ <tr>
+ <td>compbio.ws.client</td>
+ <td>JABAWS command line client </td>
+ </tr>
+</table>
+<p>Additional utility libraries that this client depend upon is the compbio-util-1.3.jar and compbio-annotation-1.0.jar. <br />
+ Please refer to a <a href="dm_javadoc/index.html">data model javadoc</a> for a detailed description of each class and its methods. </p>
+
+
+<h3><a name="connectto" id="connectto"></a>Connecting to JABAWS</h3>
+<p class="attention">
+For a complete working example of JABAWS command line client please see compbio.ws.client.Jws2Client class. JABAWS command line client
+source code is available from the <a href="http://www.compbio.dundee.ac.uk/download">download page</a>. Please note that for now all
+the examples are in Java other languages will follow given a sufficient demand. </p>
+
+<p>
+Download a binary JABAWS client. Add the client to the class path. The following code excerpt will connect your program to Clustal
+web service deployed in the University of Dundee. </p>
+<p class="code"> import java.net.URL;<br />
+ import javax.xml.namespace.QName;<br />
+ import javax.xml.ws.Service;<br />
+ ...............<br />
+ 1) String qualifiedName = "http://msa.data.compbio/01/01/2010/";<br />
+ 2) URL url = new URL("http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?wsdl");<br />
+ 3) QName qname = new QName(, "ClustalWS");<br />
+ 4) Service serv = Service.create(url, qname);<br />
+ 5) MsaWS msaws = serv.getPort(new QName(qualifiedName, "ClustalWSPort"),
+ MsaWS.class);
+</p>
+<p>
+ Line 1 makes a qualified name for JABA web services.<br />
+ Line 2 constructs the URL to the web services WSDL. <br />
+ Line 3 makes a qualified name instance for Clustal JABA web service. <br />
+ Line 4 creates a service instance.<br />
+ Line 5 makes a connection to the server.
+</p>
+<p>
+ A more generic connection method would look like this
+</p>
+<p class="code"> import java.net.URL;<br />
+ import javax.xml.namespace.QName;<br />
+ import javax.xml.ws.Service;<br />
+ import compbio.ws.client.Services<br />
+ .............. <br />
+ String qualifiedServiceName = "http://msa.data.compbio/01/01/2010/";<br />
+ String host = "http://www.compbio.dundee.ac.uk/jabaws";<br />
+ // In real life the service name can come from args<br />
+ Services clustal = Services.ClustalWS;<br />
+ URL url = new URL(host + "/" + clustal.toString() + "?wsdl");<br />
+ QName qname = new QName(qualifiedServiceName, clustal.toString());<br />
+ Service serv = Service.create(url, qname);<br />
+ MsaWS msaws = serv.getPort(new QName(qualifiedServiceName, clustal<br />
+ + "Port"), MsaWS.class);
+</p>
+<p>
+ Where Services is enumeration of JABAWS web services. All JABAWS multiple sequence alignment methods confirm to
+ MsaWS specification, thus from the caller point of view all JABAWS web services can be represented by MsaWS
+ interface. The full documentation of MsaWS functions is available from the <a href="dm_javadoc/compbio/data/msa/MsaWS.html">javadoc</a>.
+</p>
+
+
+<h3><a name="validnames" id="validnames"></a>Valid JABAWS service names and WSDL files </h3>
+<p>Multiple sequence alignment services </p>
+<ul><li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalOWS?wsdl">ClustalOWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalOWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalWS?wsdl">ClustalWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/ClustalWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/MuscleWS?wsdl">MuscleWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/MuscleWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/MafftWS?wsdl">MafftWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/MafftWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/TcoffeeWS?wsdl">TcoffeeWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/TcoffeeWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/ProbconsWS?wsdl">ProbconsWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/ProbconsWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/MSAprobsWS?wsdl">MSAprobsWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/MSAprobsWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/GLprobsWS?wsdl">GLprobsWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/GLprobsWS?wsdl) </li>
+</ul>
+<p>Protein disorder prediction services </p>
+<ul>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/IUPredWS?wsdl">IUPredWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/IUPredWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/GlobPlotWS?wsdl">GlobPlotWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/GlobPlotWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/DisemblWS?wsdl">DisemblWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/DisemblWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/JronnWS?wsdl">JronnWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/JronnWS?wsdl) </li>
+</ul>
+<p>Amino acid conservation service</p>
+<ul>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/AAConWS?wsdl">AAConWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/AAConWS?wsdl) </li>
+</ul>
+<p>Protein and RNA Secondary Structure Prediction</p>
+<ul>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/JpredWS?wsdl">JpredWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/JpredWS?wsdl) </li>
+ <li><a href="http://www.compbio.dundee.ac.uk/jabaws-dev/RNAalifoldWS?wsdl">RNAalifoldWS</a> (http://www.compbio.dundee.ac.uk/jabaws-dev/RNAalifoldWS?wsdl) </li>
+</ul>
+<p>
+Please replace <span class="hightlight">http://www.compbio.dundee.ac.uk/</span> with your JABAWS instance host name, and
+<span class="hightlight">jabaws</span> with your JABAWS context name to access your local version of JABAWS web services.
+For example <span class="hightlight">http://localhost:8080/jabaws</span> would be a valid URL for the default Apache-Tomcat
+installation and jabaws.war file deployment. </p>
+
+
+<h3><a name="defalign" id="defalign"></a>Aligning sequences </h3>
+<p>
+Given that <span class="hightlight">msaws</span> is web service proxy, created as described in "Connecting to JABAWS"
+section, the actual alignment can be obtained as follows: </p>
+<p class="code">1) List<FastaSequence> fastalist = SequenceUtil.readFasta(new FileInputStream(file));<br />
+ 2) String jobId = msaws.align(fastalist); <br />
+ 3) Alignment alignment = msaws.getResult(jobId);</p>
+<p>Line one loads FASTA sequence from the file.<br />
+ Line two submits them to web service represented by msaws proxy. <br />
+ Line three retrieves the alignment from a web service. This line will block the execution until the result is available.
+ Use this with caution. In general, you should make sure that the calculation has been completed before attempting
+ retrieving results. This is to avoid keeping the connection to the server on hold for a prolonged periods of time.
+ While this may be ok with your local server, our public server
+ (<a href="http://www.compbio.dundee.ac.uk/jabaws">www.compbio.dundee.ac.uk/jabaws</a>) will not let you hold the connection
+ for longer than 10 minutes. This is done to prevent excessive load on the server. The next section describes how to check
+ the status of the calculation.<br />
+ Methods and classes mentioned in the excerpt are available from the JABAWS client library. </p>
+<h3><a name="checkresults" id="checkresults"></a>Checking the status of the calculation </h3>
+<p> You may have noticed that there was no pause between submitting the job and retrieving of the results. This is
+because <span class="hightlight">getResult(jobId)</span> method block the processing until the calculation is completed.
+However, taking into account that the connection holds server resources, our public server
+(<a href="http://www.compbio.dundee.ac.uk/jabaws">www.compbio.dundee.ac.uk/jabaws</a>) is configured to reset the
+connection after 10 minutes of waiting. To work around the connection reset you are encouraged to check whether the
+calculation has been completed before accessing the results. You can do it like this: </p>
+<p> <span class="code">while (msaws.getJobStatus(jobId) != JobStatus.FINISHED) {<br />
+ Thread.sleep(2000); // wait two seconds, then recheck the status <br />
+ }</span></p>
+<h3><a name="presetalign" id="presetalign"></a>Aligning with presets</h3>
+<p class="code">1) PresetManager presetman = msaws.getPresets();<br />
+ 2) Preset preset = presetman.getPresetByName(presetName);<br />
+ 3) List<FastaSequence> fastalist = SequenceUtil.readFasta(new FileInputStream(file));<br />
+ 4) String jobId = msaws.presetAlign(fastalist, preset);<br />
+ 5) Alignment alignment = msaws.getResult(jobId);</p>
+<p>Line one obtains the lists of presets supported by a web service.<br />
+ Line two return a particular Preset
+ by its name.<br />
+ Lines three to five are doing the same job as in the first <a href="#defalign"> aligning sequences example</a>.</p>
+<h3><a name="customalign" id="customalign"></a>Aligning with custom parameters</h3>
+<p class="code"> 1) RunnerConfig options = msaws.getRunnerOptions();<br />
+ 2) Argument matrix = options.getArgument("MATRIX");<br />
+ 3) matrix.setValue("PAM300");<br />
+ 4) Argument gapopenpenalty = options.getArgument("GAPOPEN");<br />
+ 5) gapopenpenalty.setValue("20");<br />
+ 6) List<Argument> arguments = new ArrayList<Argument>(); <br />
+ 7) arguments.add(matrix);
+ arguments.add(gapopenpenalty);<br />
+ 8) List<FastaSequence> fastalist = SequenceUtil.readFasta(new FileInputStream(file));<br />
+ 9) String jobId = msaws.customAlign(fastalist, arguments);<br />
+ 10) Alignment alignment = msaws.getResult(jobId);</p>
+<p>Line one obtains the <span class="hightlight">RunnerConfig</span> object that holds information on supported parameters and their values<br />
+ Line two retrieve a particular parameter from the holder by its name.<br />
+ Lines three sets a value to this parameter which will be used in the calculation. <br />
+ Line four and five do the same but for another parameter.<br />
+ Line 6 makes a List to hold the parameters. <br />
+ Line seven puts the parameters into that list.<br />
+ Line eight
+ and ten is the same as in previous examples.<br />
+ Line nine submit an alignment request with the sequences and the parameters. <br />
+ The names of all the parameters supported by a web service e.g. "PAM300" can be obtained
+ using <span class="hightlight">options.getArguments() </span>method. Further details on the methods
+ available from <span class="hightlight">RunnerConfig</span> object are available from the
+ <a href="dm_javadoc/index.html">javadoc</a>. </p>
+<h3><a name="writingaltofile" id="writingaltofile"></a>Writing alignments to a file</h3>
+<p>There is a utility method in the client library that does exactly that. </p>
+<p> <span class="code">Alignment alignment = align(...) <br />
+ FileOutputStream outStream = new FileOutputStream(file);<br />
+ ClustalAlignmentUtil.writeClustalAlignment(outStream, align);</span></p>
+<h3><a name="compex" id="compex"></a>A complete client example </h3>
+<p>
+Finally, a complete example of the program that connects to JABAWS Clustal service and aligns sequences using
+one of the Clustal web service presets. There is also a <a href="Example_template.pdf">PDF version</a> of
+this example with syntax highlighted. The text comments are commented by block style comments e.g. /* comment */,
+the alternatives given in the code are line commented // comment. You may want to remove line style comments to
+test alternatives of the functions. All you need for this to work is a
+<a href="http://www.compbio.dundee.ac.uk/download/get?id=min-jaba-client-2.0.jar">JABAWS binary client</a>.
+Please make sure that the client is in the Java class path before running this example.</p>
+<pre class="code" style="line-height:1em;">
+import java.io.ByteArrayInputStream;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.net.URL;
+import java.util.List;
+
+import javax.xml.namespace.QName;
+import javax.xml.ws.Service;
+
+import compbio.data.msa.MsaWS;
+import compbio.data.sequence.Alignment;
+import compbio.data.sequence.FastaSequence;
+import compbio.data.sequence.SequenceUtil;
+import compbio.metadata.JobSubmissionException;
+import compbio.metadata.LimitExceededException;
+import compbio.metadata.Preset;
+import compbio.metadata.PresetManager;
+import compbio.metadata.ResultNotAvailableException;
+import compbio.metadata.UnsupportedRuntimeException;
+import compbio.metadata.WrongParameterException;
+
+public class Example {
+
+ /*
+ * Input sequences for alignment
+ */
+ static final String input = ">Foo\r\n"
+ + "MTADGPRELLQLRAAVRHRPQDFVAWLMLADAELGMGDTTAGEMAVQRGLALHPGHPEAVARLGR"
+ + "VRWTQQRHAEAAVLLQQASDAAPEHPGIALWLGHALEDAGQAEAAAAAYTRAHQLLPEEPYITAQ"
+ + "LLNWRRRLCDWRALDVLSAQVRAAVAQGVGAVEPFAFLSEDASAAEQLACARTRAQAIAASVRPL"
+ + "APTRVRSKGPLRVGFVSNGFGAHPTGLLTVALFEALQRRQPDLQMHLFATSGDDGSTLRTRLAQA"
+ + "STLHDVTALGHLATAKHIRHHGIDLLFDLRGWGGGGRPEVFALRPAPVQVNWLAYPGTSGAPWMD"
+ + "YVLGDAFALPPALEPFYSEHVLRLQGAFQPSDTSRVVAEPPSRTQCGLPEQGVVLCCFNNSYKLN"
+ + "PQSMARMLAVLREVPDSVLWLLSGPGEADARLRAFAHAQGVDAQRLVFMPKLPHPQYLARYRHAD"
+ + "LFLDTHPYNAHTTASDALWTGCPVLTTPGETFAARVAGSLNHHLGLDEMNVADDAAFVAKAVALAS"
+ + "DPAALTALHARVDVLRRESGVFEMDGFADDFGALLQALARRHGWLGI\r\n"
+ + "\r\n"
+ + ">Bar\r\n"
+ + "MGDTTAGEMAVQRGLALHQQRHAEAAVLLQQASDAAPEHPGIALWLHALEDAGQAEAAAAYTRAH"
+ + "QLLPEEPYITAQLLNAVAQGVGAVEPFAFLSEDASAAESVRPLAPTRVRSKGPLRVGFVSNGFGA"
+ + "HPTGLLTVALFEALQRRQPDLQMHLFATSGDDGSTLRTRLAQASTLHDVTALGHLATAKHIRHHG"
+ + "IDLLFDLRGWGGGGRPEVFALRPAPVQVNWLAYPGTSGAPWMDYVLGDAFALPPALEPFYSEHVL"
+ + "RLQGAFQPSDTSRVVAEPPSRTQCGLPEQGVVLCCFNNSYKLNPQSMARMLAVLREVPDSVLWLL"
+ + "SGPGEADARLRAFAHAQGVDAQRLVFMPKLPHPQYLARYRHADLFLDTHPYNAHTTASDALWTGC"
+ + "PVLTTPGETFAARVAGSLNHHLGLDEMNVADDAAFVAKAVALASDPAALTALHARVDVLRRESGV"
+ + "FEMDGFADDFGALLQALARRHGWLGI\r\n"
+ + "\r\n"
+ + ">Friends\r\n"
+ + "MTADGPRELLQLRAAVRHRPQDVAWLMLADAELGMGDTTAGEMAVQRGLALHPGHPEAVARLGRV"
+ + "RWTQQRHAEAAVLLQQASDAAPEHPGIALWLGHALEDHQLLPEEPYITAQLDVLSAQVRAAVAQG"
+ + "VGAVEPFAFLSEDASAAEQLACARTRAQAIAASVRPLAPTRVRSKGPLRVGFVSNGFGAHPTGLL"
+ + "TVALFEALQRRQPDLQMHLFATSGDDGSTLRTRLAQASTLHDVTALGHLATAKHIRHHGIDLLFD"
+ + "LRGWGGGGRPEVFALRPAPVQVNWLAYPGTSGAPWMDYVLGDAFALPPALEPFYSEHVLRLQGAF"
+ + "QPSDTSRVVAEPPSRTQCGLPEQGVVLCCFNNSYKLNPQSMARMLAVLREVPDSVLWLLSGPGEA"
+ + "DARLRAFAHAQGVDAQRLVFMPKLPHPQYLARYRHADLFLDTHPYNAHTTASDALWTGCPVLTTP"
+ + "GETFAARVAGSLNHHLGLDEMNVADDAAFVAKAVALASDPAALTALHARVDVLRRESI";
+
+ public static void main(String[] args) throws UnsupportedRuntimeException,
+ LimitExceededException, JobSubmissionException,
+ WrongParameterException, FileNotFoundException, IOException,
+ ResultNotAvailableException, InterruptedException {
+
+ String qualifiedServiceName = "http://msa.data.compbio/01/01/2010/";
+
+ /* Make a URL pointing to web service WSDL */
+ URL url = new URL("http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?wsdl");
+
+ /*
+ * If you are making a client that connects to different web services
+ * you can use something like this:
+ */
+ // URL url = new URL(host + "/" + Services.ClustalWS.toString() +
+ // "?wsdl");
+
+ QName qname = new QName(qualifiedServiceName, "ClustalWS");
+ Service serv = Service.create(url, qname);
+ /*
+ * Multiple sequence alignment interface for Clustal web service
+ * instance
+ */
+ MsaWS msaws = serv.getPort(new QName(qualifiedServiceName, "ClustalWS"
+ + "Port"), MsaWS.class);
+
+ /* Get the list of available presets */
+ PresetManager presetman = msaws.getPresets();
+
+ /* Get the Preset object by preset name */
+ Preset preset = presetman
+ .getPresetByName("Disable gap weighting (Speed-oriented)");
+
+ /*
+ * Load sequences in FASTA format from the file You can use something
+ * like new FileInputStream(<filename>) to load sequence from the file
+ */
+ List<FastaSequence> fastalist = SequenceUtil
+ .readFasta(new ByteArrayInputStream(input.getBytes()));
+
+ /*
+ * Submit loaded sequences for an alignment using preset. The job
+ * identifier is returned by this method, you can retrieve the results
+ * with it sometime later.
+ */
+ String jobId = msaws.presetAlign(fastalist, preset);
+
+ /* This method will block for the duration of the calculation */
+ Alignment alignment = msaws.getResult(jobId);
+
+ /*
+ * This is a better way of obtaining results, it does not involve
+ * holding the connection open for the duration of the calculation,
+ * Besides, as the University of Dundee public server will reset the
+ * connection after 10 minutes of idling, this is the only way to obtain
+ * the results of long running task from our public server.
+ */
+ // while (msaws.getJobStatus(jobId) != JobStatus.FINISHED) {
+ // Thread.sleep(1000); // wait a second, then recheck the status
+ // }
+
+ /* Output the alignment to standard out */
+ System.out.println(alignment);
+
+ // Alternatively, you can record retrieved alignment into the file in
+ // ClustalW format
+
+ // ClustalAlignmentUtil.writeClustalAlignment(new FileOutputStream(
+ // "output.al"), alignment);
+
+ }
+}
+</pre>
+For a more detailed description of all available types and their functions please refer to the <a href="dm_javadoc/index.html">data model javadoc</a>.
+<h3><a name="buildart" id="buildart"></a>Building web services artifacts</h3>
+<p>
+JABAWS are the standard <a href="http://jax-ws.java.net/">JAX-WS</a> SOAP web services, which are <a href="http://www.ws-i.org/">WS-I</a>
+basic profile compatible. This means that you could use whatever tool your language has to work with web services. Below is how you can
+generate portable artifacts to work with JABAWS from Java. However if programming in Java, we recommend using our client library as
+it provides a handful of useful methods in addition to plain data types. </p>
+<p class="code">wsimport -keep http://www.compbio.dundee.ac.uk/jabaws/ClustalWS?wsdl</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newpressed" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
- <h2 id="headtitle">For JABAWS Developers</h2>\r
- <h2>The JABAWS project </h2>\r
- <p>This page is for anyone who wants to add a new webservice into the JABAWS framework. </p>\r
- <ul>\r
- <li><a href="#api">The API</a></li>\r
- <li><a href="#thesrc">The source code</a></li>\r
- <li><a href="#projstruct">Structure of the project</a></li>\r
- <li><a href="#thecode">The code structure</a></li>\r
- <li><a href="#runtests">Running tests</a></li>\r
- <li><a href="#prepexec">Preparing distributive's</a></li>\r
- <li><a href="#buildstubs">Building web services artifacts</a></li>\r
- <li><a href="#addnewws">Rough guide - adding a new web service</a></li>\r
- </ul>\r
-\r
- <h4><a name="api" id="api"></a>The API </h4>\r
- <p><a href="dm_javadoc/index.html">Data model</a> javadoc- read this if your are coding against JABA Web Services</p>\r
- <p><a href="full_javadoc/index.html">Complete</a> javadoc - for developers who want to use JABAWS framework and use Engines and Executables directly</p>\r
- <h4><a name="thesrc" id="thesrc"></a>The source code</h4>\r
-<p><a name="svn">Publicly available Git repository:</a><a href="http://source.jalview.org/gitweb/?p=jabaws.git;a=summary">http://source.jalview.org/gitweb/?p=jabaws.git;a=summary</a></p>\r
-<p>Another publicly available JABAWS repository, containing the code for each JABAWS public release, is located at <a href="https://jabaws.googlecode.com">jabaws.googlecode.com</a></p>\r
-<p>The repositories contain a complete JABAWS <a href="http://www.eclipse.org">Eclipse</a> project. </p>\r
-<p>Of course if you want to make a modification to the source code you would need to generate distributives yourself. To do that, first generate JAX-WS artifacts using <span class="hightlight">build-server</span> task from <span class="hightlight">wsbuild.xml</span> ant script, then you could use build.xml tasks to generate any of the distributives you need. </p>\r
-<h4><a name="projstruct" id="projstruct"></a>Structure of the project</h4>\r
-<ul>\r
- <li><span class="directory">binaries</span> contains native executables e.g. clustalw</li>\r
- <li style="list-style-position:inside"><span class="directory">src</span> contains sources of native executables</li>\r
- <li style="list-style-position:inside"><span class="directory">windows</span> contains pre-compiled Windows binaries</li>\r
- <li style="list-style-position:inside">compilebin.sh - the script to complile binaries</li>\r
- <li style="list-style-position:inside">setexecflag.sh - the script to set executable flag for the binaries</li>\r
- <li><span class="directory">conf</span> contains JABAWS configuration files </li>\r
- <li><span class="directory">ExecutionStatistics</span> the database for storing collected execution statistics </li>\r
- <li><span class="directory">jobsout</span> a default folder for temporary job directories </li>\r
- <li><span class="directory">statpages</span> the web pages for execution statistics display</li>\r
- <li><span class="directory">WEB-INF</span> default </li>\r
- <li><span class="directory">website</span> contains the JABAWS web pages </li>\r
- <li style="list-style-position:inside"><span class="directory">archive</span> contains JABAWS packages, the WAR and JAR files</li>\r
-\r
-</ul>\r
-<h4><a name="thecode" id="thecode"></a>The code structure</h4>\r
-<ul>\r
- <li><span class="directory">datamodel</span> contains the JABAWS datamodel </li>\r
- <li><span class="directory">engine</span> contains the JABAWS engine - the code that abstract the execution environment and executes native binaries</li>\r
- <li><span class="directory">runner</span> contains the JABAWS runners - thin wrappers for native binaries </li>\r
- <li><span class="directory">webservices</span> contains the JABAWS SOAP web services </li>\r
- <li><span class="directory">testsrc</span> contains the JABAWS unit tests</li>\r
- </ul>\r
-<p>Each source folder depends on the upper folders for compilation. For example, the datamodel is the top level folder so it has no other dependencies on other JABAWS code. The Engine level depends on the datamodel to compile etc. The web services folder is the bottom layer and depends on all the other source code. </p>\r
-<p>So the JABAWS project is split into 4 layers. From bottom-up the first layer consists from the value classes used by all other layers of the hierarchy, in particular web services. So, to be able to use JABAWS one needs to have these classes. At the same time classes on this layer does not have any dependencies on the layers above.</p>\r
-<p>The second layer contains code for execution of the wrappers, which are the abstraction describing native executables. JABAWS can execute tasks locally that is on the same machine as JVM and on the cluster. Thus currently code on this layer contain two engines. This layer depends on the layer underneath, the data model layer, but is completely independent from the code above.</p>\r
-<p>The third layer consists of the wrappers for the native executables and classes to handle their configuration. It depends on the engines and the data model, but know nothing about the web services.</p>\r
-<p>Finally, the upper layer contains the web services, that depend on all the layers below.</p>\r
-<p>The layer isolation is archived though specially designed compilation task which is executed sequentially in several stages so that the first layer compiles before any other layers, second layer compiles after that and process continies before all the code is compiled. Any violation of the layer boundaries results in the compilation failure. Use Ant "Compile" or "Complile_with_debug" tasks to perform the staged compilation.</p>\r
-<p>A client package contains only classes from data model layer and a simple web services client. Framework package is for anyone who want to use JABAWS framework for controlling native executables in local or cluster environments. Framework exclude the web services layer. Server package contains all the code.</p>\r
-\r
-<h4><a name="runtests" id="runtests"></a>Running tests</h4>\r
-<p>\r
-JABAWS uses TestNG framework for testing. The test results for the JABAWS package offered for download can be found at: \r
-<a href="http://www.compbio.dundee.ac.uk/user/www-jws2/tests/index.html">Test Results</a><br/>\r
-JABAWS uses <a href="http://testng.org/doc/index.html">TestNG</a> for testing. There is a TestNG plugin available for Eclipse \r
-which has functionality similar to JUnit. However, no plugins are necessary to run the test cases, as testng jar is supplied \r
-with JABAWS together with an ant tasks to run the test cases. </p>\r
-<p>The best way to ensure that JABAWS framework is completely functional on your system is to run all test cases. \r
-Test cases tests all aspects of JABAWS functionality. Consequently, one need to have non windows operation system and support \r
-of the cluster to be able to run all tests. If your system does not support cluster, then you could run all test excluding \r
-those that depends on the cluster.</p>\r
-<p>Several testing groups are supported:</p>\r
-<ul>\r
-<li>All tests (Test)</li>\r
-<li>Cluster tests (Run_cluster_dependent_test)</li>\r
-<li>Cluster independent tests () </li>\r
-<li>Windows only tests (All_cluster_independent_windows_only_tests) </li>\r
-<li>Performance and stability tests (Long_tests) </li>\r
-<li>Re-run failed tests (Rerun_failed_tests) </li>\r
-<li>Run custom test (CustomTest) </li>\r
-</ul>\r
-<p>To run the tests you need to download all sources from <a href="#svn">repository</a>. Once you have done that, enter into the command line mode, change directory to the project directory and type: \r
- <span class="code">ant -f build.xml <test group name></span> </p>\r
- <p>Make sure you have <a href="http://ant.apache.org/">Apache Ant</a> \r
- installed and path to ant executable is defined in your path environmental variable. \r
- Replace test group name with the one of the names given in the list above to run required group of tests e.g for running cluster only tests \r
- use the following \r
- command: <span class="code">ant -f build.xml Run_cluster_dependent_test</span>\r
- If you work under Linux you could use a simple script from the root folder of repository called <span class="hightlight">runtests.sh</span> \r
- This script simply contains a collection of the test commands described above and paths to java home directory and an ant executable, \r
- which you can define once for your system and then reuse.</p>\r
- <p>\r
- A handy feature of TestNG is its ability to re-run failed tests. Failed test ant file is stored in \r
- <span class="hightlight">test-output/testng-failed.xml</span>. and is used in the ant task called \r
- <span class="hightlight">Rerun_failed_tests</span>. So re-running failed tests requires no more work than running any other test group and could be accomplished with the command: <span class="code">ant -f build.xml Rerun_failed_tests</span> CustomTest runs the test defined in the project root directory file called <span class="hightlight">temp-testng-customsuite.xml</span>. This file is generated by TestNG plugin every time you run the test from Eclipse. Thus an easy way to run a test in a different environment is to run it from Eclipse first and then from ant using a custom test procedure. </p>\r
- <p class="hightlight">For cluster execution make sure that the property LD_LIBRARY_PATH defined in build.xml points to cluster engine LD libraries directory in your local system.</p>\r
-\r
- <h4><a name="prepexec" id="prepexec"></a>Preparing distributive's</h4>\r
- <p>There are a number of ant tasks aimed for preparing distributives for download. Currently a few types of JABAWS packages are offered:</p> \r
- <ol>\r
- <li>Client only (contains classes required to access JABA Web Services)</li>\r
- <li>Platform specific JABAWS (windows and other)</li>\r
- <li>JABAWS without binaries</li>\r
- <li>JABAWS framework </li>\r
- </ol>\r
- <p>Corresponding build task names are:</p> \r
- <ol>\r
- <li>min-jaba-client</li>\r
- <li>jaba-windows, jaba-complete</li>\r
- <li>jaba-no-binaries</li>\r
- <li>full-jaba-client</li>\r
- </ol>\r
- <p>The easiest way to build all distributives is to call <span class="hightlight">build-all </span>ant task. \r
- There are more tasks defined in build.xml than described here. They are mostly self explanatory.</p>\r
- <p class="hightlight">If you made any changes to the data model and would like to generate a complete JABAWS \r
- distro make sure you have rebuilt jaxws artifact as described below.</p>\r
- <h4><a name="buildstubs" id="buildstubs"></a>Building web services artifacts</h4>\r
-<p>Server side artifacts should be rebuild whenever the data model, meta model or MSA interface were changed. \r
- To do that run build-server task from wsbuild.xml ant build file. WSDL files will be generated in \r
- <span class="hightlight">webservices/compbio/ws/server/resource</span> directory. It is not necessary to \r
- edit them if any of the JABAWS clients are used. JABAWS are the standard JAX-WS web services, which are \r
- WS-I basic profile compatible. </p>\r
-<h4><a name="addnewws" id="addnewws"></a>Rough guide - adding a new web service</h4>\r
-<ol>\r
- <li> \r
- <p>Add a new executable which you'd like to wrap as a JABAWS web service to the binaries folder. \r
- If it has the source code and can be recompiled for different platforms include it under \r
- <span class="hightlight">binaries/src</span>. Edit <span class="hightlight">setexecutableflag.sh</span> \r
- and <span class="hightlight">compilebin.sh</span> scripts in <span class="hightlight">binaries/src</span> \r
- accordingly.</p>\r
- </li><li>\r
- <p>Make sure that all the dependencies of the software being installed are satisfied. \r
- If there are other binaries they should be included as well. Keep the dependent \r
- binaries in a subfolder for the main executable. Update \r
- <span class="hightlight">compilebin.sh</span> and <span class="hightlight">setexecflag.sh</span> scripts accordingly.</p>\r
- </li><li>\r
- <p>Make sure that the new executable does not have any hard links to its dependencies, e.g. is able to run from \r
- any installation folder and does not contain any hard coded paths.</p>\r
- </li><li>\r
- <p>Describe executable in <span class="hightlight">conf/Exectuable.properties</span> file. The lowercase name of the wrapper should be included \r
- in the name of the property for example Clustal properties all include clustal as a part of the name e.g. local.clustalw.bin.\r
- The same property for MAFFT will be called local.mafft.bin. For more help please refer to the Executable.properties file.</p>\r
- </li><li>\r
- <p>Describe the executable supported parameters in the \r
- <span class="hightlight"><ExecutableName>Parameters.xml</span>, presets in the \r
- <span class="hightlight"><ExecutableName>Presets.xml</span> and the execution limits in the \r
- <span class="hightlight"><ExecutableName>Limit.xml</span>. By convention these files are stored \r
- in <span class="hightlight">conf/settings</span>. All of these are optional. If the executable \r
- does not support parameters you do not have to mention the <span class="hightlight">XXXParameter.xml</span> file \r
- in the <span class="hightlight">Executable.properties</span> file at all. The same is true for \r
- Presets and Limits.</p>\r
- </li><li>\r
- <p>Create a Java wrapper class for your executable. Create it within <span class="hightlight">runner</span> source directory. \r
- Examples of other wrappers can be found in <span class="hightlight">compbio.runner.msa</span> or \r
- in other <span class="hightlight">compbio.runner.*</span> packages. Wrapper should extend \r
- <span class="hightlight">SkeletalExecutable<T></span> and implement \r
- <span class="hightlight">PipedExecutable<T></span> \r
- if you need to pass the input or collect the results from the standard in/out. Please see Mafft \r
- code as example. Wrapper should expend <span class="hightlight">SkeletalExecutable<T></span> \r
- if input/output can be set as a parameter for an executable. Please see the ClustalW code as example.</p>\r
- </li><li>\r
- <p>Create a testcase suit for your wrapper in <span class="hightlight">testsrc</span> and run the test cases.</p>\r
- </li><li>\r
- <p>Create parser for the output files of your executable. Suggested location \r
- compbio.data.sequence.SequenceUtil . </p>\r
- </li><li>\r
- <p>Test the parser.</p>\r
- </li><li>\r
- <p>Decide which web services interfaces your executable is going to match. For example \r
- if the executable output can be represented as SequenceAnnotation then SequenceAnnotation \r
- interface might be appropriate. For multiple sequence alignment an Msa interface should be used.</p>\r
- </li><li>\r
- <p>If you find a web interface that matches your returning data type, then \r
- implement a web service which confirms to it within a webservices source folder. </p>\r
- </li><li> \r
- <p>Register web service in <span class="hightlight">WEB-INF/web.xml</span> \r
- and <span class="hightlight">WEB-INF/sun-jaxws.xml</span> .</p>\r
- </li><li> \r
- <p>Add generated wsdl to wsbuild.xml ant script to generate the stubs.</p>\r
- </li><li>\r
- <p>Run build-server task in wsbuild file. Watch for errors. If the task fails that means \r
- that JAXB cannot serialize some of your new data structures. Add appropriate annotations to your data types.\r
- Also check that: </p>\r
- <ul>\r
- <li>you do not have interfaces to serialize, since JAXB cannot serialize them</li>\r
- <li>you have a default no args constructor (can be private if you do not need it)</li>\r
- <li>JAXB cannot serialize Java Map class, use a custom data structure instead</li>\r
- <li>Enum cannot be serialized as its abstract class (do not confuse with enum which is fine)</li>\r
- <li> Fields serialization leaves a little more space for manoeuvre. \r
- If you do this then you may accept<br/> and return interfaces, e.g. List, Map; abstract classes etc, from your methods\r
- </li>\r
- </ul>\r
- <p>If you have the data on the server side, but nothing is coming through to the \r
- client, this is a JAXB serialization problem. They tend to be very silent and \r
- thus hard to debug. Check your data structure can be serialized!</p>\r
- </li><li>\r
- <p>Modify the client to work with your new web service. Update Services \r
- enumeration to include new service and ensure that all the methods of this \r
- enumeration take into account the new service. Update the client help text \r
- (client_help.txt) and insert it into the Constraints class.</p>\r
- </li><li>\r
- <p>Test the web service with the client.</p>\r
- </li><li> \r
- <p>Test on the cluster.</p>\r
- </li>\r
-</ol>\r
-<p> </p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div> <!-- page end-->\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newpressed" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+<div id="content">
+ <h2 id="headtitle">For JABAWS Developers</h2>
+ <h2>The JABAWS project </h2>
+ <p>This page is for anyone who wants to add a new webservice into the JABAWS framework. </p>
+ <ul>
+ <li><a href="#api">The API</a></li>
+ <li><a href="#thesrc">The source code</a></li>
+ <li><a href="#projstruct">Structure of the project</a></li>
+ <li><a href="#thecode">The code structure</a></li>
+ <li><a href="#runtests">Running tests</a></li>
+ <li><a href="#prepexec">Preparing distributive's</a></li>
+ <li><a href="#buildstubs">Building web services artifacts</a></li>
+ <li><a href="#addnewws">Rough guide - adding a new web service</a></li>
+ </ul>
+
+ <h4><a name="api" id="api"></a>The API </h4>
+ <p><a href="dm_javadoc/index.html">Data model</a> javadoc- read this if your are coding against JABA Web Services</p>
+ <p><a href="full_javadoc/index.html">Complete</a> javadoc - for developers who want to use JABAWS framework and use Engines and Executables directly</p>
+ <h4><a name="thesrc" id="thesrc"></a>The source code</h4>
+<p><a name="svn">Publicly available Git repository:</a><a href="http://source.jalview.org/gitweb/?p=jabaws.git;a=summary">http://source.jalview.org/gitweb/?p=jabaws.git;a=summary</a></p>
+<p>Another publicly available JABAWS repository, containing the code for each JABAWS public release, is located at <a href="https://jabaws.googlecode.com">jabaws.googlecode.com</a></p>
+<p>The repositories contain a complete JABAWS <a href="http://www.eclipse.org">Eclipse</a> project. </p>
+<p>Of course if you want to make a modification to the source code you would need to generate distributives yourself. To do that, first generate JAX-WS artifacts using <span class="hightlight">build-server</span> task from <span class="hightlight">wsbuild.xml</span> ant script, then you could use build.xml tasks to generate any of the distributives you need. </p>
+<h4><a name="projstruct" id="projstruct"></a>Structure of the project</h4>
+<ul>
+ <li><span class="directory">binaries</span> contains native executables e.g. clustalw</li>
+ <li style="list-style-position:inside"><span class="directory">src</span> contains sources of native executables</li>
+ <li style="list-style-position:inside"><span class="directory">windows</span> contains pre-compiled Windows binaries</li>
+ <li style="list-style-position:inside">compilebin.sh - the script to complile binaries</li>
+ <li style="list-style-position:inside">setexecflag.sh - the script to set executable flag for the binaries</li>
+ <li><span class="directory">conf</span> contains JABAWS configuration files </li>
+ <li><span class="directory">ExecutionStatistics</span> the database for storing collected execution statistics </li>
+ <li><span class="directory">jobsout</span> a default folder for temporary job directories </li>
+ <li><span class="directory">statpages</span> the web pages for execution statistics display</li>
+ <li><span class="directory">WEB-INF</span> default </li>
+ <li><span class="directory">website</span> contains the JABAWS web pages </li>
+ <li style="list-style-position:inside"><span class="directory">archive</span> contains JABAWS packages, the WAR and JAR files</li>
+
+</ul>
+<h4><a name="thecode" id="thecode"></a>The code structure</h4>
+<ul>
+ <li><span class="directory">datamodel</span> contains the JABAWS datamodel </li>
+ <li><span class="directory">engine</span> contains the JABAWS engine - the code that abstract the execution environment and executes native binaries</li>
+ <li><span class="directory">runner</span> contains the JABAWS runners - thin wrappers for native binaries </li>
+ <li><span class="directory">webservices</span> contains the JABAWS SOAP web services </li>
+ <li><span class="directory">testsrc</span> contains the JABAWS unit tests</li>
+ </ul>
+<p>Each source folder depends on the upper folders for compilation. For example, the datamodel is the top level folder so it has no other dependencies on other JABAWS code. The Engine level depends on the datamodel to compile etc. The web services folder is the bottom layer and depends on all the other source code. </p>
+<p>So the JABAWS project is split into 4 layers. From bottom-up the first layer consists from the value classes used by all other layers of the hierarchy, in particular web services. So, to be able to use JABAWS one needs to have these classes. At the same time classes on this layer does not have any dependencies on the layers above.</p>
+<p>The second layer contains code for execution of the wrappers, which are the abstraction describing native executables. JABAWS can execute tasks locally that is on the same machine as JVM and on the cluster. Thus currently code on this layer contain two engines. This layer depends on the layer underneath, the data model layer, but is completely independent from the code above.</p>
+<p>The third layer consists of the wrappers for the native executables and classes to handle their configuration. It depends on the engines and the data model, but know nothing about the web services.</p>
+<p>Finally, the upper layer contains the web services, that depend on all the layers below.</p>
+<p>The layer isolation is archived though specially designed compilation task which is executed sequentially in several stages so that the first layer compiles before any other layers, second layer compiles after that and process continies before all the code is compiled. Any violation of the layer boundaries results in the compilation failure. Use Ant "Compile" or "Complile_with_debug" tasks to perform the staged compilation.</p>
+<p>A client package contains only classes from data model layer and a simple web services client. Framework package is for anyone who want to use JABAWS framework for controlling native executables in local or cluster environments. Framework exclude the web services layer. Server package contains all the code.</p>
+
+<h4><a name="runtests" id="runtests"></a>Running tests</h4>
+<p>
+JABAWS uses TestNG framework for testing. The test results for the JABAWS package offered for download can be found at:
+<a href="http://www.compbio.dundee.ac.uk/user/www-jws2/tests/index.html">Test Results</a><br/>
+JABAWS uses <a href="http://testng.org/doc/index.html">TestNG</a> for testing. There is a TestNG plugin available for Eclipse
+which has functionality similar to JUnit. However, no plugins are necessary to run the test cases, as testng jar is supplied
+with JABAWS together with an ant tasks to run the test cases. </p>
+<p>The best way to ensure that JABAWS framework is completely functional on your system is to run all test cases.
+Test cases tests all aspects of JABAWS functionality. Consequently, one need to have non windows operation system and support
+of the cluster to be able to run all tests. If your system does not support cluster, then you could run all test excluding
+those that depends on the cluster.</p>
+<p>Several testing groups are supported:</p>
+<ul>
+<li>All tests (Test)</li>
+<li>Cluster tests (Run_cluster_dependent_test)</li>
+<li>Cluster independent tests () </li>
+<li>Windows only tests (All_cluster_independent_windows_only_tests) </li>
+<li>Performance and stability tests (Long_tests) </li>
+<li>Re-run failed tests (Rerun_failed_tests) </li>
+<li>Run custom test (CustomTest) </li>
+</ul>
+<p>To run the tests you need to download all sources from <a href="#svn">repository</a>. Once you have done that, enter into the command line mode, change directory to the project directory and type:
+ <span class="code">ant -f build.xml <test group name></span> </p>
+ <p>Make sure you have <a href="http://ant.apache.org/">Apache Ant</a>
+ installed and path to ant executable is defined in your path environmental variable.
+ Replace test group name with the one of the names given in the list above to run required group of tests e.g for running cluster only tests
+ use the following
+ command: <span class="code">ant -f build.xml Run_cluster_dependent_test</span>
+ If you work under Linux you could use a simple script from the root folder of repository called <span class="hightlight">runtests.sh</span>
+ This script simply contains a collection of the test commands described above and paths to java home directory and an ant executable,
+ which you can define once for your system and then reuse.</p>
+ <p>
+ A handy feature of TestNG is its ability to re-run failed tests. Failed test ant file is stored in
+ <span class="hightlight">test-output/testng-failed.xml</span>. and is used in the ant task called
+ <span class="hightlight">Rerun_failed_tests</span>. So re-running failed tests requires no more work than running any other test group and could be accomplished with the command: <span class="code">ant -f build.xml Rerun_failed_tests</span> CustomTest runs the test defined in the project root directory file called <span class="hightlight">temp-testng-customsuite.xml</span>. This file is generated by TestNG plugin every time you run the test from Eclipse. Thus an easy way to run a test in a different environment is to run it from Eclipse first and then from ant using a custom test procedure. </p>
+ <p class="hightlight">For cluster execution make sure that the property LD_LIBRARY_PATH defined in build.xml points to cluster engine LD libraries directory in your local system.</p>
+
+ <h4><a name="prepexec" id="prepexec"></a>Preparing distributive's</h4>
+ <p>There are a number of ant tasks aimed for preparing distributives for download. Currently a few types of JABAWS packages are offered:</p>
+ <ol>
+ <li>Client only (contains classes required to access JABA Web Services)</li>
+ <li>Platform specific JABAWS (windows and other)</li>
+ <li>JABAWS without binaries</li>
+ <li>JABAWS framework </li>
+ </ol>
+ <p>Corresponding build task names are:</p>
+ <ol>
+ <li>min-jaba-client</li>
+ <li>jaba-windows, jaba-complete</li>
+ <li>jaba-no-binaries</li>
+ <li>full-jaba-client</li>
+ </ol>
+ <p>The easiest way to build all distributives is to call <span class="hightlight">build-all </span>ant task.
+ There are more tasks defined in build.xml than described here. They are mostly self explanatory.</p>
+ <p class="hightlight">If you made any changes to the data model and would like to generate a complete JABAWS
+ distro make sure you have rebuilt jaxws artifact as described below.</p>
+ <h4><a name="buildstubs" id="buildstubs"></a>Building web services artifacts</h4>
+<p>Server side artifacts should be rebuild whenever the data model, meta model or MSA interface were changed.
+ To do that run build-server task from wsbuild.xml ant build file. WSDL files will be generated in
+ <span class="hightlight">webservices/compbio/ws/server/resource</span> directory. It is not necessary to
+ edit them if any of the JABAWS clients are used. JABAWS are the standard JAX-WS web services, which are
+ WS-I basic profile compatible. </p>
+<h4><a name="addnewws" id="addnewws"></a>Rough guide - adding a new web service</h4>
+<ol>
+ <li>
+ <p>Add a new executable which you'd like to wrap as a JABAWS web service to the binaries folder.
+ If it has the source code and can be recompiled for different platforms include it under
+ <span class="hightlight">binaries/src</span>. Edit <span class="hightlight">setexecutableflag.sh</span>
+ and <span class="hightlight">compilebin.sh</span> scripts in <span class="hightlight">binaries/src</span>
+ accordingly.</p>
+ </li><li>
+ <p>Make sure that all the dependencies of the software being installed are satisfied.
+ If there are other binaries they should be included as well. Keep the dependent
+ binaries in a subfolder for the main executable. Update
+ <span class="hightlight">compilebin.sh</span> and <span class="hightlight">setexecflag.sh</span> scripts accordingly.</p>
+ </li><li>
+ <p>Make sure that the new executable does not have any hard links to its dependencies, e.g. is able to run from
+ any installation folder and does not contain any hard coded paths.</p>
+ </li><li>
+ <p>Describe executable in <span class="hightlight">conf/Exectuable.properties</span> file. The lowercase name of the wrapper should be included
+ in the name of the property for example Clustal properties all include clustal as a part of the name e.g. local.clustalw.bin.
+ The same property for MAFFT will be called local.mafft.bin. For more help please refer to the Executable.properties file.</p>
+ </li><li>
+ <p>Describe the executable supported parameters in the
+ <span class="hightlight"><ExecutableName>Parameters.xml</span>, presets in the
+ <span class="hightlight"><ExecutableName>Presets.xml</span> and the execution limits in the
+ <span class="hightlight"><ExecutableName>Limit.xml</span>. By convention these files are stored
+ in <span class="hightlight">conf/settings</span>. All of these are optional. If the executable
+ does not support parameters you do not have to mention the <span class="hightlight">XXXParameter.xml</span> file
+ in the <span class="hightlight">Executable.properties</span> file at all. The same is true for
+ Presets and Limits.</p>
+ </li><li>
+ <p>Create a Java wrapper class for your executable. Create it within <span class="hightlight">runner</span> source directory.
+ Examples of other wrappers can be found in <span class="hightlight">compbio.runner.msa</span> or
+ in other <span class="hightlight">compbio.runner.*</span> packages. Wrapper should extend
+ <span class="hightlight">SkeletalExecutable<T></span> and implement
+ <span class="hightlight">PipedExecutable<T></span>
+ if you need to pass the input or collect the results from the standard in/out. Please see Mafft
+ code as example. Wrapper should expend <span class="hightlight">SkeletalExecutable<T></span>
+ if input/output can be set as a parameter for an executable. Please see the ClustalW code as example.</p>
+ </li><li>
+ <p>Create a testcase suit for your wrapper in <span class="hightlight">testsrc</span> and run the test cases.</p>
+ </li><li>
+ <p>Create parser for the output files of your executable. Suggested location
+ compbio.data.sequence.SequenceUtil . </p>
+ </li><li>
+ <p>Test the parser.</p>
+ </li><li>
+ <p>Decide which web services interfaces your executable is going to match. For example
+ if the executable output can be represented as SequenceAnnotation then SequenceAnnotation
+ interface might be appropriate. For multiple sequence alignment an Msa interface should be used.</p>
+ </li><li>
+ <p>If you find a web interface that matches your returning data type, then
+ implement a web service which confirms to it within a webservices source folder. </p>
+ </li><li>
+ <p>Register web service in <span class="hightlight">WEB-INF/web.xml</span>
+ and <span class="hightlight">WEB-INF/sun-jaxws.xml</span> .</p>
+ </li><li>
+ <p>Add generated wsdl to wsbuild.xml ant script to generate the stubs.</p>
+ </li><li>
+ <p>Run build-server task in wsbuild file. Watch for errors. If the task fails that means
+ that JAXB cannot serialize some of your new data structures. Add appropriate annotations to your data types.
+ Also check that: </p>
+ <ul>
+ <li>you do not have interfaces to serialize, since JAXB cannot serialize them</li>
+ <li>you have a default no args constructor (can be private if you do not need it)</li>
+ <li>JAXB cannot serialize Java Map class, use a custom data structure instead</li>
+ <li>Enum cannot be serialized as its abstract class (do not confuse with enum which is fine)</li>
+ <li> Fields serialization leaves a little more space for manoeuvre.
+ If you do this then you may accept<br/> and return interfaces, e.g. List, Map; abstract classes etc, from your methods
+ </li>
+ </ul>
+ <p>If you have the data on the server side, but nothing is coming through to the
+ client, this is a JAXB serialization problem. They tend to be very silent and
+ thus hard to debug. Check your data structure can be serialized!</p>
+ </li><li>
+ <p>Modify the client to work with your new web service. Update Services
+ enumeration to include new service and ensure that all the methods of this
+ enumeration take into account the new service. Update the client help text
+ (client_help.txt) and insert it into the Constraints class.</p>
+ </li><li>
+ <p>Test the web service with the client.</p>
+ </li><li>
+ <p>Test on the cluster.</p>
+ </li>
+</ol>
+<p> </p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div> <!-- page end-->
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newpressed" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2>JABAWS Server Virtual Appliance</h2>\r
-<ul>\r
- <li><a href="#whatisvm">What is JABAWS Virtual Appliance?</a></li>\r
- <li><a href="#whenvm">When to use virtual appliance</a> </li>\r
- <li><a href="#howtoinstallvm">How to install VMware Player </a></li>\r
- <li><a href="#vmplayer">VMware Player appliance configuration </a></li>\r
- <li><a href="#jabawsAppliance">JABAWS Appliance details </a></li>\r
- <li><a href="#jalviewWithJaba">Configuring Jalview to work with your JABAWS VM</a></li>\r
- <li><a href="#vmiaccess">VM Network Settings </a></li>\r
-</ul>\r
-\r
-<p> </p>\r
-<h3><a name="whatisvm" id="whatisvm"></a>What is the JABAWS Server Virtual Appliance?</h3>\r
-<p>The JABAWS <a href="http://en.wikipedia.org/wiki/Virtual_appliance">Virtual Appliance</a> is a \r
-way to run JABAWS server locally without the need to connect to the internet or configure JABAWS. \r
-What the appliance provides is a 'virtual server machine' (or more simply - virtual machine or VM), \r
-running an installation of the JABAWS Web Application Archive (WAR) on \r
-<a href="http://www.turnkeylinux.org">TurnKey Linux 12.1 (Tomcat edition)</a>. Once this has \r
-started up, it displays a message indicating the IP address of the JABAWS server, allowing any JABAWS \r
-client (such as Jalview or the JABAWS command line client) to connect to it.<br/>\r
-You can run the appliance with freely available program such as \r
-<a href="http://www.vmware.com/products/player">VMware Player</a>, but you will need to install it \r
-first. We have tested the JABAWS appliance with VMware Player v 3.1.2 on Windows and Linux, and \r
-VMware Fusion on Mac. \r
-However, you are not limited to these virtualization systems and can use the JABAWS appliance with any other virtualization platform. You can use <a href="http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/ovf">VMware OVF tool</a> to prepare JABAWS image for a different virtualization platform e.g. <a href="http://www.virtualbox.org/">VirtualBox</a>.</p>\r
-<h3><a name="whenvm" id="whenvm"/>When to use the JABAWS Virtual Appliance</h3>\r
-<p>The appliance best suits users who would like to use the JABA web services locally. This might be because they do not want to access \r
-systems over an internet, or just want to keep their data private. It is also \r
-the recommended option for users who want to install JABAWS on Windows, which does not support all the bioinformatics programs that JABAWS can run.</p>\r
-<h3><a name="whennotvm" id="whennotvm"/>When <em>not</em> to use the JABAWS Virtual Appliance</h3>\r
-<p>\r
-For servers that will be used heavily, we recommend that a <a href="man_serverwar.html#instwar">JABAWS Server WAR distribution</a> is deployed, rather than the Virtual Appliance version of JABAWS. \r
-This is because the JABAWS appliance is pre-configured to use only 1 CPU and 512M of memory \r
-(where the minimum amount of memory required for a JABAWS server is about 378M), which is unlikely to be sufficient for heavy computation. \r
-It is possible to reconfigure the virtual appliance so it uses more computation resources, \r
-but for most production environments, the JABAWS WAR distribution will be easier to deploy and fine tune to take advantage of the available resources.</p>\r
-\r
-<h3><a name="howtoinstallvm" id="howtoinstallvm"></a>How to install VMware Player</h3>\r
-<p>Please see the <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a> \r
- web sites for up to date instructions and downloads.</p>\r
-\r
-<h3><a name="vmplayer" id="vmplayer"/>VMware Player appliance configuration </h3>\r
-<p>The free <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a> can be used to run the JABAWS services from the Windows and Linux host operating systems. <a href="https://www.vmware.com/vmwarestore/buyfusion.html">VMware Fusion</a>, a commercial VMware product, offers virtual machine support for Mac. </p>\r
-<p>To run the JABAWS server on VMware player, unpack the JABAWS VM into one of the folders on your local hard drive. Open VMware Player, click "Open Virtual Machine" and point the Player to the location of the JABAWS, then choose the JABAWS.vmx file to open an appliance. </p>\r
-<p>When you play the machine for the first time the Player might ask you whether "This virtual machine may have been moved or copied.", say that you have copied it. That is all. </p>\r
-<h3><a name="jabawsAppliance" id="jabawsAppliance"/>JABAWS Appliance details</h3>\r
-<p>By default, the JABAWS virtual appliance is configured with 512M of memory and 1 CPU, but you are free to change these settings. If you have more than one CPU or CPU core on your computer you can make them available for the JABAWS virtual machine by editing virtual machine settings. Please bear in mind that more CPU power will not make a single calculation go faster, but it will enable the VM to do calculations in parallel. Similarly, you can add more memory to the virtual machine. More memory lets your VM deal with larger tasks, e.g. work with large alignments.</p>\r
-<p>The VMware Player screen shot below displays JABAWS VM CPU settings. </p>\r
-<p><img src="images/VMware_cpu.png" alt="vmware cpu settings" width="708" height="267" style="border: solid black 1px" /></p>\r
-\r
-<p><strong>JABAWS Virtual Appliance Configuration: </strong></p>\r
-<p><strong>VMware info</strong></p>\r
-<ul>\r
- <li>CPUs : 1</li>\r
- <li>RAM : 512 MB</li>\r
- <li>Networking : Host only (the VM has no access to the outside network, nothing from the outside network can access the VM)</li>\r
- <li>Hard disk : 20 GB (expanding)</li>\r
- <li>VMware tools : Installed</li>\r
-</ul>\r
-<p><strong>OS information</strong></p>\r
-<ul>\r
- <li>OS : TurnKey Linux (v. 12.1, <a href="http://www.turnkeylinux.org/tomcat">Standalone Tomcat</a>) based on Debian 6.0.7 (Squeeze)</li>\r
- <li>Installation : Oracle Java 6, Tomcat 7, JABAWS v. 2.1 </li>\r
- <li>IPv4 address : dhcp</li>\r
- <li>IPv6 address : auto</li>\r
- <li>DNS name : none</li>\r
- <li>Name server : dhcp</li>\r
- <li>Route : dhcp</li>\r
- <li>Keyboard : US_intl</li>\r
-</ul>\r
-<p><strong>Login credentials</strong><br />\r
-<ul>\r
- <li>Root password: jabaws</li>\r
- <li>Tomcat admin password: adminjabaws</li>\r
-</ul>\r
-<p> <strong>Services available at the virtial machine IP (e.g. VM_IP = 172.16.232.149)</strong></p>\r
-<ul>\r
- <li>Tomcat Web Server: http://VM_IP (e.g. http://172.16.232.149)</li>\r
- <li>Jabaws URL: http://VM_IP/jabaws (e.g. http://172.16.232.149/jabaws)</li>\r
- <li>Web Shell: https://VM_IP:12320/ (e.g. https://172.16.232.149:12320)</li>\r
- <li>Webmean: https://VM_IP:12321/ (e.g. https://172.16.232.149:12321)</li>\r
- <li>SSH/SFTP: root@VM_IP (e.g. ssh root@172.16.232.149)</li>\r
-</ul>\r
-\r
-<h3><a name="jalviewWithJaba" id="jalviewWithJaba"/>Configuring Jalview to work with your JABAWS VM</h3>\r
-<p>\r
-After booting the JABAWS VM, you should see similar screen, however, the IP address of your VM may be different. \r
-To enable Jalview to work with your JABAWS appliance you need to go to Jalview->Tools->Preferences->Web Services -> \r
-New Service URL, and add JABAWS URL into the box provided. For more information please refer to Jalview \r
-<a href="http://www.jalview.org/help/html/webServices/JABAWS.html">help pages</a>.\r
-</p>\r
-<p><img src="images/vm_welcome_screen.png" alt="JABAWS welcome screen" width="734" height="461" /></p>\r
-<p>If you click on Advanced Menu, you will see the configuration console, similar to the one below. </p>\r
-<p><img src="images/VMware_booted.png" alt="JABAWS welcome screen" width="735" height="461" /></p>\r
-<p>If you need to configure a static IP address the configuration console will help you with this. Shutting down the VM is best from the configuration console as well.</p>\r
-<h3><a name="vmiaccess" id="vmiaccess"/>VM Network Settings </h3>\r
-<p>\r
-By default the JABAWS VM is configured to use host-only networking. This means that the host can communicate with the VM via a network, \r
-but no other machines can. Similarly, the VM cannot communicate with any other computers apart from the host. If you want to connect \r
-to the Internet from the VM, configure your VM to use NAT network. However, you will not be able to connect to the VM from the host \r
-in such case. If you want to be able to connect to your VM and let VM connect to the internet at the same time you would have to use \r
-a Bridged network. In such a case you would have to configure the VM IP address manually (unless of course your network has a DHCP \r
-server to do that)</p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newpressed" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2>JABAWS Server Virtual Appliance</h2>
+<ul>
+ <li><a href="#whatisvm">What is JABAWS Virtual Appliance?</a></li>
+ <li><a href="#whenvm">When to use virtual appliance</a> </li>
+ <li><a href="#howtoinstallvm">How to install VMware Player </a></li>
+ <li><a href="#vmplayer">VMware Player appliance configuration </a></li>
+ <li><a href="#jabawsAppliance">JABAWS Appliance details </a></li>
+ <li><a href="#jalviewWithJaba">Configuring Jalview to work with your JABAWS VM</a></li>
+ <li><a href="#vmiaccess">VM Network Settings </a></li>
+</ul>
+
+<p> </p>
+<h3><a name="whatisvm" id="whatisvm"></a>What is the JABAWS Server Virtual Appliance?</h3>
+<p>The JABAWS <a href="http://en.wikipedia.org/wiki/Virtual_appliance">Virtual Appliance</a> is a
+way to run JABAWS server locally without the need to connect to the internet or configure JABAWS.
+What the appliance provides is a 'virtual server machine' (or more simply - virtual machine or VM),
+running an installation of the JABAWS Web Application Archive (WAR) on
+<a href="http://www.turnkeylinux.org">TurnKey Linux 12.1 (Tomcat edition)</a>. Once this has
+started up, it displays a message indicating the IP address of the JABAWS server, allowing any JABAWS
+client (such as Jalview or the JABAWS command line client) to connect to it.<br/>
+You can run the appliance with freely available program such as
+<a href="http://www.vmware.com/products/player">VMware Player</a>, but you will need to install it
+first. We have tested the JABAWS appliance with VMware Player v 3.1.2 on Windows and Linux, and
+VMware Fusion on Mac.
+However, you are not limited to these virtualization systems and can use the JABAWS appliance with any other virtualization platform. You can use <a href="http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/ovf">VMware OVF tool</a> to prepare JABAWS image for a different virtualization platform e.g. <a href="http://www.virtualbox.org/">VirtualBox</a>.</p>
+<h3><a name="whenvm" id="whenvm"/>When to use the JABAWS Virtual Appliance</h3>
+<p>The appliance best suits users who would like to use the JABA web services locally. This might be because they do not want to access
+systems over an internet, or just want to keep their data private. It is also
+the recommended option for users who want to install JABAWS on Windows, which does not support all the bioinformatics programs that JABAWS can run.</p>
+<h3><a name="whennotvm" id="whennotvm"/>When <em>not</em> to use the JABAWS Virtual Appliance</h3>
+<p>
+For servers that will be used heavily, we recommend that a <a href="man_serverwar.html#instwar">JABAWS Server WAR distribution</a> is deployed, rather than the Virtual Appliance version of JABAWS.
+This is because the JABAWS appliance is pre-configured to use only 1 CPU and 512M of memory
+(where the minimum amount of memory required for a JABAWS server is about 378M), which is unlikely to be sufficient for heavy computation.
+It is possible to reconfigure the virtual appliance so it uses more computation resources,
+but for most production environments, the JABAWS WAR distribution will be easier to deploy and fine tune to take advantage of the available resources.</p>
+
+<h3><a name="howtoinstallvm" id="howtoinstallvm"></a>How to install VMware Player</h3>
+<p>Please see the <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a>
+ web sites for up to date instructions and downloads.</p>
+
+<h3><a name="vmplayer" id="vmplayer"/>VMware Player appliance configuration </h3>
+<p>The free <a href="http://downloads.vmware.com/d/info/desktop_downloads/vmware_player/3_0">VMware Player</a> can be used to run the JABAWS services from the Windows and Linux host operating systems. <a href="https://www.vmware.com/vmwarestore/buyfusion.html">VMware Fusion</a>, a commercial VMware product, offers virtual machine support for Mac. </p>
+<p>To run the JABAWS server on VMware player, unpack the JABAWS VM into one of the folders on your local hard drive. Open VMware Player, click "Open Virtual Machine" and point the Player to the location of the JABAWS, then choose the JABAWS.vmx file to open an appliance. </p>
+<p>When you play the machine for the first time the Player might ask you whether "This virtual machine may have been moved or copied.", say that you have copied it. That is all. </p>
+<h3><a name="jabawsAppliance" id="jabawsAppliance"/>JABAWS Appliance details</h3>
+<p>By default, the JABAWS virtual appliance is configured with 512M of memory and 1 CPU, but you are free to change these settings. If you have more than one CPU or CPU core on your computer you can make them available for the JABAWS virtual machine by editing virtual machine settings. Please bear in mind that more CPU power will not make a single calculation go faster, but it will enable the VM to do calculations in parallel. Similarly, you can add more memory to the virtual machine. More memory lets your VM deal with larger tasks, e.g. work with large alignments.</p>
+<p>The VMware Player screen shot below displays JABAWS VM CPU settings. </p>
+<p><img src="images/VMware_cpu.png" alt="vmware cpu settings" width="708" height="267" style="border: solid black 1px" /></p>
+
+<p><strong>JABAWS Virtual Appliance Configuration: </strong></p>
+<p><strong>VMware info</strong></p>
+<ul>
+ <li>CPUs : 1</li>
+ <li>RAM : 512 MB</li>
+ <li>Networking : Host only (the VM has no access to the outside network, nothing from the outside network can access the VM)</li>
+ <li>Hard disk : 20 GB (expanding)</li>
+ <li>VMware tools : Installed</li>
+</ul>
+<p><strong>OS information</strong></p>
+<ul>
+ <li>OS : TurnKey Linux (v. 12.1, <a href="http://www.turnkeylinux.org/tomcat">Standalone Tomcat</a>) based on Debian 6.0.7 (Squeeze)</li>
+ <li>Installation : Oracle Java 6, Tomcat 7, JABAWS v. 2.1 </li>
+ <li>IPv4 address : dhcp</li>
+ <li>IPv6 address : auto</li>
+ <li>DNS name : none</li>
+ <li>Name server : dhcp</li>
+ <li>Route : dhcp</li>
+ <li>Keyboard : US_intl</li>
+</ul>
+<p><strong>Login credentials</strong><br />
+<ul>
+ <li>Root password: jabaws</li>
+ <li>Tomcat admin password: adminjabaws</li>
+</ul>
+<p> <strong>Services available at the virtial machine IP (e.g. VM_IP = 172.16.232.149)</strong></p>
+<ul>
+ <li>Tomcat Web Server: http://VM_IP (e.g. http://172.16.232.149)</li>
+ <li>Jabaws URL: http://VM_IP/jabaws (e.g. http://172.16.232.149/jabaws)</li>
+ <li>Web Shell: https://VM_IP:12320/ (e.g. https://172.16.232.149:12320)</li>
+ <li>Webmean: https://VM_IP:12321/ (e.g. https://172.16.232.149:12321)</li>
+ <li>SSH/SFTP: root@VM_IP (e.g. ssh root@172.16.232.149)</li>
+</ul>
+
+<h3><a name="jalviewWithJaba" id="jalviewWithJaba"/>Configuring Jalview to work with your JABAWS VM</h3>
+<p>
+After booting the JABAWS VM, you should see similar screen, however, the IP address of your VM may be different.
+To enable Jalview to work with your JABAWS appliance you need to go to Jalview->Tools->Preferences->Web Services ->
+New Service URL, and add JABAWS URL into the box provided. For more information please refer to Jalview
+<a href="http://www.jalview.org/help/html/webServices/JABAWS.html">help pages</a>.
+</p>
+<p><img src="images/vm_welcome_screen.png" alt="JABAWS welcome screen" width="734" height="461" /></p>
+<p>If you click on Advanced Menu, you will see the configuration console, similar to the one below. </p>
+<p><img src="images/VMware_booted.png" alt="JABAWS welcome screen" width="735" height="461" /></p>
+<p>If you need to configure a static IP address the configuration console will help you with this. Shutting down the VM is best from the configuration console as well.</p>
+<h3><a name="vmiaccess" id="vmiaccess"/>VM Network Settings </h3>
+<p>
+By default the JABAWS VM is configured to use host-only networking. This means that the host can communicate with the VM via a network,
+but no other machines can. Similarly, the VM cannot communicate with any other computers apart from the host. If you want to connect
+to the Internet from the VM, configure your VM to use NAT network. However, you will not be able to connect to the VM from the host
+in such case. If you want to be able to connect to your VM and let VM connect to the internet at the same time you would have to use
+a Bridged network. In such a case you would have to configure the VM IP address manually (unless of course your network has a DHCP
+server to do that)</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newpressed" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2>JABAWS Server Web Application aRchive (WAR) </h2>\r
-<ul>\r
- <li><a href="#sysreq">System Requirements</a></li>\r
- <li><a href="#instwar">Installing the JABAWS WAR file</a></li>\r
- <li><a href="#prepexec">Preparing executables for use with JABAWS</a></li>\r
- <li><a href="#useprebin">Using the pre-compiled i386 binaries on Linux</a></li>\r
- <li><a href="#recompbinaries">Recompiling the bundled programs for your system</a></li>\r
- <li><a href="#haveexec">Reuse the binaries that are already in your system</a></li>\r
- <li><a href="#obtainexec">Obtaining command line binaries </a><a href="#obtainexec">for your operating system</a></li>\r
- <li><a href="#usingWsTester">Testing JABAWS Server</a></li>\r
- <li><a href="#diffcontexts">Running many JABAWS instances on the same server</a> </li>\r
- <li><a href="#nocluster">JABAWS on a single server</a></li>\r
- <li><a href="#clustsubsys">JABAWS supported cluster batch management systems </a></li>\r
- <li><a href="#tomstopundeploy">Manually deploying JABAWS application on Apache-Tomcat </a></li>\r
-</ul>\r
-\r
-<p><strong>Troubleshooting</strong></p>\r
-<ul>\r
- <li><a href="#tomdeploy">Apache-Tomcat fails to deploy the jabaws.war file</a></li>\r
- </ul>\r
-<h3><a name="sysreq" id="sysreq"></a>System Requirements</h3>\r
-<p>JABAWS requires a Java web application server compliant with\r
-version 2.4 of the Java Servlet specification, and a Java 6 runtime\r
-environment. We recommend using an official Oracle Java 6 runtime\r
-environment, and <a\r
-href="http://tomcat.apache.org/download-70.cgi">Apache-Tomcat</a> web application server version 7, but older Tomcat versions above 5.5 will work too.<br/>\r
-<span class="attention">Please Note:</span> The JABAWS WAR is not generally compatible with older Mac systems based on the PowerPC architecture, since Java 1.6 is not available to run JABAWS.</p>\r
-\r
-<p>JABAWS Web Application aRchive can run on any host operating system that supports Java 1.6. However JABAWS depends on a number of third party programs which are not available for all operating systems. In particular, not all web services are currently available for MS Windows platform.\r
- <!-- todo: link to help about obtaining and installing tomcat -->\r
-</p>\r
-<p>JABAWS comes with pre-compiled MS Windows and Linux x86 binaries, as well as the source code and build scripts necessary to recompile them.</p>\r
-<p>To run JABAWS on the cluster you must have shared disk space accessible from all cluster nodes. </p>\r
-<h3><a name="instwar" id="instwar"></a>Installing the JABAWS WAR file</h3>\r
-<p>JABAWS is distributed as a web application archive (WAR). To\r
-deploy JABAWS in Apache-Tomcat - simply drop the war file into the\r
-<span class="highlight">webapps</span> directory of a running\r
-Tomcat, and it will do the rest. If you used this deployment procedure, <span class="attention">do not remove</span> the Jabaws WAR file, otherwise Tomcat will undeploy your application! The context path for your deployed application will be the same as the name of the war file. For example, assuming the Tomcat server is running on the <span class="hightlight">localhost:8080</span> and <strong>jaba.war</strong> file is put into the <span class="hightlight"><tomcat server root>/webapps</span> directory, the deployed application from the jaba.war file then can be accessed by this URL http://localhost:8080/<strong>jaba</strong>. </p>\r
-<p>For any other web application\r
- server, please follow your server's specific deployment procedure\r
- for 'WAR' files. If you install JABAWS on a MS Windows machine, then\r
- at this point your JABAWS installation will already be up and\r
- running, and you can try its services out <a href=\r
-"#usingWsTester">as described here</a>. If you install JABAWS on Linux you will need to set an executable flag for binaries. This is described <a href="#useprebin">here</a>. If your host operating system is different from Windows or Linux then read on. </p>\r
-<h3><a name="prepexec" id="prepexec"></a>Preparing executables for use with JABAWS</h3>\r
-\r
-<p>JABAWS's web services use command line programs to do\r
-the actual analysis, so it must have access to programs\r
-which can be executed on your platform. The native executables\r
-bundled with JABAWS for Windows (32-bit) and Linux (i386, 32-bit) should be\r
-OK for those systems. The source code for these \r
-programs is also provided so you can <a href="#recompbinaries">recompile for your own\r
-architecture</a> and exploit any optimizations that your system can\r
-provide. Alternately, if you have already got binaries on your\r
-system, then you can simply <a href="#haveexec">change the paths in JABAWS's\r
-configuration files</a> so these are used instead.</p>\r
-\r
-<h3><a name="useprebin" id="useprebin"></a>Using the pre-compiled i386 binaries on Linux</h3>\r
-\r
-<p>JABAWS comes with pre-compiled x86 Linux binaries, thus on such systems JABAWS should work straight out of the box. If you are in any doubts or experience problems you may want to make sure that the binaries supplied work under your OS. To do this just execute each binary, without any command line options or\r
-input files. If you see an error message complaining about missing\r
-libraries or other problems, then you probably need to <a href=\r
-"#recompbinaries">recompile the binaries</a>.</p>\r
-\r
-You can try the JABAWS functionality with the JABAWS<a\r
-href="#usingWsTester"> test client</a> or have a look at <a href="http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html">deploying on Tomcat</a> tips if you experience any problems.<br />\r
- <em>Note: You may want to enable logging, <a href="man_configuration.html#logfiles"> as described here</a></em>.<br />\r
- \r
-\r
-<h3><a name="recompbinaries">Recompiling the bundled\r
-programs for your system</a></h3>\r
-\r
-<p>If you have a fully equipped build environment on your\r
-(POSIX-like) system, then you should be able to recompile the\r
-programs from the source distributions which are included\r
-in the JABAWS war file. A script called 'compilebin.sh' is provided\r
-to automate this task.</p>\r
-\r
-<ol>\r
-<li>In a terminal window, change the working directory to <span\r
-class="hightlight">binaries/src</span></li>\r
-\r
-<li>execute the <span class="highlight">compilebin.sh</span>\r
-script,<br />\r
- either use: <span class="hightlight">chmod +x compilebin.sh;\r
-compilebin.sh > compilebin.out;</span><br />\r
- or: <span class="hightlight">sh compilebin.sh >\r
-compilebin.out</span></li>\r
-\r
-<li>Now run <span class="hightlight">sh setexecflag.sh</span><br />\r
- If any of the binaries was not recompiled, then a 'file not found'\r
-error will be raised.</li>\r
-\r
-<li>Finally, restart your Tomcat server (or JABAWS application only), and <a href="#usingWsTester">test JABAWS</a> to\r
-check that it can use the new binaries.</li>\r
-</ol>\r
-\r
-<p>If you couldn't compile everything, then it may be that your system does\r
-not have all the tools required for compiling the programs. At the very\r
-least check that you have gcc, g++ and make installed in your\r
-system. If not install these packages and repeat the compilation\r
-steps again. You should also review the compilebin.sh output -\r
-which was redirected to compilebin.out, and any errors output to\r
-the terminal. Finally, try obtaining the <a href="#obtainexec">pre\r
-compiled binaries</a> for your OS.</p>\r
-\r
-<h3><a name="haveexec" id="haveexec">Reuse the binaries that are\r
-already in your system</a></h3>\r
-\r
-<p>If you would like to use the binaries you already have, then you\r
-just need to let JABAWS know where they are. To do this, edit:\r
-<span class="code">conf/Executable.properties</span></p>\r
-<p>When specifying paths to executables that already exist on your system, make sure you provide an absolute path, or one relative to the JABAWS directory inside <span class="highlight">webapps</span>. For example, the default path for clustalw is defined\r
-as<span class=\r
-"code">local.clustalw.bin=binaries/src/clustalw/src/clustalw2</span>\r
-Alternatively, instead of changing <span class=\r
-"hightlight">Executable.properties</span> you could also replace\r
-the executables bundled with JABAWS with the ones that you have, or make symbolic links to them.\r
-Then the default configuration will work for you. More information\r
-about <span class="hightlight">the\r
-Executable.properties</span> file is given in the <a href="man_configuration.html#exec">JABAWS Configuration chapter.</a></p>\r
-\r
-<h3><a name="obtainexec" id="obtainexec">Obtaining command line binaries for your operating system</a></h3>\r
-\r
-<p>You could search for pre-packaged compiled executable in your\r
-system package repository or alternately, download pre-compiled\r
-binaries from each alignment program's home page. Then, either\r
-replace the executables supplied with the downloaded ones, or\r
-modify the paths in <span class=\r
-"hightlight">executable.properties</span> as described above. Below are some suggestions on where you may be able to get the binaries for your system. </p>\r
-<ul>\r
- <li><a href="http://www.clustal.org/omega/#Download">Clustal Omega </a></li>\r
- <li><a href="http://www.clustal.org/clustal2/#Download">ClustalW </a></li>\r
- <li><a href="http://mafft.cbrc.jp/alignment/software/">Mafft</a></li>\r
- <li><a href="http://www.drive5.com/muscle/downloads.htm">Muscle</a></li>\r
- <li><a href="http://www.tcoffee.org/Projects/tcoffee/#DOWNLOAD">Tcoffee</a></li>\r
-</ul>\r
-<h3><a name="usingWsTester" id="usingWsTester"></a>Testing JABAWS Server </h3>\r
-<p>First of all make sure that Tomcat server is started successfully. If this was the case, then you should see JABAWS home page when you navigate to your Tomcat JABAWS context path e.g. <span class="code">http://myhost.compbio.ac.uk:8080/jabaws</span></p>\r
-<p><strong>Using JABAWS service status checker</strong></p>\r
-<p>If you see it, then it is time to make sure that web services are working too. The easiest way to do this is to access Services Status page available from the main JABAWS web page menu. </p>\r
-<p>If you need to monitor web service health automatically when the best option is to use service checker that responds with the standard HTTP status code. To access this checker use the following URL: <span class="code"><jabaws_server>/HttpCodeResponseServiceStatus</span> This page returns code 200, and no page context if all services are operational, 503 if one of the services have problems. You can also check each web service individually by providing the name of the web service to check at the end of the service checker URL like this: <span class="code"><jabaws_server>/HttpCodeResponseServiceStatus/ClustalWS</span></p>\r
-<p>Upon request, the service status checker will examine the health of the ClustalWS web service only. If the service name is not valid, then the service checker will return code 400. </p>\r
-<p><strong>Using command line client</strong> </p>\r
-<p>Alternatively, you should be able to use the test program which can be found in <webapplicationpath>/WEB-INF/lib/jabaws-client.jar file. To run the tests type:<span class="code"> java -jar jabaws-client.jar -h=<Your web application server host name, port and JABAWS context path></span></p>\r
-<p>For example to test all JABAWS web services on host myhost.compbio.ac.uk type: </p>\r
-<p class="code">java -jar jabaws-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws </p>\r
-<p>You can choose a particular web server using -s option like this <span class="code">java -jar jabaws-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=ClustalWS </span>This command line assumes that java executable is in your path and jabaws-client.jar is located in the current directory.</p>\r
-<p>An example of the report testing tool produces for operating web service looks like this: </p>\r
-<p><span class="code"> Connecting to service MuscleWS on http://myhost.compbio.ac.uk:8080/jabaws ... OK<br />\r
- Testing alignment with default parameters:<br />\r
- Queering job status...OK<br />\r
- Retrieving results...OK<br />\r
- Testing alignment with presets:<br />\r
- Aligning with preset 'Protein alignment(Fastest speed)'... OK<br />\r
- Aligning with preset 'Nucleotide alignment(Fastest speed)'... OK<br />\r
- Aligning with preset 'Huge alignments (speed-oriented)'... OK<br />\r
- Queering presets...OK<br />\r
- Queering Parameters...OK<br />\r
- Queering Limits...OK<br />\r
- Queering Local Engine Limits...OK<br />\r
- Check is completed service MuscleWS IS WORKING</span>An example of the response of a web service which is deployed but is not operating is below: </p>\r
-<p><span class="code">Connecting to service ProbconsWS on http://localhost:8080/ws ... OK<br />\r
- Testing alignment with default parameters:FAILED<br />\r
- Service ProbconsWS IS NOT FUNCTIONAL</span>If the web server did not respond the message looks like following: <span class="code">Connecting to service TcoffeeWS on http://localhost:8080/ws ... FAILED</span></p>\r
-<h3><a name="diffcontexts" id="diffcontexts"/>Running many JABAWS instances on the same server</h3>\r
-<p> JABAWS is supplied as a Web Application aRchive which can be dealt with as any other web applications. So it is perfectly possible to run two JABAWS instances from the same server. Just make two different contexts on your application server and unpack JABAWS in both of them. For example if your server name is http://www.align.ac.uk, and the context names are public and private. Than one group of users could be given a URL http://www.align.ac.uk/public and another http://www.align.ac.uk/private. These contexts will be served by two independent JABAWS instances, and could be configured differently. If you keep local engine enabled, make sure you reduce the number of threads local engine is allowed to use to avoid overloading the server. Alternatively two completely separate web application server instances (e.g. Apache-Tomcat) could be used. This will give you a better resilience and more flexibility in memory settings. </p>\r
-<h3><a name="nocluster" id="nocluster"></a>JABAWS on a single server</h3>\r
-<p>You can run JABAWS on a single server. Obviously the capacity will be limited, but it may be sufficient for a small lab. Installed on a single server, JABAWS executes tasks in parallel, so the more cores the server has the more requests it will be able to handle. </p>\r
-<h3><a name="clustsubsys" id="clustsubsys"></a>JABAWS supported cluster batch management systems </h3>\r
-<p>JABAWS uses <a href="http://drmaa.org/">DRMAA</a> v. 1.0 library to send and manage jobs on the cluster. DRMAA supports many different cluster job management systems. Namely Sun Grid Engine, Condor, PBS, GridWay, Globus 2/4, PBSPro, LSF. For up to date information please consult DRMAA web site. We found that DRMAA implementation differ from platform to platform and were trying to use only the basic functions. We have only tested JABAWS on Sun Grid Engine v 6.2. Please let use know if you have any experience of running JABAWS on other platforms.</p>\r
-<h3><a name="tomstopundeploy" id="tomstopundeploy"></a>Manually deploying JABAWS application on Apache-Tomcat </h3>\r
-<p>To stop Tomcat from automatically undeploying your application if the war file is removed use an explicit application descriptor. It could come in different flavors, the one I prefer is to drop a context descriptor file into <span class="hightlight"><tomcatRoot>conf/Catalina/localhost</span> directory. Name your context file the same as your application folder e.g. if your JABAWS resides in webappl/jabaws folder, then call the context file jabaws.xml. Below is an example of content this file might have.</p>\r
-<p class="code"><?xml version="1.0" encoding="UTF-8"?><br />\r
- <Context antiResourceLocking="false" privileged="true" /></p>\r
-<p>This should be sufficient to prevent Tomcat from removing your JABAWS from WEBAPPS. For more information about the Tomcat deployer <a href="http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html">read this documentation on the Apache-Tomcat web site</a>.</p>\r
-<h3><a name="tomdeploy" id="tomdeploy"></a>Apache-Tomcat fails to deploy jabaws.war file </h3>\r
-<ul>\r
- <li>Make sure Tomcat has sufficient access rights to read your war file. </li>\r
- <li>Restart the Tomcat, sometimes it will not restart after the new war file is added without restart</li>\r
- <li>If Tomcat still refuses to unpack the war file, unpack it manually into web application folder (the war file is just a zip archive). Restart the Tomcat.</li>\r
-</ul>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newpressed" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newa" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2>JABAWS Server Web Application aRchive (WAR) </h2>
+<ul>
+ <li><a href="#sysreq">System Requirements</a></li>
+ <li><a href="#instwar">Installing the JABAWS WAR file</a></li>
+ <li><a href="#prepexec">Preparing executables for use with JABAWS</a></li>
+ <li><a href="#useprebin">Using the pre-compiled i386 binaries on Linux</a></li>
+ <li><a href="#recompbinaries">Recompiling the bundled programs for your system</a></li>
+ <li><a href="#haveexec">Reuse the binaries that are already in your system</a></li>
+ <li><a href="#obtainexec">Obtaining command line binaries </a><a href="#obtainexec">for your operating system</a></li>
+ <li><a href="#usingWsTester">Testing JABAWS Server</a></li>
+ <li><a href="#diffcontexts">Running many JABAWS instances on the same server</a> </li>
+ <li><a href="#nocluster">JABAWS on a single server</a></li>
+ <li><a href="#clustsubsys">JABAWS supported cluster batch management systems </a></li>
+ <li><a href="#tomstopundeploy">Manually deploying JABAWS application on Apache-Tomcat </a></li>
+</ul>
+
+<p><strong>Troubleshooting</strong></p>
+<ul>
+ <li><a href="#tomdeploy">Apache-Tomcat fails to deploy the jabaws.war file</a></li>
+ </ul>
+<h3><a name="sysreq" id="sysreq"></a>System Requirements</h3>
+<p>JABAWS requires a Java web application server compliant with
+version 2.4 of the Java Servlet specification, and a Java 6 runtime
+environment. We recommend using an official Oracle Java 6 runtime
+environment, and <a
+href="http://tomcat.apache.org/download-70.cgi">Apache-Tomcat</a> web application server version 7, but older Tomcat versions above 5.5 will work too.<br/>
+<span class="attention">Please Note:</span> The JABAWS WAR is not generally compatible with older Mac systems based on the PowerPC architecture, since Java 1.6 is not available to run JABAWS.</p>
+
+<p>JABAWS Web Application aRchive can run on any host operating system that supports Java 1.6. However JABAWS depends on a number of third party programs which are not available for all operating systems. In particular, not all web services are currently available for MS Windows platform.
+ <!-- todo: link to help about obtaining and installing tomcat -->
+</p>
+<p>JABAWS comes with pre-compiled MS Windows and Linux x86 binaries, as well as the source code and build scripts necessary to recompile them.</p>
+<p>To run JABAWS on the cluster you must have shared disk space accessible from all cluster nodes. </p>
+<h3><a name="instwar" id="instwar"></a>Installing the JABAWS WAR file</h3>
+<p>JABAWS is distributed as a web application archive (WAR). To
+deploy JABAWS in Apache-Tomcat - simply drop the war file into the
+<span class="highlight">webapps</span> directory of a running
+Tomcat, and it will do the rest. If you used this deployment procedure, <span class="attention">do not remove</span> the Jabaws WAR file, otherwise Tomcat will undeploy your application! The context path for your deployed application will be the same as the name of the war file. For example, assuming the Tomcat server is running on the <span class="hightlight">localhost:8080</span> and <strong>jaba.war</strong> file is put into the <span class="hightlight"><tomcat server root>/webapps</span> directory, the deployed application from the jaba.war file then can be accessed by this URL http://localhost:8080/<strong>jaba</strong>. </p>
+<p>For any other web application
+ server, please follow your server's specific deployment procedure
+ for 'WAR' files. If you install JABAWS on a MS Windows machine, then
+ at this point your JABAWS installation will already be up and
+ running, and you can try its services out <a href=
+"#usingWsTester">as described here</a>. If you install JABAWS on Linux you will need to set an executable flag for binaries. This is described <a href="#useprebin">here</a>. If your host operating system is different from Windows or Linux then read on. </p>
+<h3><a name="prepexec" id="prepexec"></a>Preparing executables for use with JABAWS</h3>
+
+<p>JABAWS's web services use command line programs to do
+the actual analysis, so it must have access to programs
+which can be executed on your platform. The native executables
+bundled with JABAWS for Windows (32-bit) and Linux (i386, 32-bit) should be
+OK for those systems. The source code for these
+programs is also provided so you can <a href="#recompbinaries">recompile for your own
+architecture</a> and exploit any optimizations that your system can
+provide. Alternately, if you have already got binaries on your
+system, then you can simply <a href="#haveexec">change the paths in JABAWS's
+configuration files</a> so these are used instead.</p>
+
+<h3><a name="useprebin" id="useprebin"></a>Using the pre-compiled i386 binaries on Linux</h3>
+
+<p>JABAWS comes with pre-compiled x86 Linux binaries, thus on such systems JABAWS should work straight out of the box. If you are in any doubts or experience problems you may want to make sure that the binaries supplied work under your OS. To do this just execute each binary, without any command line options or
+input files. If you see an error message complaining about missing
+libraries or other problems, then you probably need to <a href=
+"#recompbinaries">recompile the binaries</a>.</p>
+
+You can try the JABAWS functionality with the JABAWS<a
+href="#usingWsTester"> test client</a> or have a look at <a href="http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html">deploying on Tomcat</a> tips if you experience any problems.<br />
+ <em>Note: You may want to enable logging, <a href="man_configuration.html#logfiles"> as described here</a></em>.<br />
+
+
+<h3><a name="recompbinaries">Recompiling the bundled
+programs for your system</a></h3>
+
+<p>If you have a fully equipped build environment on your
+(POSIX-like) system, then you should be able to recompile the
+programs from the source distributions which are included
+in the JABAWS war file. A script called 'compilebin.sh' is provided
+to automate this task.</p>
+
+<ol>
+<li>In a terminal window, change the working directory to <span
+class="hightlight">binaries/src</span></li>
+
+<li>execute the <span class="highlight">compilebin.sh</span>
+script,<br />
+ either use: <span class="hightlight">chmod +x compilebin.sh;
+compilebin.sh > compilebin.out;</span><br />
+ or: <span class="hightlight">sh compilebin.sh >
+compilebin.out</span></li>
+
+<li>Now run <span class="hightlight">sh setexecflag.sh</span><br />
+ If any of the binaries was not recompiled, then a 'file not found'
+error will be raised.</li>
+
+<li>Finally, restart your Tomcat server (or JABAWS application only), and <a href="#usingWsTester">test JABAWS</a> to
+check that it can use the new binaries.</li>
+</ol>
+
+<p>If you couldn't compile everything, then it may be that your system does
+not have all the tools required for compiling the programs. At the very
+least check that you have gcc, g++ and make installed in your
+system. If not install these packages and repeat the compilation
+steps again. You should also review the compilebin.sh output -
+which was redirected to compilebin.out, and any errors output to
+the terminal. Finally, try obtaining the <a href="#obtainexec">pre
+compiled binaries</a> for your OS.</p>
+
+<h3><a name="haveexec" id="haveexec">Reuse the binaries that are
+already in your system</a></h3>
+
+<p>If you would like to use the binaries you already have, then you
+just need to let JABAWS know where they are. To do this, edit:
+<span class="code">conf/Executable.properties</span></p>
+<p>When specifying paths to executables that already exist on your system, make sure you provide an absolute path, or one relative to the JABAWS directory inside <span class="highlight">webapps</span>. For example, the default path for clustalw is defined
+as<span class=
+"code">local.clustalw.bin=binaries/src/clustalw/src/clustalw2</span>
+Alternatively, instead of changing <span class=
+"hightlight">Executable.properties</span> you could also replace
+the executables bundled with JABAWS with the ones that you have, or make symbolic links to them.
+Then the default configuration will work for you. More information
+about <span class="hightlight">the
+Executable.properties</span> file is given in the <a href="man_configuration.html#exec">JABAWS Configuration chapter.</a></p>
+
+<h3><a name="obtainexec" id="obtainexec">Obtaining command line binaries for your operating system</a></h3>
+
+<p>You could search for pre-packaged compiled executable in your
+system package repository or alternately, download pre-compiled
+binaries from each alignment program's home page. Then, either
+replace the executables supplied with the downloaded ones, or
+modify the paths in <span class=
+"hightlight">executable.properties</span> as described above. Below are some suggestions on where you may be able to get the binaries for your system. </p>
+<ul>
+ <li><a href="http://www.clustal.org/omega/#Download">Clustal Omega </a></li>
+ <li><a href="http://www.clustal.org/clustal2/#Download">ClustalW </a></li>
+ <li><a href="http://mafft.cbrc.jp/alignment/software/">Mafft</a></li>
+ <li><a href="http://www.drive5.com/muscle/downloads.htm">Muscle</a></li>
+ <li><a href="http://www.tcoffee.org/Projects/tcoffee/#DOWNLOAD">Tcoffee</a></li>
+</ul>
+<h3><a name="usingWsTester" id="usingWsTester"></a>Testing JABAWS Server </h3>
+<p>First of all make sure that Tomcat server is started successfully. If this was the case, then you should see JABAWS home page when you navigate to your Tomcat JABAWS context path e.g. <span class="code">http://myhost.compbio.ac.uk:8080/jabaws</span></p>
+<p><strong>Using JABAWS service status checker</strong></p>
+<p>If you see it, then it is time to make sure that web services are working too. The easiest way to do this is to access Services Status page available from the main JABAWS web page menu. </p>
+<p>If you need to monitor web service health automatically when the best option is to use service checker that responds with the standard HTTP status code. To access this checker use the following URL: <span class="code"><jabaws_server>/HttpCodeResponseServiceStatus</span> This page returns code 200, and no page context if all services are operational, 503 if one of the services have problems. You can also check each web service individually by providing the name of the web service to check at the end of the service checker URL like this: <span class="code"><jabaws_server>/HttpCodeResponseServiceStatus/ClustalWS</span></p>
+<p>Upon request, the service status checker will examine the health of the ClustalWS web service only. If the service name is not valid, then the service checker will return code 400. </p>
+<p><strong>Using command line client</strong> </p>
+<p>Alternatively, you should be able to use the test program which can be found in <webapplicationpath>/WEB-INF/lib/jabaws-client.jar file. To run the tests type:<span class="code"> java -jar jabaws-client.jar -h=<Your web application server host name, port and JABAWS context path></span></p>
+<p>For example to test all JABAWS web services on host myhost.compbio.ac.uk type: </p>
+<p class="code">java -jar jabaws-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws </p>
+<p>You can choose a particular web server using -s option like this <span class="code">java -jar jabaws-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=ClustalWS </span>This command line assumes that java executable is in your path and jabaws-client.jar is located in the current directory.</p>
+<p>An example of the report testing tool produces for operating web service looks like this: </p>
+<p><span class="code"> Connecting to service MuscleWS on http://myhost.compbio.ac.uk:8080/jabaws ... OK<br />
+ Testing alignment with default parameters:<br />
+ Queering job status...OK<br />
+ Retrieving results...OK<br />
+ Testing alignment with presets:<br />
+ Aligning with preset 'Protein alignment(Fastest speed)'... OK<br />
+ Aligning with preset 'Nucleotide alignment(Fastest speed)'... OK<br />
+ Aligning with preset 'Huge alignments (speed-oriented)'... OK<br />
+ Queering presets...OK<br />
+ Queering Parameters...OK<br />
+ Queering Limits...OK<br />
+ Queering Local Engine Limits...OK<br />
+ Check is completed service MuscleWS IS WORKING</span>An example of the response of a web service which is deployed but is not operating is below: </p>
+<p><span class="code">Connecting to service ProbconsWS on http://localhost:8080/ws ... OK<br />
+ Testing alignment with default parameters:FAILED<br />
+ Service ProbconsWS IS NOT FUNCTIONAL</span>If the web server did not respond the message looks like following: <span class="code">Connecting to service TcoffeeWS on http://localhost:8080/ws ... FAILED</span></p>
+<h3><a name="diffcontexts" id="diffcontexts"/>Running many JABAWS instances on the same server</h3>
+<p> JABAWS is supplied as a Web Application aRchive which can be dealt with as any other web applications. So it is perfectly possible to run two JABAWS instances from the same server. Just make two different contexts on your application server and unpack JABAWS in both of them. For example if your server name is http://www.align.ac.uk, and the context names are public and private. Than one group of users could be given a URL http://www.align.ac.uk/public and another http://www.align.ac.uk/private. These contexts will be served by two independent JABAWS instances, and could be configured differently. If you keep local engine enabled, make sure you reduce the number of threads local engine is allowed to use to avoid overloading the server. Alternatively two completely separate web application server instances (e.g. Apache-Tomcat) could be used. This will give you a better resilience and more flexibility in memory settings. </p>
+<h3><a name="nocluster" id="nocluster"></a>JABAWS on a single server</h3>
+<p>You can run JABAWS on a single server. Obviously the capacity will be limited, but it may be sufficient for a small lab. Installed on a single server, JABAWS executes tasks in parallel, so the more cores the server has the more requests it will be able to handle. </p>
+<h3><a name="clustsubsys" id="clustsubsys"></a>JABAWS supported cluster batch management systems </h3>
+<p>JABAWS uses <a href="http://drmaa.org/">DRMAA</a> v. 1.0 library to send and manage jobs on the cluster. DRMAA supports many different cluster job management systems. Namely Sun Grid Engine, Condor, PBS, GridWay, Globus 2/4, PBSPro, LSF. For up to date information please consult DRMAA web site. We found that DRMAA implementation differ from platform to platform and were trying to use only the basic functions. We have only tested JABAWS on Sun Grid Engine v 6.2. Please let use know if you have any experience of running JABAWS on other platforms.</p>
+<h3><a name="tomstopundeploy" id="tomstopundeploy"></a>Manually deploying JABAWS application on Apache-Tomcat </h3>
+<p>To stop Tomcat from automatically undeploying your application if the war file is removed use an explicit application descriptor. It could come in different flavors, the one I prefer is to drop a context descriptor file into <span class="hightlight"><tomcatRoot>conf/Catalina/localhost</span> directory. Name your context file the same as your application folder e.g. if your JABAWS resides in webappl/jabaws folder, then call the context file jabaws.xml. Below is an example of content this file might have.</p>
+<p class="code"><?xml version="1.0" encoding="UTF-8"?><br />
+ <Context antiResourceLocking="false" privileged="true" /></p>
+<p>This should be sufficient to prevent Tomcat from removing your JABAWS from WEBAPPS. For more information about the Tomcat deployer <a href="http://tomcat.apache.org/tomcat-6.0-doc/deployer-howto.html">read this documentation on the Apache-Tomcat web site</a>.</p>
+<h3><a name="tomdeploy" id="tomdeploy"></a>Apache-Tomcat fails to deploy jabaws.war file </h3>
+<ul>
+ <li>Make sure Tomcat has sufficient access rights to read your war file. </li>
+ <li>Restart the Tomcat, sometimes it will not restart after the new war file is added without restart</li>
+ <li>If Tomcat still refuses to unpack the war file, unpack it manually into web application folder (the war file is just a zip archive). Restart the Tomcat.</li>
+</ul>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
- <tr>\r
- <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
- <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
- <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
- </tr>\r
-</table>\r
-</div>\r
-<!-- banner end-->\r
-\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <div id="supermenu">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newa" href="quick_start.html">Getting Started</a> \r
- <a class="newpressed" href="man_about.html">Manual</a> \r
- </div>\r
- <div id="submenu">\r
- <a class="newa" href="man_about.html">About</a>\r
- <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>\r
- <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>\r
- <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>\r
- <a class="newa" href="man_configuration.html" >Configure JABAWS</a>\r
- <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>\r
- <a class="newpressed" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>\r
- <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>\r
- <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>\r
- </div>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
-<h2 id="headtitle">JABAWS MANUAL</h2>\r
-\r
-<h2><a name="usingcclient" id="usingcclient"></a>JABAWS Usage Statistics </h2>\r
-<ul>\r
- <li><a href="#usage_sum">Summary of Usage</a></li>\r
- <li><a href="#helpUsageStats">Authentication</a></li>\r
- <li><a href="#detailed_usage">Detailed Usage Statistic </a></li>\r
- <li><a href="#job_list">Job List</a></li>\r
- <li><a href="#job_dir">Single Job Directory Content </a></li>\r
- <li><a href="#conf_tomcat_user">Configuring a privileged access for Tomcat web application server</a></li>\r
- <li><a href="#exec_stat_conf">Configuring JABAWS execution statistics</a></li>\r
-</ul>\r
-<h3><a name="usage_sum"></a>Summary of Usage </h3>\r
-<p>JABAWS comes with a web application for visualizing usage statistics. The screenshot below shows the main page of this application. The individual month is linked to detailed usage statistics (described later). Please note, that the links to the detailed monthly statistics are only available for authenticated users in the role <span class="hightlight">admin</span>. There is a link at the bottom of the page that lets you login, if you have not done so. </p>\r
-<p>If you are using JABAWS VA (Virtual Appliance) then the username is <span class="hightlight">jabaws</span> and password is not defined, i.e. empty. </p>\r
-<p>If you have deployed a JABAWS WAR file, then please see the <a href="#conf_tomcat_user">configuring privileged access for Tomcat web application server</a> section for further details. </p>\r
-<p><img src="images/usage_statistics_main.gif" alt="JABAWS usage statistics" width="608" height="318" /></p>\r
-<p>The table contains the number of jobs processed by JABAWS per month, for the whole period when the statistics was collected</p>\r
-<p>For each month the table contains the following information.</p>\r
-<ul>\r
- <li>Month - the period of time for which statistics is displayed. For example Jan 2011 means period of time from the first of January to the first of February</li>\r
- <li>Total - the total number of jobs accepted by JABAWS</li>\r
- <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>\r
- <li>Cancelled - the number of jobs cancelled by the user</li>\r
- <li>Abandoned - the number of jobs which result(s) were not collected</li>\r
-</ul>\r
-<p>The summary for each column is displayed in the last row of the table.</p>\r
-<h3><a name="helpUsageStats"></a>Authentication</h3>\r
-<p>Authentication lets you see the detailed usage statistics. If you are using JABAWS VA (Virtual Appliance) then the username is <span class="hightlight">jabaws</span> and password is not defined, i.e. empty. In other cases you need to ask your system administrator for it. </p>\r
-<h3><a name="detailed_usage"></a>Detailed Usage Statistic </h3>\r
-<p>Detailed execution statistics for each month is available for authenticated users only. </p>\r
-<p><img src="images/usage_statistics_month.gif" alt="JABAWS one month usage statistics" width="670" height="902" /></p>\r
-<p>Each table contains the number of jobs processed by JABAWS during the period of time specified in the title:</p>\r
-<ul>\r
- <li>The "All Jobs" table contains the summary of all jobs</li>\r
- <li>"Local Jobs" table - contains the summary of the jobs calculated by the local engine</li>\r
- <li>"Cluster Jobs" table - contains the summary of the jobs calculated by the cluster</li>\r
-</ul>\r
-Each table contains the following information for each web service:\r
-<ul>\r
- <li>Total - the total number of jobs accepted by a particular JABA service</li>\r
- <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>\r
- <li>Cancelled - the number of jobs cancelled by the user</li>\r
- <li>Abandoned - the number of jobs which result(s) were not collected</li>\r
-</ul>\r
-<h3><a name="job_list"></a>Job List </h3>\r
-<p>Please note that if you deployed JABAWS WAR, in order to be able to navigate to the job directory from this view, the application server may need to be configured. Please see <a href="#exec_stat_conf">Configuring JABAWS execution statistics</a> section for further details. </p>\r
-<p><img src="images/usage_statistics_details.gif" alt="JABAWS - job list" width="917" height="198" /> </p>\r
-<p>Columns: </p>\r
-<ul>\r
- <li>JobID - the JABAWS job id, unique for every job</li>\r
- <li>Cluster JobID - cluster job id</li>\r
- <li>InputSize - input size in bytes</li>\r
- <li>ResultSize - result size in bytes</li>\r
- <li>Runtime (s) - job's runtime in seconds</li>\r
- <li>Start time (s)- job's start time and date</li>\r
- <li>Finish time (s)- job's finish time and date</li>\r
- <li>isCancelled - whether the job was cancelled</li>\r
- <li>isCollected - whether the job was collected. False for the jobs that has been initiated but which results has never been retrieved</li>\r
- <li>isFinished - whether the job has finished. This does not necessarily mean that the job has produced the result. The job can sometime finish in failure</li>\r
-</ul>\r
-<h3><a name="job_dir"></a>JABAWS Job Directory Content </h3>\r
-<p><img src="images/usage_statistics_job_details.gif" alt="JABAWS- job details" width="716" height="420" /></p>\r
-<p>STARTED and FINISHED files contain Unix timestamp - when the job was started and completed respectively. STARTED is replaced by SUBMITTED if the job has been submitted to the cluster, as opposed to executed locally, on the server. </p>\r
-<p>COLLECTED file is empty and indicates that the job results were collected by the user. Due to asynchronous nature of the job it is possible that the job was started and finished, but the results has never been requested. </p>\r
-<p>RunnerConfig.xml file contains a complete description of the job and JABAWS can restart the job based on this description. </p>\r
-<p>procError.txt and procOutput.txt files contains the content of the standard out and standard error streams of the process. </p>\r
-<p>result.txt file contains the results. </p>\r
-<p>input.txt file contains input into the process. </p>\r
-<p>There are maybe other files depending on the nature of the job, but the one described above will be present in most cases. In this example, stat.log file stories the execution statistics generated by (clustal executable in this example) process.</p>\r
-<p> If you have deployed JABAWS WAR file or made changes to JABAWS configuration you may need to make a few changes to the Tomcat configuration to be able to see the content of the job directory. Please see <a href="#exec_stat_conf">Configuring JABAWS execution statistics</a> section for further details. </p>\r
-<h3><a name="exec_stat_conf"></a>Configuring JABAWS execution statistics</h3>\r
-<p>JABAWS execution statistics is a multi-component system. First is a crawler whose job is to collect and preprocess the statistics from the job temporary directories and record the collected statistics into the database. The second part of the system is a web application whose job is to visualise the statistics from the database. </p>\r
-<p>It is possible to enable/disable the statistics collector by changing the following properties in the conf/Cluster.engine.properties and conf/Local.engine.properties files. </p>\r
-<p class="box"># Enable/disable cluster statistics collector true = enable, false = disable <br/>\r
- cluster.stat.collector.enable=false\r
- <br/>\r
- # Maximum amount of time the job is considered be running in hours. Optional defaults to 7 days (168h) <br/>\r
- cluster.stat.maxruntime=24</p>\r
-<p class="box"># Enable/disable cluster statistics collector true = enable, false = disable <br/>\r
- local.stat.collector.enable=true\r
- <br/>\r
- # Maximum amount of time the job is considered to be running in hours. Optional defaults to 24 hours<br/>\r
- local.stat.maxruntime=6</p>\r
-<p>If the statistics collector is enabled then the crawler starts automatically soon after (10 minutes for local engine, and 60 minutes for cluster engine) the JABAWS web application and will be collecting the execution statistics every 24 hours after the start. </p>\r
-<p>The details of the job are only available if the job temporary directory is located within a JABAWS web application. If not, the system administrator can create a symbolic link pointing to the temporary job directories outside of a web application and configure the application server to allow navigation to the links. For the Tomcat application server the context configuration file should be created and copied to the <TOMCAT_ROOT>/conf/Catalina/localhost directory. The name of the file should be the same as the web application context name, for example "<span class="hightlight">jabaws.xml</span>" for jabaws. Where the TOMCAT_ROOT is the location of the Tomcat web application server. Here is an example of such a file: </p>\r
-<p><span class="code"><?xml version="1.0" encoding="UTF-8"?><br/>\r
-<Context antiResourceLocking="false" privileged="true" allowLinking="true"/></span></p>\r
-<p>The key option here is this: <span class="hightlight">allowLinking="true"</span>. Please also make sure that you have defined the user in role "<span class="hightlight">admin</span>" as described <a href="#conf_tomcat_user">below</a>.</p>\r
-<h3><a name="conf_tomcat_user" id="conf_tomcat_user"></a>Configuring a privileged access for Tomcat web application server</h3>\r
-<p>Access to configuration files, detailed job execution statistics and job directories are allowed only for authenticated users in role "<span class="hightlight">admin</span>". </p>\r
-<p>If you use Tomcat, then the simplest way to set up privileged access is to use a plain text configuration file <span class="hightlight">conf/tomcat-user.xml</span>. Here is an example of such configuration file defining user "<span class="hightlight">peter</span>" in role "<span class="hightlight">admin</span>". <span class="code"><tomcat-users><br/>\r
- <role rolename="admin"/><br />\r
- <user username="peter" password="your password here " roles="admin"/><br/>\r
- </tomcat-users></span></p>\r
-<p>For more information on users and roles please consult Apache-Tomcat help pages. </p>\r
-<p><br/>\r
-</p>\r
-</div><!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div><!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS): Manual</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+ <tr>
+ <td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" width="158" height="90" alt="University of Dundee" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+ <td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+ <td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+ </tr>
+</table>
+</div>
+<!-- banner end-->
+
+
+<div id="wrapper">
+<div id="panel">
+ <div id="supermenu">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newa" href="quick_start.html">Getting Started</a>
+ <a class="newpressed" href="man_about.html">Manual</a>
+ </div>
+ <div id="submenu">
+ <a class="newa" href="man_about.html">About</a>
+ <a class="newa" href="man_servervm.html" title="JABAWS Server as Virtual Appliance">Server VA</a>
+ <a class="newa" href="man_awscloud.html" title="JABAWS Server in the Amazon EC2 Cloud">Server in the Cloud</a>
+ <a class="newa" href="man_serverwar.html" title="JABAWS Server as Web Application aRchive">Server WAR</a>
+ <a class="newa" href="man_configuration.html" >Configure JABAWS</a>
+ <a class="newa" href="man_client.html" title="JABAWS Command Line Client">Command Client</a>
+ <a class="newpressed" href="man_stats.html" title="JABAWS Usage Statistics">Usage Statistics</a>
+ <a class="newa" href="man_dev.html" title="Accessing JABAWS from your program">Accessing JABAWS</a>
+ <a class="newa" href="man_server_dev.html" >Develop JABAWS</a>
+ </div>
+</div>
+<!-- panel end-->
+
+<div id="content">
+<h2 id="headtitle">JABAWS MANUAL</h2>
+
+<h2><a name="usingcclient" id="usingcclient"></a>JABAWS Usage Statistics </h2>
+<ul>
+ <li><a href="#usage_sum">Summary of Usage</a></li>
+ <li><a href="#helpUsageStats">Authentication</a></li>
+ <li><a href="#detailed_usage">Detailed Usage Statistic </a></li>
+ <li><a href="#job_list">Job List</a></li>
+ <li><a href="#job_dir">Single Job Directory Content </a></li>
+ <li><a href="#conf_tomcat_user">Configuring a privileged access for Tomcat web application server</a></li>
+ <li><a href="#exec_stat_conf">Configuring JABAWS execution statistics</a></li>
+</ul>
+<h3><a name="usage_sum"></a>Summary of Usage </h3>
+<p>JABAWS comes with a web application for visualizing usage statistics. The screenshot below shows the main page of this application. The individual month is linked to detailed usage statistics (described later). Please note, that the links to the detailed monthly statistics are only available for authenticated users in the role <span class="hightlight">admin</span>. There is a link at the bottom of the page that lets you login, if you have not done so. </p>
+<p>If you are using JABAWS VA (Virtual Appliance) then the username is <span class="hightlight">jabaws</span> and password is not defined, i.e. empty. </p>
+<p>If you have deployed a JABAWS WAR file, then please see the <a href="#conf_tomcat_user">configuring privileged access for Tomcat web application server</a> section for further details. </p>
+<p><img src="images/usage_statistics_main.gif" alt="JABAWS usage statistics" width="608" height="318" /></p>
+<p>The table contains the number of jobs processed by JABAWS per month, for the whole period when the statistics was collected</p>
+<p>For each month the table contains the following information.</p>
+<ul>
+ <li>Month - the period of time for which statistics is displayed. For example Jan 2011 means period of time from the first of January to the first of February</li>
+ <li>Total - the total number of jobs accepted by JABAWS</li>
+ <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>
+ <li>Cancelled - the number of jobs cancelled by the user</li>
+ <li>Abandoned - the number of jobs which result(s) were not collected</li>
+</ul>
+<p>The summary for each column is displayed in the last row of the table.</p>
+<h3><a name="helpUsageStats"></a>Authentication</h3>
+<p>Authentication lets you see the detailed usage statistics. If you are using JABAWS VA (Virtual Appliance) then the username is <span class="hightlight">jabaws</span> and password is not defined, i.e. empty. In other cases you need to ask your system administrator for it. </p>
+<h3><a name="detailed_usage"></a>Detailed Usage Statistic </h3>
+<p>Detailed execution statistics for each month is available for authenticated users only. </p>
+<p><img src="images/usage_statistics_month.gif" alt="JABAWS one month usage statistics" width="670" height="902" /></p>
+<p>Each table contains the number of jobs processed by JABAWS during the period of time specified in the title:</p>
+<ul>
+ <li>The "All Jobs" table contains the summary of all jobs</li>
+ <li>"Local Jobs" table - contains the summary of the jobs calculated by the local engine</li>
+ <li>"Cluster Jobs" table - contains the summary of the jobs calculated by the cluster</li>
+</ul>
+Each table contains the following information for each web service:
+<ul>
+ <li>Total - the total number of jobs accepted by a particular JABA service</li>
+ <li>Incomplete - the number of jobs for which the result file was not found or was empty excluding cancelled</li>
+ <li>Cancelled - the number of jobs cancelled by the user</li>
+ <li>Abandoned - the number of jobs which result(s) were not collected</li>
+</ul>
+<h3><a name="job_list"></a>Job List </h3>
+<p>Please note that if you deployed JABAWS WAR, in order to be able to navigate to the job directory from this view, the application server may need to be configured. Please see <a href="#exec_stat_conf">Configuring JABAWS execution statistics</a> section for further details. </p>
+<p><img src="images/usage_statistics_details.gif" alt="JABAWS - job list" width="917" height="198" /> </p>
+<p>Columns: </p>
+<ul>
+ <li>JobID - the JABAWS job id, unique for every job</li>
+ <li>Cluster JobID - cluster job id</li>
+ <li>InputSize - input size in bytes</li>
+ <li>ResultSize - result size in bytes</li>
+ <li>Runtime (s) - job's runtime in seconds</li>
+ <li>Start time (s)- job's start time and date</li>
+ <li>Finish time (s)- job's finish time and date</li>
+ <li>isCancelled - whether the job was cancelled</li>
+ <li>isCollected - whether the job was collected. False for the jobs that has been initiated but which results has never been retrieved</li>
+ <li>isFinished - whether the job has finished. This does not necessarily mean that the job has produced the result. The job can sometime finish in failure</li>
+</ul>
+<h3><a name="job_dir"></a>JABAWS Job Directory Content </h3>
+<p><img src="images/usage_statistics_job_details.gif" alt="JABAWS- job details" width="716" height="420" /></p>
+<p>STARTED and FINISHED files contain Unix timestamp - when the job was started and completed respectively. STARTED is replaced by SUBMITTED if the job has been submitted to the cluster, as opposed to executed locally, on the server. </p>
+<p>COLLECTED file is empty and indicates that the job results were collected by the user. Due to asynchronous nature of the job it is possible that the job was started and finished, but the results has never been requested. </p>
+<p>RunnerConfig.xml file contains a complete description of the job and JABAWS can restart the job based on this description. </p>
+<p>procError.txt and procOutput.txt files contains the content of the standard out and standard error streams of the process. </p>
+<p>result.txt file contains the results. </p>
+<p>input.txt file contains input into the process. </p>
+<p>There are maybe other files depending on the nature of the job, but the one described above will be present in most cases. In this example, stat.log file stories the execution statistics generated by (clustal executable in this example) process.</p>
+<p> If you have deployed JABAWS WAR file or made changes to JABAWS configuration you may need to make a few changes to the Tomcat configuration to be able to see the content of the job directory. Please see <a href="#exec_stat_conf">Configuring JABAWS execution statistics</a> section for further details. </p>
+<h3><a name="exec_stat_conf"></a>Configuring JABAWS execution statistics</h3>
+<p>JABAWS execution statistics is a multi-component system. First is a crawler whose job is to collect and preprocess the statistics from the job temporary directories and record the collected statistics into the database. The second part of the system is a web application whose job is to visualise the statistics from the database. </p>
+<p>It is possible to enable/disable the statistics collector by changing the following properties in the conf/Cluster.engine.properties and conf/Local.engine.properties files. </p>
+<p class="box"># Enable/disable cluster statistics collector true = enable, false = disable <br/>
+ cluster.stat.collector.enable=false
+ <br/>
+ # Maximum amount of time the job is considered be running in hours. Optional defaults to 7 days (168h) <br/>
+ cluster.stat.maxruntime=24</p>
+<p class="box"># Enable/disable cluster statistics collector true = enable, false = disable <br/>
+ local.stat.collector.enable=true
+ <br/>
+ # Maximum amount of time the job is considered to be running in hours. Optional defaults to 24 hours<br/>
+ local.stat.maxruntime=6</p>
+<p>If the statistics collector is enabled then the crawler starts automatically soon after (10 minutes for local engine, and 60 minutes for cluster engine) the JABAWS web application and will be collecting the execution statistics every 24 hours after the start. </p>
+<p>The details of the job are only available if the job temporary directory is located within a JABAWS web application. If not, the system administrator can create a symbolic link pointing to the temporary job directories outside of a web application and configure the application server to allow navigation to the links. For the Tomcat application server the context configuration file should be created and copied to the <TOMCAT_ROOT>/conf/Catalina/localhost directory. The name of the file should be the same as the web application context name, for example "<span class="hightlight">jabaws.xml</span>" for jabaws. Where the TOMCAT_ROOT is the location of the Tomcat web application server. Here is an example of such a file: </p>
+<p><span class="code"><?xml version="1.0" encoding="UTF-8"?><br/>
+<Context antiResourceLocking="false" privileged="true" allowLinking="true"/></span></p>
+<p>The key option here is this: <span class="hightlight">allowLinking="true"</span>. Please also make sure that you have defined the user in role "<span class="hightlight">admin</span>" as described <a href="#conf_tomcat_user">below</a>.</p>
+<h3><a name="conf_tomcat_user" id="conf_tomcat_user"></a>Configuring a privileged access for Tomcat web application server</h3>
+<p>Access to configuration files, detailed job execution statistics and job directories are allowed only for authenticated users in role "<span class="hightlight">admin</span>". </p>
+<p>If you use Tomcat, then the simplest way to set up privileged access is to use a plain text configuration file <span class="hightlight">conf/tomcat-user.xml</span>. Here is an example of such configuration file defining user "<span class="hightlight">peter</span>" in role "<span class="hightlight">admin</span>". <span class="code"><tomcat-users><br/>
+ <role rolename="admin"/><br />
+ <user username="peter" password="your password here " roles="admin"/><br/>
+ </tomcat-users></span></p>
+<p>For more information on users and roles please consult Apache-Tomcat help pages. </p>
+<p><br/>
+</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div><!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
-<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
-<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
-<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
-</tr>\r
-</table>\r
-</div><!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newpressed" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">Getting Started</h2>\r
-<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>\r
-<table id="choicematrix">\r
-<tr>\r
- <th>I want to use JABAWS for...</th>\r
- <th>Quick Guide</th>\r
-</tr>\r
-<tr>\r
- <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>\r
- <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>\r
- <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>\r
- <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Accessing a JABAWS server from my own code</td>\r
- <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>\r
-</tr>\r
-</table>\r
-\r
-\r
-<a name="qsc"/>\r
-<h3>Running JABAWS in the Amazon Cloud</h3>\r
-<ol>\r
- <li><a href="https://www.amazon.com/ap/signin/175-8261537-7969810?_encoding=UTF8&openid.assoc_handle=aws&openid.return_to=https%3A//aws-portal.amazon.com/gp/aws/developer/registration/index.html/175-8261537-7969810&openid.mode=checkid_setup&openid.ns=http%3A//specs.openid.net/auth/2.0&openid.claimed_id=http%3A//specs.openid.net/auth/2.0/identifier_select&openid.pape.max_auth_age=600&siteState=awsMode%3A%3Aregistration%3A%3AheaderMessage%3A%3AAmazon Web Services Sign Up%3A%3A&pageId=aws.ssop&openid.pape.preferred_auth_policies=http%3A//schemas.openid.net/pape/policies/2007/06/multi-factor-physical&marketplaceId=ATVPDKIKX0DER&accountStatusPolicy=P1&openid.ns.pape=http%3A//specs.openid.net/extensions/pape/1.0&openid.identity=http%3A//specs.openid.net/auth/2.0/identifier_select&authCookies=1">Create Amazon Web Services account</a>. </li>\r
- <li>Configure JABAWS either on the <a href="man_awscloud_ec2.html">Amazon EC2 cloud</a> or on <a href="man_awscloud_bs.html">Amazon Elastic Beanstalk</a></li>\r
-</ol>\r
-</div><!-- content end--> \r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div> <!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+</tr>
+</table>
+</div><!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newpressed" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">Getting Started</h2>
+<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>
+<table id="choicematrix">
+<tr>
+ <th>I want to use JABAWS for...</th>
+ <th>Quick Guide</th>
+</tr>
+<tr>
+ <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>
+ <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>
+</tr>
+<tr>
+ <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>
+ <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>
+</tr>
+<tr>
+ <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>
+ <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>
+</tr>
+<tr>
+ <td>Accessing a JABAWS server from my own code</td>
+ <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>
+</tr>
+</table>
+
+
+<a name="qsc"/>
+<h3>Running JABAWS in the Amazon Cloud</h3>
+<ol>
+ <li><a href="https://www.amazon.com/ap/signin/175-8261537-7969810?_encoding=UTF8&openid.assoc_handle=aws&openid.return_to=https%3A//aws-portal.amazon.com/gp/aws/developer/registration/index.html/175-8261537-7969810&openid.mode=checkid_setup&openid.ns=http%3A//specs.openid.net/auth/2.0&openid.claimed_id=http%3A//specs.openid.net/auth/2.0/identifier_select&openid.pape.max_auth_age=600&siteState=awsMode%3A%3Aregistration%3A%3AheaderMessage%3A%3AAmazon Web Services Sign Up%3A%3A&pageId=aws.ssop&openid.pape.preferred_auth_policies=http%3A//schemas.openid.net/pape/policies/2007/06/multi-factor-physical&marketplaceId=ATVPDKIKX0DER&accountStatusPolicy=P1&openid.ns.pape=http%3A//specs.openid.net/extensions/pape/1.0&openid.identity=http%3A//specs.openid.net/auth/2.0/identifier_select&authCookies=1">Create Amazon Web Services account</a>. </li>
+ <li>Configure JABAWS either on the <a href="man_awscloud_ec2.html">Amazon EC2 cloud</a> or on <a href="man_awscloud_bs.html">Amazon Elastic Beanstalk</a></li>
+</ol>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div> <!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
-<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
-<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
-<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
-</tr>\r
-</table>\r
-</div><!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newpressed" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">Getting Started</h2>\r
-<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>\r
-<table id="choicematrix">\r
-<tr>\r
- <th>I want to use JABAWS for...</th>\r
- <th>Quick Guide</th>\r
-</tr>\r
-<tr>\r
- <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>\r
- <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>\r
- <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>\r
- <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Accessing a JABAWS server from my own code</td>\r
- <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>\r
-</tr>\r
-</table>\r
-\r
-<a name="qsc"/>\r
-<h3><a name="client"/>The JABAWS command line client</h3>\r
-<ul><li>Download <a href="http://www.compbio.dundee.ac.uk/download">the Client Jar file</a></li>\r
-</ul>\r
-<p>\r
- This is a single java archive which contains the JABAWS command line client. It requires Java \r
- version 1.6 to run, and allows anyone who wants to connect to and to use JABAWS from their own \r
- software. You can read more about how to use command line client <a href="man_client.html">in \r
- the CMD Client</a> section of the manual. You can also get command line help by changing to \r
- the directory where you downloaded the client jar, and typing:</p>\r
- <ul>\r
- <li><span class="hightlight">java -jar jaba-client.jar</span></li>\r
- </ul>\r
-<p>\r
- A JABA Web Services are WS-I compliant. This means that you can access them from any \r
- language that has libraries or functions for consuming interoperable SOAP web services.\r
- <!-- TODO Provide list of libraries for different languages -->\r
-</p>\r
-</div><!-- content end--> \r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div> <!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+</tr>
+</table>
+</div><!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newpressed" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">Getting Started</h2>
+<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>
+<table id="choicematrix">
+<tr>
+ <th>I want to use JABAWS for...</th>
+ <th>Quick Guide</th>
+</tr>
+<tr>
+ <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>
+ <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>
+</tr>
+<tr>
+ <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>
+ <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>
+</tr>
+<tr>
+ <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>
+ <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>
+</tr>
+<tr>
+ <td>Accessing a JABAWS server from my own code</td>
+ <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>
+</tr>
+</table>
+
+<a name="qsc"/>
+<h3><a name="client"/>The JABAWS command line client</h3>
+<ul><li>Download <a href="http://www.compbio.dundee.ac.uk/download">the Client Jar file</a></li>
+</ul>
+<p>
+ This is a single java archive which contains the JABAWS command line client. It requires Java
+ version 1.6 to run, and allows anyone who wants to connect to and to use JABAWS from their own
+ software. You can read more about how to use command line client <a href="man_client.html">in
+ the CMD Client</a> section of the manual. You can also get command line help by changing to
+ the directory where you downloaded the client jar, and typing:</p>
+ <ul>
+ <li><span class="hightlight">java -jar jaba-client.jar</span></li>
+ </ul>
+<p>
+ A JABA Web Services are WS-I compliant. This means that you can access them from any
+ language that has libraries or functions for consuming interoperable SOAP web services.
+ <!-- TODO Provide list of libraries for different languages -->
+</p>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div> <!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
-<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
-<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
-<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
-</tr>\r
-</table>\r
-</div><!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newpressed" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
-<h2 id="headtitle">Getting Started</h2>\r
-<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>\r
-<table id="choicematrix">\r
-<tr>\r
- <th>I want to use JABAWS for...</th>\r
- <th>Quick Guide</th>\r
-</tr>\r
-<tr>\r
- <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>\r
- <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>\r
- <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>\r
- <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Accessing a JABAWS server from my own code</td>\r
- <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>\r
-</tr>\r
-</table>\r
-\r
-<a name="qsc"/>\r
-<h3>Running JABAWS on your local machine</h3>\r
-<ul><li>Download <a href="http://www.compbio.dundee.ac.uk/download">JABAWS Virtual Appliance</a></li>\r
-</ul>\r
-<p>\r
-The Virtual Appliance (VA) package allows you to run a JABAWS server installed on TurnKey Linux as a \r
-virtual machine on your laptop or desktop computer. A <a href="man_servervm.html#whenvm">complete guide \r
-to the JABAWS VA</a> is given in the manual, but for the impatient, a brief instructions are given below:\r
-</p>\r
-<p>If you work on Windows, Linux or Unix </p>\r
-<ol>\r
- <li>download and install <a href="http://www.vmware.com/products/player">VMWare Player</a>.</li>\r
- <li>Unpack the JABAWS virtual appliance and open it with VMware Player.</li>\r
- </ol>\r
-<p>If you work on Mac do the same using <a href="http://www.vmware.com/products/fusion/overview.html">VMware Fusion</a>, or for free alternative use a WAR JABAWS package. </p>\r
-<div id="testing_jabaws">\r
-<h3>Testing</h3>\r
-<p>To check that your JABAWS virtual appliance is working visit the Services Status page available from the main JABAWS menu. For this enter the JABAWS URL for your new server into a web browser. This is shown once the appliance is booted up. </p>\r
-<p>Alternatively you can use Jalview to complete the testing. </p>\r
-<ol><li>Launch the desktop version of <a href="http://www.jalview.org/download.html">Jalview</a></li>\r
- <li>Open the Jalview desktop's preferences panel (from the Tools->Preferences menu option), select the <span class="hightlight">Webservices</span> panel and press the <span class="hightlight">New Service URL</span> button.</li>\r
- <li>Enter the JABAWS URL for your new server. This is shown once the appliance is booted up.</li>\r
-</ol>\r
-</div>\r
-</div><!-- content end--> \r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div> <!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+</tr>
+</table>
+</div><!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newpressed" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+<div id="content">
+<h2 id="headtitle">Getting Started</h2>
+<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>
+<table id="choicematrix">
+<tr>
+ <th>I want to use JABAWS for...</th>
+ <th>Quick Guide</th>
+</tr>
+<tr>
+ <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>
+ <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>
+</tr>
+<tr>
+ <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>
+ <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>
+</tr>
+<tr>
+ <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>
+ <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>
+</tr>
+<tr>
+ <td>Accessing a JABAWS server from my own code</td>
+ <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>
+</tr>
+</table>
+
+<a name="qsc"/>
+<h3>Running JABAWS on your local machine</h3>
+<ul><li>Download <a href="http://www.compbio.dundee.ac.uk/download">JABAWS Virtual Appliance</a></li>
+</ul>
+<p>
+The Virtual Appliance (VA) package allows you to run a JABAWS server installed on TurnKey Linux as a
+virtual machine on your laptop or desktop computer. A <a href="man_servervm.html#whenvm">complete guide
+to the JABAWS VA</a> is given in the manual, but for the impatient, a brief instructions are given below:
+</p>
+<p>If you work on Windows, Linux or Unix </p>
+<ol>
+ <li>download and install <a href="http://www.vmware.com/products/player">VMWare Player</a>.</li>
+ <li>Unpack the JABAWS virtual appliance and open it with VMware Player.</li>
+ </ol>
+<p>If you work on Mac do the same using <a href="http://www.vmware.com/products/fusion/overview.html">VMware Fusion</a>, or for free alternative use a WAR JABAWS package. </p>
+<div id="testing_jabaws">
+<h3>Testing</h3>
+<p>To check that your JABAWS virtual appliance is working visit the Services Status page available from the main JABAWS menu. For this enter the JABAWS URL for your new server into a web browser. This is shown once the appliance is booted up. </p>
+<p>Alternatively you can use Jalview to complete the testing. </p>
+<ol><li>Launch the desktop version of <a href="http://www.jalview.org/download.html">Jalview</a></li>
+ <li>Open the Jalview desktop's preferences panel (from the Tools->Preferences menu option), select the <span class="hightlight">Webservices</span> panel and press the <span class="hightlight">New Service URL</span> button.</li>
+ <li>Enter the JABAWS URL for your new server. This is shown once the appliance is booted up.</li>
+</ol>
+</div>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div> <!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
-<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
-<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
-<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
-</tr>\r
-</table>\r
-</div><!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newpressed" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-\r
-<div id="content">\r
-<h2 id="headtitle">Getting Started</h2>\r
-<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>\r
-<table id="choicematrix">\r
-<tr>\r
- <th>I want to use JABAWS for...</th>\r
- <th>Quick Guide</th>\r
-</tr>\r
-<tr>\r
- <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>\r
- <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>\r
- <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>\r
- <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Accessing a JABAWS server from my own code</td>\r
- <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>\r
-</tr>\r
-</table>\r
-\r
-\r
-<a name="qsc"/>\r
-<h3>Installing A JABAWS Server Web Application Archive (WAR) package</h3>\r
-<p>\r
- This is for anyone who wants to run JABAWS for their group, lab or organization, or wants to enable \r
- their local JABA server to use the cluster or perform very large tasks.\r
-</p>\r
-\r
-<ol>\r
- <li>Download the <a href="http://www.compbio.dundee.ac.uk/download">JABAWS WAR file</a></li>\r
- <li>Download and install <a href="http://tomcat.apache.org/download-70.cgi">Apache-Tomcat</a>.<br/>\r
- <span class="hightlight">You will need at least Tomcat version 5.5 of (we would recommend version 7.0) and at least Java 1.6 (i.e. JAVA 6).</span>\r
- </li>\r
- <li>Drop the JABAWS WAR file into <span class="hightlight">tomcat/webapps</span> directory.</li>\r
- <li>(Re)start the Tomcat.</li>\r
- <li>Once the tomcat has started, it should automatically unpack the WAR into the webapps directory (if it doesn't, then you'll need to do this manually, it's just a zip archive in the end).</li>\r
- <li> If you are on Mac or other unix-like architecture with GNU compilers available or you'd like to get a maximum performance <br/>\r
- <span class="hightlight">cd</span> to <span class="hightlight">webapps/jabaws/binaries/src/</span> \r
- and execute <span class="hightlight">./compilebin.sh</span> script to compile all binaries JABAWS depends on.\r
- </li>\r
-</ol> \r
-\r
-<h3>Testing</h3>\r
-<p>You can test that your JABAWS server is working in several ways.</p>\r
-<ol>\r
-<li>Visit Services Status page available from the JABAWS main page using your web browser.</li>\r
-\r
-<li>If you are working on the command line, then use the command line client shipped with the JABAWS war to test it by running:\r
- <span class="code">java -jar <Path to tomcat WebApp directory>/jabaws/WEB-INF/lib/jaba-client.jar -h=http://localhost:8080/jabaws</span>\r
- In this example we assumed that your JABAWS server URL is <span class="hightlight">http://localhost:8080</span> and JABAWS context path is <span class="hightlight">jabaws</span>\r
-</li>\r
-<li>Alternately, you can point Jalview at your new server:\r
-<ul>\r
- <li>Launch the desktop version of <a href="http://www.jalview.org/download.html">Jalview</a></li>\r
- <li>Open the Jalview desktop's preferences panel (from the Tools->Preferences menu option), select the <span class="hightlight">Webservices</span> panel and press the <span class="hightlight">New Service URL</span> button.</li>\r
- <li>Enter the URL for the tomcat server, including the context path for the JABAWS web app (e.g. http://localhost:8080/jabaws).</li>\r
-</ul>\r
-</li></ol>\r
-\r
-<!-- TODO put JABAWS CMD test instructions here -->\r
-</div> <!-- content end-->\r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end -->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</div> <!-- page end -->\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+</tr>
+</table>
+</div><!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newpressed" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+
+<div id="content">
+<h2 id="headtitle">Getting Started</h2>
+<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>
+<table id="choicematrix">
+<tr>
+ <th>I want to use JABAWS for...</th>
+ <th>Quick Guide</th>
+</tr>
+<tr>
+ <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>
+ <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>
+</tr>
+<tr>
+ <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>
+ <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud </a></td>
+</tr>
+<tr>
+ <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>
+ <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>
+</tr>
+<tr>
+ <td>Accessing a JABAWS server from my own code</td>
+ <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>
+</tr>
+</table>
+
+
+<a name="qsc"/>
+<h3>Installing A JABAWS Server Web Application Archive (WAR) package</h3>
+<p>
+ This is for anyone who wants to run JABAWS for their group, lab or organization, or wants to enable
+ their local JABA server to use the cluster or perform very large tasks.
+</p>
+
+<ol>
+ <li>Download the <a href="http://www.compbio.dundee.ac.uk/download">JABAWS WAR file</a></li>
+ <li>Download and install <a href="http://tomcat.apache.org/download-70.cgi">Apache-Tomcat</a>.<br/>
+ <span class="hightlight">You will need at least Tomcat version 5.5 of (we would recommend version 7.0) and at least Java 1.6 (i.e. JAVA 6).</span>
+ </li>
+ <li>Drop the JABAWS WAR file into <span class="hightlight">tomcat/webapps</span> directory.</li>
+ <li>(Re)start the Tomcat.</li>
+ <li>Once the tomcat has started, it should automatically unpack the WAR into the webapps directory (if it doesn't, then you'll need to do this manually, it's just a zip archive in the end).</li>
+ <li> If you are on Mac or other unix-like architecture with GNU compilers available or you'd like to get a maximum performance <br/>
+ <span class="hightlight">cd</span> to <span class="hightlight">webapps/jabaws/binaries/src/</span>
+ and execute <span class="hightlight">./compilebin.sh</span> script to compile all binaries JABAWS depends on.
+ </li>
+</ol>
+
+<h3>Testing</h3>
+<p>You can test that your JABAWS server is working in several ways.</p>
+<ol>
+<li>Visit Services Status page available from the JABAWS main page using your web browser.</li>
+
+<li>If you are working on the command line, then use the command line client shipped with the JABAWS war to test it by running:
+ <span class="code">java -jar <Path to tomcat WebApp directory>/jabaws/WEB-INF/lib/jaba-client.jar -h=http://localhost:8080/jabaws</span>
+ In this example we assumed that your JABAWS server URL is <span class="hightlight">http://localhost:8080</span> and JABAWS context path is <span class="hightlight">jabaws</span>
+</li>
+<li>Alternately, you can point Jalview at your new server:
+<ul>
+ <li>Launch the desktop version of <a href="http://www.jalview.org/download.html">Jalview</a></li>
+ <li>Open the Jalview desktop's preferences panel (from the Tools->Preferences menu option), select the <span class="hightlight">Webservices</span> panel and press the <span class="hightlight">New Service URL</span> button.</li>
+ <li>Enter the URL for the tomcat server, including the context path for the JABAWS web app (e.g. http://localhost:8080/jabaws).</li>
+</ul>
+</li></ol>
+
+<!-- TODO put JABAWS CMD test instructions here -->
+</div> <!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end -->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</div> <!-- page end -->
+</body>
+</html>
-\r
-#banner { background:none !important; color:#000000 !important; text-align:center; }\r
-\r
-#panel { display:none !important }\r
-\r
-#content { margin:0.5em; border-bottom:solid 1px #6994af; }\r
-\r
-#page { margin: 0.5em; }\r
-\r
-#wrapper { background:none; }\r
-\r
-ul {\r
- list-style-type: circle;\r
-}\r
-\r
-\r
-#panel a:link, a:visited {\r
- text-decoration: none;\r
- display:block;\r
- line-height: 1em;\r
- padding:10px;\r
- color:#000000; \r
- text-decoration:none;\r
- }\r
-\r
-#panel a:hover {\r
- background-color: transparent;\r
- text-decoration: underline;\r
- }\r
-\r
-\r
-strong {\r
- font-weight:bold;\r
- color:#003366;\r
-}\r
-\r
-pre {\r
- font-family:Arial, Helvetica, sans-serif;\r
-}\r
-\r
-p { \r
- line-height: 1.4em;\r
-}\r
- \r
-.hightlight { \r
- font-style:italic;\r
- font-family:"Courier New", Courier, monospace;\r
-}\r
-\r
-.code { \r
- font-size-adjust:0.4;\r
- color:black;\r
- background-color:#F5F5F5;\r
- font-family:"Courier New",Courier,monospace;\r
- font-style:normal;\r
- margin:1em 0;\r
- padding: 0.5em;\r
- border: 1px dashed black;\r
-}\r
-\r
-\r
-.box { \r
- font-size-adjust:0.5;\r
- color:black;\r
- background-color:#F5F5F5;\r
- font-family:Arial, Helvetica, sans-serif;\r
- font-style:normal;\r
- margin:1em 0;\r
- padding: 0.5em;\r
- border: 1px solid black;\r
- display:block;\r
-}\r
-\r
-.u { text-decoration: underline; }\r
-.headeru { text-shadow: black 0.05em 0.05em 0.01em ;} \r
-\r
-/* Table styles */\r
-table {\r
- border-collapse: collapse; \r
- border: 1px solid #666;\r
- margin: 20px 0 20px 0;\r
- width: 100%;\r
-}\r
-th, td {\r
- margin: 2px 4px 2px 4px;\r
- padding: 0 5px;\r
- text-align: left;\r
- vertical-align: top;\r
- border: 1px solid #666;\r
-}\r
-\r
-table caption {\r
- font: 1.5em Georgia, "Times New Roman", Times, serif; \r
- padding: 1em;\r
- background-color: #9c9;\r
-}\r
-\r
-.mainheader {\r
- font: 1.5em Georgia, "Times New Roman", Times, serif; \r
- background-color: #9c9;\r
- text-align:center;\r
- line-height:1em;\r
-}\r
-\r
-tr {\r
- background-color: #eee; \r
-}\r
-\r
-tr:nth-child(odd) {\r
- background-color: #ccc; \r
-}\r
-\r
-\r
-span.directory {\r
-background: transparent url(images/dir.gif) no-repeat scroll left center;\r
-color:#666666;\r
-font-family:"Courier New",Courier,monospace;\r
-font-style:normal;\r
-padding:0 0 0 15px;\r
-}\r
-\r
-.attention { \r
-color:#993333;\r
-}\r
-\r
-.source { \r
- border:1px solid #858789;\r
- display:block;\r
- margin:26px 0;\r
- overflow:visible;\r
-}\r
-\r
-/* OPEN state styles */\r
-.source .body {\r
- background:#F5F5F5 none repeat scroll right 0;\r
- color:#434546;\r
- padding:7px 15px;\r
-/* white-space:pre-wrap; */\r
- word-wrap:break-word;\r
-}\r
-\r
-.source .header {\r
- background:#E9EAEC url(images/minus.png) no-repeat scroll 98% center;\r
- color:#3B3D3F;\r
- cursor:pointer;\r
- font-weight:bold;\r
- height:30px;\r
- line-height:30px;\r
- padding:0 0 0 15px;\r
-}\r
-\r
-/* CLOSED state styles */\r
-.source .body.collapsed {\r
- display:block !important;\r
-}\r
-\r
-.source .header.collapsed {\r
- background:#E9EAEC url(images/plus.png) no-repeat scroll 98% center;\r
- padding:0 15px 0 15px;\r
-}\r
-\r
-#copyright { text-align:right; \r
- color:#999999; \r
- font-family:Verdana, Arial, Helvetica, sans-serif;\r
- font-size:smaller;\r
- line-height:1em;\r
- }\r
-\r
-.body .code { \r
- margin:0;\r
- padding:0;\r
- border:0;\r
- font-family:"Courier New",Courier,monospace;\r
- font-style:normal;\r
-}\r
-\r
-.i { \r
-font-style:italic;\r
-}\r
-\r
-body {\r
- font-family:Arial, Helvetica, sans-serif;\r
- font-size: 9pt;\r
- background-color: white;\r
- line-height: 2em;\r
-}\r
-\r
-h3 {border-bottom: 1px solid grey; margin-top: 2em; }\r
-\r
-#headtitle { margin:0; text-align:center; color:#003b62; font-weight:600;} \r
-\r
-h2 {margin:1.8em 0 0 0; color:#003b62; font-weight:600;}\r
+
+#banner { background:none !important; color:#000000 !important; text-align:center; }
+
+#panel { display:none !important }
+
+#content { margin:0.5em; border-bottom:solid 1px #6994af; }
+
+#page { margin: 0.5em; }
+
+#wrapper { background:none; }
+
+ul {
+ list-style-type: circle;
+}
+
+
+#panel a:link, a:visited {
+ text-decoration: none;
+ display:block;
+ line-height: 1em;
+ padding:10px;
+ color:#000000;
+ text-decoration:none;
+ }
+
+#panel a:hover {
+ background-color: transparent;
+ text-decoration: underline;
+ }
+
+
+strong {
+ font-weight:bold;
+ color:#003366;
+}
+
+pre {
+ font-family:Arial, Helvetica, sans-serif;
+}
+
+p {
+ line-height: 1.4em;
+}
+
+.hightlight {
+ font-style:italic;
+ font-family:"Courier New", Courier, monospace;
+}
+
+.code {
+ font-size-adjust:0.4;
+ color:black;
+ background-color:#F5F5F5;
+ font-family:"Courier New",Courier,monospace;
+ font-style:normal;
+ margin:1em 0;
+ padding: 0.5em;
+ border: 1px dashed black;
+}
+
+
+.box {
+ font-size-adjust:0.5;
+ color:black;
+ background-color:#F5F5F5;
+ font-family:Arial, Helvetica, sans-serif;
+ font-style:normal;
+ margin:1em 0;
+ padding: 0.5em;
+ border: 1px solid black;
+ display:block;
+}
+
+.u { text-decoration: underline; }
+.headeru { text-shadow: black 0.05em 0.05em 0.01em ;}
+
+/* Table styles */
+table {
+ border-collapse: collapse;
+ border: 1px solid #666;
+ margin: 20px 0 20px 0;
+ width: 100%;
+}
+th, td {
+ margin: 2px 4px 2px 4px;
+ padding: 0 5px;
+ text-align: left;
+ vertical-align: top;
+ border: 1px solid #666;
+}
+
+table caption {
+ font: 1.5em Georgia, "Times New Roman", Times, serif;
+ padding: 1em;
+ background-color: #9c9;
+}
+
+.mainheader {
+ font: 1.5em Georgia, "Times New Roman", Times, serif;
+ background-color: #9c9;
+ text-align:center;
+ line-height:1em;
+}
+
+tr {
+ background-color: #eee;
+}
+
+tr:nth-child(odd) {
+ background-color: #ccc;
+}
+
+
+span.directory {
+background: transparent url(images/dir.gif) no-repeat scroll left center;
+color:#666666;
+font-family:"Courier New",Courier,monospace;
+font-style:normal;
+padding:0 0 0 15px;
+}
+
+.attention {
+color:#993333;
+}
+
+.source {
+ border:1px solid #858789;
+ display:block;
+ margin:26px 0;
+ overflow:visible;
+}
+
+/* OPEN state styles */
+.source .body {
+ background:#F5F5F5 none repeat scroll right 0;
+ color:#434546;
+ padding:7px 15px;
+/* white-space:pre-wrap; */
+ word-wrap:break-word;
+}
+
+.source .header {
+ background:#E9EAEC url(images/minus.png) no-repeat scroll 98% center;
+ color:#3B3D3F;
+ cursor:pointer;
+ font-weight:bold;
+ height:30px;
+ line-height:30px;
+ padding:0 0 0 15px;
+}
+
+/* CLOSED state styles */
+.source .body.collapsed {
+ display:block !important;
+}
+
+.source .header.collapsed {
+ background:#E9EAEC url(images/plus.png) no-repeat scroll 98% center;
+ padding:0 15px 0 15px;
+}
+
+#copyright { text-align:right;
+ color:#999999;
+ font-family:Verdana, Arial, Helvetica, sans-serif;
+ font-size:smaller;
+ line-height:1em;
+ }
+
+.body .code {
+ margin:0;
+ padding:0;
+ border:0;
+ font-family:"Courier New",Courier,monospace;
+ font-style:normal;
+}
+
+.i {
+font-style:italic;
+}
+
+body {
+ font-family:Arial, Helvetica, sans-serif;
+ font-size: 9pt;
+ background-color: white;
+ line-height: 2em;
+}
+
+h3 {border-bottom: 1px solid grey; margin-top: 2em; }
+
+#headtitle { margin:0; text-align:center; color:#003b62; font-weight:600;}
+
+h2 {margin:1.8em 0 0 0; color:#003b62; font-weight:600;}
-<?xml version="1.0" encoding="UTF-8"?>\r
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
-<html xmlns="http://www.w3.org/1999/xhtml">\r
-\r
-<head>\r
-<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>\r
-<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>\r
-<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />\r
-<link href="print.css" rel="stylesheet" type="text/css" media="print" />\r
-<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />\r
-<script type="text/javascript" src="prototype-1.6.0.3.js"></script>\r
-</head>\r
-\r
-<body>\r
-<div id="page">\r
-\r
-<div id="banner">\r
-<table>\r
-<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>\r
-<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>\r
-<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>\r
-</tr>\r
-</table>\r
-</div><!-- banner end-->\r
-\r
-<div id="wrapper">\r
-<div id="panel">\r
- <a class="newa" href="index.html">Home</a> \r
- <a class="newpressed" href="quick_start.html">Getting Started</a> \r
- <a class="newa" href="man_about.html">Manual</a> \r
- <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a> \r
- <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>\r
- <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>\r
- <a class="newa" href="contacts.html">Contact Us</a>\r
- <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>\r
- <a class="newa" href="jabaws_funding.html">Funding</a>\r
-</div>\r
-<!-- panel end-->\r
-\r
-<div id="content">\r
-<h2 id="headtitle">Getting Started</h2>\r
-<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>\r
-<table id="choicematrix">\r
-<tr>\r
- <th>I want to use JABAWS for...</th>\r
- <th>Quick Guide</th>\r
-</tr>\r
-<tr>\r
- <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>\r
- <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>\r
- <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud</a></td>\r
-</tr>\r
-<tr>\r
- <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>\r
- <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>\r
-</tr>\r
-<tr>\r
- <td>Accessing a JABAWS server from my own code</td>\r
- <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>\r
-</tr>\r
-</table>\r
-</div><!-- content end--> \r
-<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>\r
-</div><!-- wrapper end-->\r
-</div> <!-- page end-->\r
-\r
-\r
-<!-- Google analitics -->\r
-<script type="text/javascript">\r
-var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");\r
-document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));\r
-</script>\r
-<script type="text/javascript">\r
-try{\r
-var pageTracker = _gat._getTracker("UA-5356328-1");\r
-pageTracker._trackPageview();\r
-} catch(err) {}\r
-</script>\r
-</body>\r
-</html>\r
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta name="Last-modified" content="Fri, 28 Jun 2013 12:00:00 GMT"/>
+<title>Java Bioinformatics Analyses Web Services (JABAWS) manual - getting started</title>
+<link href="ws.css" rel="stylesheet" type="text/css" media="screen, projection, handheld, tv" />
+<link href="print.css" rel="stylesheet" type="text/css" media="print" />
+<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:700' rel='stylesheet' type='text/css' />
+<script type="text/javascript" src="prototype-1.6.0.3.js"></script>
+</head>
+
+<body>
+<div id="page">
+
+<div id="banner">
+<table>
+<tr><td style="width:158px;"><a href="http://www.dundee.ac.uk"><img src="images/uod_lt_long.gif" alt="University of Dundee" width="158" height="90" class="logo" title="University of Dundee" longdesc="http://www.dundee.ac.uk"/></a></td>
+<td class="bg"><img src="images/jabaws21.png" width="256" height="67" alt="JABAWS-2.1" title="Java Bioinformatics Analysis Web Services version 2.1"/></td>
+<td class="bg"><img src="images/banner_right.png" alt="Disorder" width="200" height="80"/></td>
+</tr>
+</table>
+</div><!-- banner end-->
+
+<div id="wrapper">
+<div id="panel">
+ <a class="newa" href="index.html">Home</a>
+ <a class="newpressed" href="quick_start.html">Getting Started</a>
+ <a class="newa" href="man_about.html">Manual</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk/download">Download</a>
+ <a class="newa" href="PublicAnnualStat" title="JABAWS server usage statistics">Usage Statistics</a>
+ <a class="newa" href="ServiceStatus" title="JABAWS webservices status. Click to test all web services. Please be patient while the services are being checked">Services Status</a>
+ <a class="newa" href="contacts.html">Contact Us</a>
+ <a class="newa" href="http://www.compbio.dundee.ac.uk" title="University of Dundee, The Barton Group" >Barton Group</a>
+ <a class="newa" href="jabaws_funding.html">Funding</a>
+</div>
+<!-- panel end-->
+
+<div id="content">
+<h2 id="headtitle">Getting Started</h2>
+<h3><a name="whichjaba" id="whichjaba"></a>Choose a JABAWS distribution</h3>
+<table id="choicematrix">
+<tr>
+ <th>I want to use JABAWS for...</th>
+ <th>Quick Guide</th>
+</tr>
+<tr>
+ <td>Running Muptiple Sequence Alignments through Jalview on my <strong>own</strong> computer</td>
+ <td><a href="manual_qs_va.html#qsc">JABAWS Virtual Appliance (VA)</a></td>
+</tr>
+<tr>
+ <td>Running JABAWS on the <strong>cloud</strong>, for one or many users</td>
+ <td><a href="manual_qs_amazon.html#qsc">JABAWS on the Amazon cloud</a></td>
+</tr>
+<tr>
+ <td>Running JABAWS for my group, lab, or organization on the <strong>local</strong> infrastructure </td>
+ <td><a href="manual_qs_war.html#qsc">JABAWS Web Application aRchive (WAR)</a></td>
+</tr>
+<tr>
+ <td>Accessing a JABAWS server from my own code</td>
+ <td><a href="manual_qs_client.html#qsc">JABAWS Java Client</a></td>
+</tr>
+</table>
+</div><!-- content end-->
+<div id="copyright">Last update: 30 April 2014<br/>Sasha Sherstnev, Peter Troshin, Jim Procter and Geoff Barton, The Barton Group, University of Dundee, UK</div>
+</div><!-- wrapper end-->
+</div> <!-- page end-->
+
+
+<!-- Google analitics -->
+<script type="text/javascript">
+var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+</script>
+<script type="text/javascript">
+try{
+var pageTracker = _gat._getTracker("UA-5356328-1");
+pageTracker._trackPageview();
+} catch(err) {}
+</script>
+</body>
+</html>
-ul, ol {\r
- margin-left:4em;\r
- padding-left:0px;\r
-}\r
-\r
-li {\r
- margin-bottom:0em;\r
-}\r
-\r
-\r
-#banner {\r
- background-color:white;\r
-}\r
-\r
-#mainpagefeatures {\r
- margin: 0 2em 0 2em;\r
-}\r
-\r
-#wrapper #mainpagefeatures table, #wrapper #mainpagefeatures th, #wrapper #mainpagefeatures td, #wrapper #mainpagefeatures tr{\r
- border:none;\r
- border-collapse:collapse;\r
- background-color: #fff;\r
- padding-bottom:2em;\r
-}\r
-\r
-#jabaws_on_cloud img {\r
- border:1px solid #6994AF;\r
- clear:both;\r
- margin: 2em 0;\r
-}\r
-\r
-#wrapper #choicematrix table, #wrapper #choicematrix th, #wrapper #choicematrix td, #wrapper #choicematrix tr{\r
- border:1px solid grey;\r
- background-color: #fff;\r
- padding:1em;\r
-}\r
-\r
-#wrapper #choicematrix th {\r
- background-image:url(images/brickhead2.jpg);\r
- background-repeat:repeat-x;\r
-}\r
-\r
-.brick {\r
- padding-bottom:1em;\r
- border: 2px solid #999;\r
- -webkit-border-radius:10px;\r
- -moz-border-radius:10px;\r
- border-radius: 20px;\r
- background-image:url(images/brickhead2_line.jpg);\r
- background-repeat:repeat-x;\r
-}\r
-\r
-.brick_header {\r
- display:block;\r
- background:none;\r
-}\r
-\r
-.brick_header h2 {\r
- font-weight: bold;\r
- border:none;\r
- background:none;\r
- margin: 0.7em 0 0 0.5em;\r
-}\r
-\r
-.brick_content {\r
- position:relative;\r
- padding: 2em 1.5em 0em 1.5em;\r
-}\r
-\r
-#content {\r
- margin-left:170px;\r
- border-bottom:solid 1px #6994af;\r
- margin-right:0.9em;\r
-}\r
-\r
-#page {\r
- margin: 0;\r
- background-color:#fff;\r
-}\r
-\r
-#copyright {\r
- text-align:right;\r
- color:#999999;\r
- font-family:Verdana, Arial, Helvetica, sans-serif;\r
- font-size:smaller;\r
- line-height:1em;\r
- padding:0.3em 0.9em 1em 0;\r
-}\r
-\r
-#wrapper {\r
- background:url("images/panel_bg_long.png") repeat-y left top;\r
- margin:0;\r
- padding:0;\r
-}\r
-\r
-ul {\r
- list-style-type: circle;\r
-}\r
-\r
-\r
-\r
-strong {\r
- font-weight:bold;\r
- color:#003366;\r
-}\r
-\r
-pre {\r
- font-family:Arial, Helvetica, sans-serif;\r
-}\r
-\r
-p {\r
- line-height: 1.4em;\r
-}\r
-\r
-.i {\r
- font-style:italic;\r
-}\r
-\r
-.hightlight {\r
- font-style:italic;\r
- font-family:"Courier New", Courier, monospace;\r
-}\r
-\r
-.code {\r
- color:black;\r
- background-color:#F5F5F5;\r
- font-family:"Courier New",Courier,monospace;\r
- font-style:normal;\r
- margin:1em 0;\r
- padding: 0.5em;\r
- border: 1px dashed black;\r
- display:block;\r
-}\r
-\r
-.box {\r
- color:black;\r
- background-color:#F5F5F5;\r
- font-family:Arial, Helvetica, sans-serif;\r
- font-style:normal;\r
- margin:1em 0;\r
- padding: 0.5em;\r
- border: 1px solid black;\r
- display:block;\r
-}\r
-\r
-.mid {\r
- vertical-align:middle;\r
- height:80px;\r
- border:none;\r
-}\r
-\r
-.u {\r
- text-decoration: underline;\r
-}\r
-\r
-.headeru {\r
- text-shadow:0 1px 3px black;\r
- border-bottom: 1px solid white;\r
-}\r
-\r
-#banner h1 {\r
- font-family:Helvetica, Arial, sans-serif;\r
- white-space:nowrap;\r
- color: white;\r
- font-weight:bold;\r
- text-shadow:0 1px 3px #100F0E;\r
- font-size: 27px;\r
-}\r
-\r
-h3 {\r
- border-bottom: 1px solid grey;\r
- margin-top: 2em;\r
-}\r
-\r
-#headtitle {\r
- margin:0;\r
- padding-top:1em;\r
- text-align:center;\r
- color:#003b62;\r
- font-weight:600;\r
-}\r
-\r
-h2 {\r
- margin:1.8em 0 0 0;\r
- color:#003b62;\r
- font-weight:600;\r
-}\r
-\r
-/* Table styles */\r
-#wrapper table {\r
- border-collapse: collapse;\r
- border: 1px solid #666;\r
- margin: 20px 0 20px 0;\r
- width: 100%;\r
-}\r
-\r
-#wrapper th, #wrapper td {\r
- margin: 2px 4px 2px 4px;\r
- padding: 0 5px;\r
- text-align: left;\r
- border: 1px solid #666;\r
-}\r
-\r
-#wrapper table caption {\r
- font: 1.5em Georgia, "Times New Roman", Times, serif;\r
- padding: 1em;\r
- background-color: #9c9;\r
-}\r
-\r
-#wrapper tr {\r
- background-color: #eee;\r
-}\r
-\r
-#wrapper tr:nth-child(odd) {\r
- background-color: #ccc;\r
-}\r
-\r
-span.directory {\r
- background: transparent url(images/dir.gif) no-repeat scroll left center;\r
- color:#666666;\r
- font-family:"Courier New",Courier,monospace;\r
- font-style:normal;\r
- padding:0 0 0 15px;\r
-}\r
-\r
-.attention {\r
- color:#993333;\r
-}\r
-\r
-/* open/closed box related styles */\r
-\r
-.source {\r
- border:1px solid #858789;\r
- display:block;\r
- margin:26px 0;\r
- overflow:visible;\r
-}\r
-\r
-/* OPEN state styles */\r
-.source .body {\r
- background:#F5F5F5 none repeat scroll right 0;\r
- color:#434546;\r
- padding:7px 15px;\r
- white-space:normal;\r
-}\r
-\r
-.source .header {\r
- background:#E9EAEC url(images/minus.png) no-repeat scroll 98% center;\r
- color:#3B3D3F;\r
- cursor:pointer;\r
- font-weight:bold;\r
- height:30px;\r
- line-height:30px;\r
- padding:0 15px 0 15px;\r
-}\r
-\r
-/* CLOSED state styles */\r
-.source .body.collapsed {\r
- display:none;\r
-}\r
-\r
-.source .header.collapsed {\r
- background:#E9EAEC url(images/plus.png) no-repeat scroll 98% center;\r
- padding:0 15px 0 15px;\r
-}\r
-\r
-.body .code {\r
- margin:0;\r
- padding:0;\r
- border:0;\r
- font-family:"Courier New",Courier,monospace;\r
- font-style:normal;\r
-}\r
-\r
-body {\r
- font-family:Arial, Helvetica, sans-serif;\r
- font: 12px/170% Verdana;\r
- background-image:url(images/matrix_bg6.jpg);\r
- background-repeat:repeat;\r
- line-height: 2em;\r
- min-width: 760px;\r
- max-width: 1100px;\r
- margin:0 auto;\r
-}\r
-\r
-#banner table {\r
- border-collapse: collapse;\r
- border: none;\r
- padding:0;\r
- margin:0;\r
- line-height:0.5em;\r
- color:white;\r
- text-align:center;\r
- vertical-align:middle;\r
- width: 100%;\r
-}\r
-\r
-#banner td.bg {\r
- border-collapse: collapse;\r
- background-image:url("images/banner_bg.gif");\r
- background-repeat: repeat-x;\r
- background-color:transparent;\r
- background-position:inherit;\r
-}\r
-\r
-img.logo {\r
- border:none;\r
- margin:0;\r
- padding:0;\r
- display:inline\r
- float:left;\r
-}\r
-\r
-/***************************************************************************************/\r
-/************************************ panel styles *************************************/\r
-#panel {\r
- width:160px;\r
-/* margin-left: -150px;*/\r
- background:url("images/panel_bg_long.png") repeat-y ;\r
- float:left;\r
- font-family:Verdana, Arial, Helvetica, sans-serif;\r
- padding-top:1em;\r
-}\r
-\r
-#panel a:link, #panel a:visited {\r
- line-height: 1em;\r
- font-size: 12pt;\r
- margin: 15px auto;\r
- width: 95px;\r
- text-align: center;\r
-}\r
-\r
-#panel #supermenu a {\r
- margin-left: 10px;\r
-}\r
-\r
-#panel #submenu a {\r
- margin-left: 30px;\r
-}\r
-\r
-#panel #supersubmenu a {\r
- margin-left: 25px;\r
-}\r
-\r
-#panel #subsubmenu a {\r
- margin-left: 40px;\r
-}\r
-\r
-#panel a.newa {\r
- color: #888888;\r
- text-decoration: none;\r
- background-color: rgba(219,87,5,1);\r
- background-image:url("images/banner_bg.gif");\r
- font-family: 'Yanone Kaffeesatz';\r
- font-weight: 400;\r
- display: block;\r
- padding: 4px;\r
- -webkit-border-radius: 6px;\r
- -moz-border-radius: 6px;\r
- border-radius: 6px;\r
- -webkit-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);\r
- -moz-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);\r
- box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);\r
-}\r
-\r
-#panel a.newpressed {\r
- color: #FFFFFF;\r
- text-decoration: none;\r
- background-image:url("images/banner_bg.gif");\r
- background-color: #F5F5F5;\r
- font-family: 'Yanone Kaffeesatz';\r
- font-weight: 700;\r
- display: block;\r
- padding: 4px;\r
- -webkit-border-radius: 8px;\r
- -moz-border-radius: 8px;\r
- border-radius: 8px;\r
- -webkit-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);\r
- -moz-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);\r
- box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);\r
-}\r
-\r
-#panel a:active {\r
- -webkit-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);\r
- -moz-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);\r
- box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);\r
- position: relative;\r
- top: 6px;\r
-}\r
+ul, ol {
+ margin-left:4em;
+ padding-left:0px;
+}
+
+li {
+ margin-bottom:0em;
+}
+
+
+#banner {
+ background-color:white;
+}
+
+#mainpagefeatures {
+ margin: 0 2em 0 2em;
+}
+
+#wrapper #mainpagefeatures table, #wrapper #mainpagefeatures th, #wrapper #mainpagefeatures td, #wrapper #mainpagefeatures tr{
+ border:none;
+ border-collapse:collapse;
+ background-color: #fff;
+ padding-bottom:2em;
+}
+
+#jabaws_on_cloud img {
+ border:1px solid #6994AF;
+ clear:both;
+ margin: 2em 0;
+}
+
+#wrapper #choicematrix table, #wrapper #choicematrix th, #wrapper #choicematrix td, #wrapper #choicematrix tr{
+ border:1px solid grey;
+ background-color: #fff;
+ padding:1em;
+}
+
+#wrapper #choicematrix th {
+ background-image:url(images/brickhead2.jpg);
+ background-repeat:repeat-x;
+}
+
+.brick {
+ padding-bottom:1em;
+ border: 2px solid #999;
+ -webkit-border-radius:10px;
+ -moz-border-radius:10px;
+ border-radius: 20px;
+ background-image:url(images/brickhead2_line.jpg);
+ background-repeat:repeat-x;
+}
+
+.brick_header {
+ display:block;
+ background:none;
+}
+
+.brick_header h2 {
+ font-weight: bold;
+ border:none;
+ background:none;
+ margin: 0.7em 0 0 0.5em;
+}
+
+.brick_content {
+ position:relative;
+ padding: 2em 1.5em 0em 1.5em;
+}
+
+#content {
+ margin-left:170px;
+ border-bottom:solid 1px #6994af;
+ margin-right:0.9em;
+}
+
+#page {
+ margin: 0;
+ background-color:#fff;
+}
+
+#copyright {
+ text-align:right;
+ color:#999999;
+ font-family:Verdana, Arial, Helvetica, sans-serif;
+ font-size:smaller;
+ line-height:1em;
+ padding:0.3em 0.9em 1em 0;
+}
+
+#wrapper {
+ background:url("images/panel_bg_long.png") repeat-y left top;
+ margin:0;
+ padding:0;
+}
+
+ul {
+ list-style-type: circle;
+}
+
+
+
+strong {
+ font-weight:bold;
+ color:#003366;
+}
+
+pre {
+ font-family:Arial, Helvetica, sans-serif;
+}
+
+p {
+ line-height: 1.4em;
+}
+
+.i {
+ font-style:italic;
+}
+
+.hightlight {
+ font-style:italic;
+ font-family:"Courier New", Courier, monospace;
+}
+
+.code {
+ color:black;
+ background-color:#F5F5F5;
+ font-family:"Courier New",Courier,monospace;
+ font-style:normal;
+ margin:1em 0;
+ padding: 0.5em;
+ border: 1px dashed black;
+ display:block;
+}
+
+.box {
+ color:black;
+ background-color:#F5F5F5;
+ font-family:Arial, Helvetica, sans-serif;
+ font-style:normal;
+ margin:1em 0;
+ padding: 0.5em;
+ border: 1px solid black;
+ display:block;
+}
+
+.mid {
+ vertical-align:middle;
+ height:80px;
+ border:none;
+}
+
+.u {
+ text-decoration: underline;
+}
+
+.headeru {
+ text-shadow:0 1px 3px black;
+ border-bottom: 1px solid white;
+}
+
+#banner h1 {
+ font-family:Helvetica, Arial, sans-serif;
+ white-space:nowrap;
+ color: white;
+ font-weight:bold;
+ text-shadow:0 1px 3px #100F0E;
+ font-size: 27px;
+}
+
+h3 {
+ border-bottom: 1px solid grey;
+ margin-top: 2em;
+}
+
+#headtitle {
+ margin:0;
+ padding-top:1em;
+ text-align:center;
+ color:#003b62;
+ font-weight:600;
+}
+
+h2 {
+ margin:1.8em 0 0 0;
+ color:#003b62;
+ font-weight:600;
+}
+
+/* Table styles */
+#wrapper table {
+ border-collapse: collapse;
+ border: 1px solid #666;
+ margin: 20px 0 20px 0;
+ width: 100%;
+}
+
+#wrapper th, #wrapper td {
+ margin: 2px 4px 2px 4px;
+ padding: 0 5px;
+ text-align: left;
+ border: 1px solid #666;
+}
+
+#wrapper table caption {
+ font: 1.5em Georgia, "Times New Roman", Times, serif;
+ padding: 1em;
+ background-color: #9c9;
+}
+
+#wrapper tr {
+ background-color: #eee;
+}
+
+#wrapper tr:nth-child(odd) {
+ background-color: #ccc;
+}
+
+span.directory {
+ background: transparent url(images/dir.gif) no-repeat scroll left center;
+ color:#666666;
+ font-family:"Courier New",Courier,monospace;
+ font-style:normal;
+ padding:0 0 0 15px;
+}
+
+.attention {
+ color:#993333;
+}
+
+/* open/closed box related styles */
+
+.source {
+ border:1px solid #858789;
+ display:block;
+ margin:26px 0;
+ overflow:visible;
+}
+
+/* OPEN state styles */
+.source .body {
+ background:#F5F5F5 none repeat scroll right 0;
+ color:#434546;
+ padding:7px 15px;
+ white-space:normal;
+}
+
+.source .header {
+ background:#E9EAEC url(images/minus.png) no-repeat scroll 98% center;
+ color:#3B3D3F;
+ cursor:pointer;
+ font-weight:bold;
+ height:30px;
+ line-height:30px;
+ padding:0 15px 0 15px;
+}
+
+/* CLOSED state styles */
+.source .body.collapsed {
+ display:none;
+}
+
+.source .header.collapsed {
+ background:#E9EAEC url(images/plus.png) no-repeat scroll 98% center;
+ padding:0 15px 0 15px;
+}
+
+.body .code {
+ margin:0;
+ padding:0;
+ border:0;
+ font-family:"Courier New",Courier,monospace;
+ font-style:normal;
+}
+
+body {
+ font-family:Arial, Helvetica, sans-serif;
+ font: 12px/170% Verdana;
+ background-image:url(images/matrix_bg6.jpg);
+ background-repeat:repeat;
+ line-height: 2em;
+ min-width: 760px;
+ max-width: 1100px;
+ margin:0 auto;
+}
+
+#banner table {
+ border-collapse: collapse;
+ border: none;
+ padding:0;
+ margin:0;
+ line-height:0.5em;
+ color:white;
+ text-align:center;
+ vertical-align:middle;
+ width: 100%;
+}
+
+#banner td.bg {
+ border-collapse: collapse;
+ background-image:url("images/banner_bg.gif");
+ background-repeat: repeat-x;
+ background-color:transparent;
+ background-position:inherit;
+}
+
+img.logo {
+ border:none;
+ margin:0;
+ padding:0;
+ display:inline
+ float:left;
+}
+
+/***************************************************************************************/
+/************************************ panel styles *************************************/
+#panel {
+ width:160px;
+/* margin-left: -150px;*/
+ background:url("images/panel_bg_long.png") repeat-y ;
+ float:left;
+ font-family:Verdana, Arial, Helvetica, sans-serif;
+ padding-top:1em;
+}
+
+#panel a:link, #panel a:visited {
+ line-height: 1em;
+ font-size: 12pt;
+ margin: 15px auto;
+ width: 95px;
+ text-align: center;
+}
+
+#panel #supermenu a {
+ margin-left: 10px;
+}
+
+#panel #submenu a {
+ margin-left: 30px;
+}
+
+#panel #supersubmenu a {
+ margin-left: 25px;
+}
+
+#panel #subsubmenu a {
+ margin-left: 40px;
+}
+
+#panel a.newa {
+ color: #888888;
+ text-decoration: none;
+ background-color: rgba(219,87,5,1);
+ background-image:url("images/banner_bg.gif");
+ font-family: 'Yanone Kaffeesatz';
+ font-weight: 400;
+ display: block;
+ padding: 4px;
+ -webkit-border-radius: 6px;
+ -moz-border-radius: 6px;
+ border-radius: 6px;
+ -webkit-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);
+ -moz-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);
+ box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);
+}
+
+#panel a.newpressed {
+ color: #FFFFFF;
+ text-decoration: none;
+ background-image:url("images/banner_bg.gif");
+ background-color: #F5F5F5;
+ font-family: 'Yanone Kaffeesatz';
+ font-weight: 700;
+ display: block;
+ padding: 4px;
+ -webkit-border-radius: 8px;
+ -moz-border-radius: 8px;
+ border-radius: 8px;
+ -webkit-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);
+ -moz-box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);
+ box-shadow: 0px 9px 0px #888888, 0px 9px 25px rgba(0,0,0,.7);
+}
+
+#panel a:active {
+ -webkit-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
+ -moz-box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
+ box-shadow: 0px 3px 0px rgba(219,31,5,1), 0px 3px 6px rgba(0,0,0,.9);
+ position: relative;
+ top: 6px;
+}