<?xml version = "1.0" encoding = "UTF-8"?>
<serviceDescriptions  xmlns="pd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="pd /C:/Documents and Settings/ytanoh/My Documents/TAVERNA/taverna-1.4-old/plugins/pedro/services/model/common.xsd">
	<serviceDescription >
		<serviceName>fprotdist</serviceName>
		<organisation >
			<organisationName>European Bioinformatics Institute</organisationName>
			<organisationDescriptionText>http://www.ebi.ac.uk/</organisationDescriptionText>
			<organisationKey>EBI</organisationKey>
		</organisation>

		<locationURL>http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_molecular_sequence.fprotdist</locationURL>
		<interfaceWSDL>http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_molecular_sequence.fprotdist?wsdl</interfaceWSDL>
		<serviceDescriptionText>Computes a distance measure for protein sequences, using maximum likelihood estimates based on the Dayhoff PAM matrix, the JTT matrix model, the PBM model, Kimura&apos;s 1983 approximation to these, or a model based on the genetic code plus a constraint on changing to a different category of amino acid. Detailed info about this operation can be found at the following link: http://genome.jouy.inra.fr/doc/genome/suite-logicielle/emboss/html/embassy/phylipnew/fprotdist.html</serviceDescriptionText>
		<operations >
			<serviceOperation >
				<operationName>fprotdist</operationName>
				<operationDescriptionText>Computes a distance measure for protein sequences, using maximum likelihood estimates based on the Dayhoff PAM matrix, the JTT matrix model, the PBM model, Kimura&apos;s 1983 approximation to these, or a model based on the genetic code plus a constraint on changing to a different category of amino acid. Detailed info about this operation can be found at the following link: http://genome.jouy.inra.fr/doc/genome/suite-logicielle/emboss/html/embassy/phylipnew/fprotdist.html</operationDescriptionText>
				<operationInputs >
					<parameter >
						<parameterName>sequence_usa</parameterName>
						<parameterDescription>Type: string. File containing one or more protein sequence aligment. The Uniform Sequence Address, or USA, is a standard way of specifying a sequence to be read into a program in EMBOSS. The most common ways of specifying a sequence is to type (database:entry), where database can be embl, uniprot or swissprot and entry is either the sequence`s entry or ID name, or its Accession number in that database. For example:database:accession --&gt;embl:X65923 or swissprot:Q7M4G0 | database:entry_name --&gt;swissprot:AMIC_PSEAE |database:ID_name --&gt;embl:paamir.Choose either this parameter or the sequence_direct_data parameter but not both together. Parameter mandatory if the sequence_direct_data parameter has not been chosen.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sequence_direct_data</parameterName>
						<parameterDescription>Type: string. File containing one or more protein sequence alignment. Choose this parameter if you want to provide the&apos;sequence&apos;value as string. Parameter mandatory if the sequence_usa parameter hasn&apos;t been chosen. An example input can be found here: http://genome.jouy.inra.fr/doc/genome/suite-logicielle/emboss/html/embassy/phylipnew/fprotdist.html#input.1</parameterDescription>
						<semanticType>http://www.mygrid.org.uk/ontology#protein_sequence</semanticType>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sformat</parameterName>
						<parameterDescription>Type: string. Specifies the format of the input sequence. This is an optional parameter. The allowed values for this parameter are: gcg, gcg8, embl, swiss, fasta, ncbi, genbank, nbrf, pir, codata, strider, clustal, phylip, acedb, msf, jackknifer, jackknifernon, nexus, nexusnon, treecon, mega, meganon, ig, staden, text, raw.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sbegin</parameterName>
						<parameterDescription>Type: long. The first position to be used in the sequence, for example: sbegin=1 (default value) means start with the first base in the sequence. This is an optional parameter.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>send</parameterName>
						<parameterDescription>Type: long. The last position to be used in the sequence. This is an optional parameter. By default it is the end of the sequence.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sprotein</parameterName>
						<parameterDescription>Type: boolean. Is the sequence a protein? This is an optional parameter. By default the service can autodetect if a sequence is a nucleotide or protein sequence.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>snucleotide</parameterName>
						<parameterDescription>Type: boolean. Is the sequence a nucleotide? This is an optional parameter. By default the service can autodetect if a sequence is a nucleotide or protein sequence.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sreverse</parameterName>
						<parameterDescription>Type: boolean. Use reverse complement of the nucleic acid sequence. This is an optional parameter. False by default.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>slower</parameterName>
						<parameterDescription>Type: boolean. Convert the sequence to lower case. This is an optional parameter. False by default.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>supper</parameterName>
						<parameterDescription>Type: boolean. Convert the sequence to UPPER case. This is an optional parameter. False by default.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>ncategories</parameterName>
						<parameterDescription>Type: long. Number of substitution rate categories. This is an optional parameter. Allowed values: Integer from 1 to 9.  The default is 1.</parameterDescription>
						<defaultValue>1</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>rate</parameterName>
						<parameterDescription>Type: string. Rate for each category. This is an optional parameter. </parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>categories_direct_data</parameterName>
						<parameterDescription>Type: string. File of substitution rate categories. This is an optional parameter. No default value available</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>categories_url</parameterName>
						<parameterDescription>Type: string. URL of file of substitution rate categories. This is an optional parameter.&apos;categories_url&apos;and&apos;categories_direct_data&apos;are mutually exclusive.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>weights_direct_data</parameterName>
						<parameterDescription>Type: string. Phylip weights file. This is an optional parameter. No default value available.&apos;weights_direct_data&apos;and&apos;weights_url&apos;are mutually exclusive.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>weights_url</parameterName>
						<parameterDescription>Type: string. URL of Phylip weights file.This is an optional parameter. No default value available.&apos;weights_direct_data&apos;and&apos;weights_url&apos;are mutually exclusive.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>method</parameterName>
						<parameterDescription>Type: string. Method to use. This is an optional parameter. The allowed values for this parameter are: j(Jones-Taylor-Thornton matrix)| h(Henikoff/Tiller PMB matrix) | d(Dayhoff PAM matrix)|
k(Kimura formula)| s(Similarity table)| c(Categories model). The default is &apos;j&apos;. </parameterDescription>
						<defaultValue>j</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>gamma</parameterName>
						<parameterDescription>Type: string. Rate variation among sites. This is an optional parameter. The allowed values for this parameter are: g(Gamma distributed rates)| i(Gamma+invariant sites)| c(Constant rate). 
The default is &apos;c&apos;. </parameterDescription>
						<defaultValue>c</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>gammacoefficient</parameterName>
						<parameterDescription>Type: float. Coefficient of variation of substitution rate among sites. This is an optional parameter. The default is 1.0</parameterDescription>
						<defaultValue>1.0</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>invarcoefficient</parameterName>
						<parameterDescription>Type: float. Coefficient of variation of substitution rate among sites. This is an optional parameter. The default is 1.0</parameterDescription>
						<defaultValue>1.0</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>aacateg</parameterName>
						<parameterDescription>Type: string. Which categorizations of amino acids to use. This is an optional parameter. The allowed values for this parameter are: 
G(George/Hunt/Barker (Cys), (Met Val Leu Ileu), (Gly Ala Ser Thr Pro))| 
C(Chemical (Cys Met), (Val Leu Ileu Gly Ala Ser Thr), (Pro))|
H(Hall (Cys), (Met Val Leu Ileu), (Gly Ala Ser Thr),(Pro)). 
The default is &apos;G&apos;</parameterDescription>
						<defaultValue>G</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>whichcode</parameterName>
						<parameterDescription>Type: string. Which genetic code to use. This is an optional parameter. The allowed values for this parameter are: u(Universal)| c(Ciliate)| m(Universal mitochondrial)| v(Vertebrate mitochondrial)| f(Fly mitochondrial)| y(Yeast mitochondrial). 
The default is &apos;u&apos; </parameterDescription>
						<defaultValue>u</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>ease</parameterName>
						<parameterDescription>Type: float. Probability change category (1.0=easy).This is an optional parameter. Allowed values: Number between 0.00-1.00. The default is 0.457</parameterDescription>
						<defaultValue>0.457</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>ttratio</parameterName>
						<parameterDescription>Type: float. Transition/transversion ratio. This is an optional parameter. The default is 2.0</parameterDescription>
						<defaultValue>2.0</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>basefreq</parameterName>
						<parameterDescription>Type: float. Base frequencies for A C G T/U (use blanks to separate). This is an optional parameter. The default is 0.25 0.25 0.25 0.25</parameterDescription>
						<defaultValue>0.25 0.25 0.25 0.25</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>printdata</parameterName>
						<parameterDescription>Type: boolean(True/False). Print data at start of run. This is an optional parameter. The default is&apos;false&apos;</parameterDescription>
						<defaultValue>false</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>progress</parameterName>
						<parameterDescription>Type: boolean(True/False). Print indications of progress of run. This is an optional parameter. The default is&apos;True&apos;.</parameterDescription>
						<defaultValue>true</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

				</operationInputs>

				<operationOutputs >
					<parameter >
						<parameterName>report</parameterName>
						<parameterDescription>Type: string. A general report for the underlying analysis job.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>detailed_status</parameterName>
						<parameterDescription>Type: long. The exit code of the underlying analysis job, 0 means the job returned normally.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>outfile</parameterName>
						<parameterDescription>Returns distances between species from protein sequences. fprodist output contains on its first line the number of species. The distance matrix is then printed in standard form, with each species starting on a new line with the species name, followed by the distances to the species in order. In general the format of the distance matrix is such that it can serve as input to any of the distance matrix programs.</parameterDescription>
						<transportDataType>String</transportDataType>
					</parameter>

				</operationOutputs>

				<operationTask>http://www.mygrid.org.uk/ontology#calculating</operationTask>
			</serviceOperation>

		</operations>

		<serviceType>Soaplab service</serviceType>
	</serviceDescription>

</serviceDescriptions>
