<?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-1.4-old/plugins/pedro/services/model/common.xsd">
	<serviceDescription >
		<serviceName>trimseq</serviceName>
		<organisation >
			<organisationName>European Bioinformatics Institute</organisationName>
		</organisation>

		<locationURL>http://www.ebi.ac.uk/soaplab/emboss4/services/edit.trimseq</locationURL>
		<interfaceWSDL>http://www.ebi.ac.uk/soaplab/emboss4/services/edit.trimseq?wsdl</interfaceWSDL>
		<serviceDescriptionText>Trim ambiguous bits off the ends of sequences. Detailed info about this operation can be found at the following link: http://emboss.sourceforge.net/apps/release/4.0/emboss/apps/trimseq.html</serviceDescriptionText>
		<operations >
			<serviceOperation >
				<operationName>trimseq</operationName>
				<operationDescriptionText>Trim ambiguous bits off the ends of sequences. Detailed info about this operation can be found at the following link: http://emboss.sourceforge.net/apps/release/4.0/emboss/apps/trimseq.html</operationDescriptionText>
				<operationInputs >
					<parameter >
						<parameterName>sequence_usa</parameterName>
						<parameterDescription>Type: string. Any valid sequence. 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>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
						<collectionSemanticType>http://www.mygrid.org.uk/mygrid-moby-service#simpleParameter</collectionSemanticType>
					</parameter>

					<parameter >
						<parameterName>sequence_direct_data</parameterName>
						<parameterDescription>Type: string. Any valid sequence. 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.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<semanticType>http://www.mygrid.org.uk/ontology#biological_sequence</semanticType>
						<parameterFormat>http://www.mygrid.org.uk/ontology#single_sequence_format</parameterFormat>
						<transportDataType>String</transportDataType>
						<collectionSemanticType>http://www.mygrid.org.uk/mygrid-moby-service#simpleParameter</collectionSemanticType>
					</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>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sbegin</parameterName>
						<parameterDescription>Type: long. The first position to be used in the sequence, for example: sbegin=1 means start with the first base in the sequence. This is an optional parameter.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<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.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sprotein</parameterName>
						<parameterDescription>Type: boolean. Is the sequence a protein? This is an optional parameter.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>snucleotide</parameterName>
						<parameterDescription>Type: boolean. Is the sequence a nucleotide? This is an optional parameter.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

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

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

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

					<parameter >
						<parameterName>window</parameterName>
						<parameterDescription>Type: long. This determines the size of the region that is considered when deciding whether the percentage of ambiguity is greater than the threshold. A value of 5 means that a region of 5 letters in the sequence is shifted along the sequence from the ends and trimming is done only if there is a greater or equal percentage of ambiguity than the threshold percentage. This is an optional parameter. The default value is 1. </parameterDescription>
						<defaultValue>1</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>percent</parameterName>
						<parameterDescription>Type: float. This is the threshold of the percentage ambiguity in the window required in order to trim a sequence. This is an optional parameter. The default value is 100.0. </parameterDescription>
						<defaultValue>100.0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>strict</parameterName>
						<parameterDescription>Type: boolean. In nucleic sequences, trim off not only N&apos;s and X&apos;s, but also the nucleotide IUPAC ambiguity codes M, R, W, S, Y, K, V, H, D and B. In protein sequences, trim off not only X&apos;s but also B and Z. This is an optional parameter. The default value is &apos;false&apos;. </parameterDescription>
						<defaultValue>false</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>star</parameterName>
						<parameterDescription>Type: boolean. In protein sequences, trim off not only X&apos;s, but also the *&apos;s. This is an optional parameter. The default value is &apos;false&apos;.</parameterDescription>
						<defaultValue>false</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>left</parameterName>
						<parameterDescription>Type: boolean. Trim at the start. This is an optional parameter. True by default.</parameterDescription>
						<defaultValue>true</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>right</parameterName>
						<parameterDescription>Type: boolean. Trim at the end. This is an optional parameter. True by default. </parameterDescription>
						<defaultValue>true</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>osformat</parameterName>
						<parameterDescription>Type: string. Format of the output sequence (outseq). 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. The default value is &apos;fasta&apos;. </parameterDescription>
						<defaultValue>fasta</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

				</operationInputs>

				<operationOutputs >
					<parameter >
						<parameterName>report</parameterName>
						<parameterDescription>Type: string. A general report for the underlying analysis job.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<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>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>outseq</parameterName>
						<parameterDescription>Returns trimmed sequence.</parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<semanticType>http://www.mygrid.org.uk/ontology#biological_sequence</semanticType>
						<parameterFormat>http://www.mygrid.org.uk/ontology#single_sequence_format</parameterFormat>
						<transportDataType>String</transportDataType>
					</parameter>

				</operationOutputs>

				<operationTask>http://www.mygrid.org.uk/ontology#removing</operationTask>
				<operationResource>http://www.mygrid.org.uk/ontology#EMBL_nucleotide_sequence_database</operationResource>
			</serviceOperation>

		</operations>

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

</serviceDescriptions>
