From: Fábio Madeira
@@ -51,17 +51,46 @@
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 the list of currently supported programs) from Jalview.
+ (see the list of currently supported programs).
Future versions of JABAWS will incorporate other tools.
- 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 + 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 (VA). + 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 (WAR). + 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. + in writing your own client, the + JABAWS command line (CLI) client is what you need. +
++ Back to top +
+ + + + +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 the JABAWS 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. + Jalview, a multiple sequence alignment and analysis application, is a good + example of a graphical JABAWS client. This client uses the same functionality as the + JABAWS command line (CLI) client, but + instead allows JABAWS services to be accessed in a more user-friendly manner, through a graphical user interface.
Back to top @@ -78,7 +107,7 @@
JABAWS currently provides access to the following programs:
@@ -155,7 +184,7 @@The website was improved and several service programs were update:
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. - Jalview, 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. -
-- Back to top -
-The command line client comes as a part of - client package + client package 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 - JABAWS API. Using this client you could align sequences + JABAWS API. 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.
+java -jar jaba-client.jar
Usage: java -jar <path_to_jar_file> -h=host_and_context -s=serviceName ACTION [OPTIONS] -h=<host_and_context> - a full URL to the JABAWS web server including context path e.g. http://10.31.10.159:8080/ws @@ -51,7 +82,17 @@ Please note that if input file is specified other actions are ignored -o=<outputFile> - full path to the file where to write an alignment -f=<parameterInputFile> - the name of the file with the list of parameters to use.- +
Please note that -r and -f options cannot be used together. Alignment is done with either preset or aparameters from the file, but not both!
Align sequences from input.fasta file using Mafft web
service with default settings, print alignment in Clustal format to console.
@@ -106,7 +147,6 @@ MTADGPRELLQLRAAV
local.X.bin.windows=<path to executable under windows system, optional>
local.X.bin=<path to the executable under non-windows system, optional>
-cluster.X.bin=<path to the executable on the cluster, all cluster nodes must see it, optional><
+cluster.X.bin=<path to the executable on the cluster, all cluster nodes must see it, optional>
X.bin.env=<semicolon separated list of environment variables for executable, use hash symbol as name value separator, optional>
X.--aamatrix.path=<path to the directory containing substitution matrices, optional>
X.presets.file=<path to the preset configuration file, optional>
@@ -187,7 +187,7 @@ X.parameters.file=<path to the parameters configuration file, optional>
X.limits.file=<path to the limits configuration file, optional>
X.cluster.settings=<list of the cluster specific options, optional>
- Where X is either clustal, muscle, mafft, probcons or tcoffee.
+Where X any of the bioinformatics tools available (e.g. clustalw, muscle, mafft, probcons, t-coffee, etc.).
Default JABAWS configuration includes path to local executables @@ -268,7 +268,7 @@ mafft.cluster.settings=-q bigmem.q -l h_cpu=24:00:00 -l h_vmem=6000M -l ram=6000
Environment variables can be defined in property
x.bin.env
- Where
mafft.bin.env=MAFFT_BINARIES#/homes/cengine/mafft;FASTA_4_MAFFT#/bin/fasta34;
@@ -413,7 +413,7 @@ mafft.cluster.settings=-q bigmem.q -l h_cpu=24:00:00 -l h_vmem=6000M -l ram=6000
@@ -595,6 +595,10 @@ mafft.cluster.settings=-q bigmem.q -l h_cpu=24:00:00 -l h_vmem=6000M -l ram=6000
Back to top diff --git a/website/man_dev.jsp b/website/man_dev.jsp index 3605da6..217b850 100644 --- a/website/man_dev.jsp +++ b/website/man_dev.jsp @@ -14,7 +14,7 @@
- All JABA multiple sequence alignment web services comply to the same + All JABAWS multiple sequence alignment web services comply to the same interface, thus the function described below are available from all the services.
Functions for initiating the alignment @@ -71,8 +71,8 @@ Limit limit = getLimit(String name) LimitsManager lm = getLimits() PresetManager pm = getPresets()- Please refer to a data model - javadoc for a detailed description of each methods. + Please refer to a Data Model + JavaDoc for a detailed description of each methods.
Back to top @@ -115,7 +115,7 @@ PresetManager pm = getPresets() compbio-util-1.3.jar and compbio-annotation-1.0.jar.
- Please refer to a data model javadoc + Please refer to a Data Model JavaDoc for a detailed description of each class and its methods.
@@ -136,7 +136,7 @@ PresetManager pm = getPresets() 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 - download page. + download page. Please note that for now all the examples are in Java, other languages will follow if there is sufficient demand.
@@ -182,7 +182,7 @@ MsaWS msaws = serv.getPort(new QName(qualifiedServiceName, clustal + "Port& 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 javadoc. + the JavaDoc.@@ -200,30 +200,30 @@ MsaWS msaws = serv.getPort(new QName(qualifiedServiceName, clustal + "Port&
Multiple sequence alignment services
-Protein disorder prediction services
Amino acid conservation service
Protein and RNA Secondary Structure Prediction
+RNA Secondary Structure Prediction
Please replace
The names of all the parameters supported by a web service e.g. "PAM300" can be obtained
using
Back to top @@ -391,14 +391,8 @@ ClustalAlignmentUtil.writeClustalAlignment(outStream, align);
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 - PDF version 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 - JABAWS binary client. + one of the Clustal web service presets. All you need for this to work is a + JABAWS binary client. Please make sure that the client is in the Java class path before running this example.
@@ -533,7 +527,7 @@ public static void main(String[] args) throws UnsupportedRuntimeException,
}
For a more detailed description of all available types and their functions please - refer to the data model javadoc. + refer to the Data Model JavaDoc.
Back to top diff --git a/website/man_docs.jsp b/website/man_docs.jsp index afb3724..a571f5e 100644 --- a/website/man_docs.jsp +++ b/website/man_docs.jsp @@ -27,10 +27,10 @@ What is JABAWS?
This page is for anyone who wants to add a new webservice into the JABAWS framework.
-Data model javadoc- read this if your are coding +
Data Model JavaDoc - read this if your are coding against JABA Web Services
-Complete javadoc - for developers who want to +
Complete JavaDoc - for developers who want to use JABAWS framework and use Engines and Executables directly
@@ -68,7 +68,7 @@
Publicly available Git repository: +
Publicly available Git repository: http://source.jalview.org/gitweb/?p=jabaws.git;a=summary
Another publicly available JABAWS repository, containing the code for each @@ -208,17 +208,17 @@
Several testing groups are supported:
- To run the tests you need to download all sources from repository. + To run the tests you need to download all sources from repository. Once you have done that, enter into the command line mode, change directory to the project directory and type:
@@ -266,7 +266,7 @@diff --git a/website/man_servervm.jsp b/website/man_servervm.jsp index 347456d..bf5c439 100644 --- a/website/man_servervm.jsp +++ b/website/man_servervm.jsp @@ -48,7 +48,7 @@
The JABAWS Virtual Appliance is a - way to run JABAWS server locally without the need to connect to the internet or configure JABAWS. + way to run a 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 TurnKey Linux 12.1 (Tomcat edition). Once this has @@ -58,7 +58,7 @@ VMware Player, 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 + However, you are not limited to these virtualization systems and can use the JABAWS Appliance with any other virtualization platform. You can use VMware OVF tool to prepare JABAWS image for a different virtualization platform e.g. @@ -78,17 +78,23 @@
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 +
The appliance best suits users who would like to use the JABAWS 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. + the recommended option for users who want to install JABAWS on Windows, which does not support all the + bioinformatics programs that JABAWS can run.
- For servers that will be used heavily, we recommend that a JABAWS Server WAR distribution is deployed, rather than the Virtual Appliance version of JABAWS. + For servers that will be used heavily, we recommend that a + JABAWS Server WAR distribution 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. + (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. + but for most production environments, the JABAWS WAR distribution will be easier to deploy and fine + tune to take advantage of the available resources.
Back to top diff --git a/website/man_serverwar.jsp b/website/man_serverwar.jsp index 6a538a9..54d943a 100644 --- a/website/man_serverwar.jsp +++ b/website/man_serverwar.jsp @@ -26,7 +26,7 @@
For any other web application server, please follow your server's specific deployment procedure @@ -130,7 +130,7 @@
@@ -171,9 +171,11 @@
You can try the JABAWS functionality with the JABAWS test client or have a look at deploying on Tomcat tips if you experience any problems.
-
+ Note: You may want to enable logging,
+ as described here.
Back to top
@@ -263,7 +265,7 @@
symbolic links to them.
Then the default configuration will work for you. More information
about the
Back to top @@ -452,10 +454,10 @@ Service ProbconsWS IS NOT FUNCTIONAL
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
+ the one we prefer is to drop a context descriptor file into
<?xml version="1.0" encoding="UTF-8"?>
diff --git a/website/man_stats.jsp b/website/man_stats.jsp
index 76a53c8..2ecab15 100644
--- a/website/man_stats.jsp
+++ b/website/man_stats.jsp
@@ -196,7 +196,7 @@
+ width="600" height="340" />
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