X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=website%2Fman_client.html;h=757f672b467fdda99653d847a66a960145f20a38;hb=b895c8df3e237da572dc256cb5f8d4d1f3e58f8a;hp=5738114c955111fc99119dacfb1c89bd3acf2214;hpb=e7bf02d1c203bc8d88b9095e89d5ca6cce21a882;p=jabaws.git diff --git a/website/man_client.html b/website/man_client.html index 5738114..757f672 100644 --- a/website/man_client.html +++ b/website/man_client.html @@ -1,69 +1,75 @@ - + + - -Java Bioinformatics Analyses Web Services (JABAWS) Command Line Client manual - - + +Java Bioinformatics Analyses Web Services (JABAWS): Manual + + + +
+ +
+ +
-
Home - Getting Started - Manual + - + +

JABAWS MANUAL

JABAWS Command Line Client Usage

-

The command line client comes as a part of 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 using presets or custom parameters, please see examples of this below. Here is the list of options supported by the command line client.

-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
--s=<ServiceName> - one of [MafftWS, MuscleWS, ClustalWS, TcoffeeWS, ProbconsWS] +

+The command line client comes as a part of 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 +using presets or custom parameters, please see examples of this below. Here is the list of options supported by the command line client.

-
-ACTIONS:
+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
+-s=<ServiceName> - one of [MafftWS, MuscleWS, ClustalWS, ClustalOWS, TcoffeeWS, ProbconsWS, AAConWS, JronnWS, DisemblWS, GlobPlotWS, IUPredWS] +

+ACTIONS:
-i=<inputFile> - full path to fasta formatted sequence file, from which to align sequences
-parameters - lists parameters supported by web service
-presets - lists presets supported by web service
-limits - lists web services limits
Please note that if input file is specified other actions are ignored -

-
- OPTIONS: (only for use with -i action):
+

+ OPTIONS: (only for use with -i action):
-r=<presetName> - name of the preset to use
-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.
@@ -84,20 +90,14 @@ Please note that -r and -f options cannot be used together. Alignment is done wi --fastaparttree
--retree=10
--op=2.2

-

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 the setting controlling output are not. This is due to the fact the output have to be handled by JABAWS, so must remain within its control. For a list of parameters supported by a web service see the next example. In prm.in parameters are separated by the new line, and name of the parameter is separated from its value with an equal sign. This format is constant no matter which JABAWS web service is used.
+

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 prm.in 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.
java -jar jabaws-min-client.jar -h=http://myhost.compbio.ac.uk:8080/jabaws -s=MafftWS -parameters

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 -h=http://myhost.compbio.ac.uk:8080/jabaws server, now you want to use another server to -h=http://mylabserver.myuni.edu. This comes handy if your favorite server is off and you need to do the job yesterday.

-
+
+ +
+ - - - - - - - -