<?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>twofeat</serviceName>
		<organisation >
			<organisationName>European Bioinformatics Institute</organisationName>
		</organisation>

		<locationURL>http://www.ebi.ac.uk/soaplab/emboss4/services/feature_tables.twofeat</locationURL>
		<interfaceWSDL>http://www.ebi.ac.uk/soaplab/emboss4/services/feature_tables.twofeat?wsdl</interfaceWSDL>
		<serviceDescriptionText>Finds neighbouring pairs of features in sequences. Detailed info about this operation can be found at the following link: http://emboss.sourceforge.net/apps/release/4.0/emboss/apps/twofeat.html</serviceDescriptionText>
		<operations >
			<serviceOperation >
				<operationName>twofeat</operationName>
				<operationDescriptionText>Finds neighbouring pairs of features in sequences. Detailed info about this operation can be found at the following link: http://emboss.sourceforge.net/apps/release/4.0/emboss/apps/twofeat.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>
					</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>
						<collectionSemanticType>http://www.mygrid.org.uk/mygrid-moby-service#secondaryParameter</collectionSemanticType>
					</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>atype</parameterName>
						<parameterDescription>Type: string. By default every feature in the feature table is allowed. You can set this to be any feature type you wish to allow. See http://www3.ebi.ac.uk/Services/WebFeat/ for a list of the EMBL feature types. The type may be wildcarded by using &apos;*&apos;. If you wish to allow more than one type, separate their names with the character &apos;|&apos;, eg: *UTR | intron. This is an optional parameter. Default value is &quot;*&quot;. </parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>btype</parameterName>
						<parameterDescription>Type: string. By default every feature in the feature table is allowed. You can set this to be any feature type you wish to allow. See http://www3.ebi.ac.uk/Services/WebFeat/ for a list of the EMBL feature types. The type may be wildcarded by using &apos;*&apos;. If you wish to allow more than one type, separate their names with the character &apos;|&apos;, eg: *UTR | intron. This is an optional parameter. Default value is &quot;*&quot;. </parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>minrange</parameterName>
						<parameterDescription>Type: long. If this is greater or equal to &apos;maxrange&apos;, then no min or max range is specified. This is an optional parameter. The default value is 0. </parameterDescription>
						<defaultValue>0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>maxrange</parameterName>
						<parameterDescription>Type: long. If this is less than or equal to &apos;minrange&apos;, then no min or max range is specified. This is an optional parameter. The default value is 0. </parameterDescription>
						<defaultValue>0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>asource</parameterName>
						<parameterDescription>Type: string. By default any feature source in the feature table is allowed. You can set this to match any feature source you wish to allow. The source name is usually either the name of the program that detected the feature or it is the feature table (eg: EMBL) that the feature came from. The source may be wildcarded by using &apos;*&apos;. If you wish to allow more than one source, separate their names with the character &apos;|&apos;, eg: gene* | embl. This is an optional parameter. The default value is &quot;*&quot;. </parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>asense</parameterName>
						<parameterDescription>Type: string. By default any feature sense is allowed. You can set this to match the required sense. The allowed values for this parameter are: 
0 (Any sense)|
+ (Forward sense)|
- (Reverse sense).
This is an optional parameter. The default value is 0. </parameterDescription>
						<defaultValue>0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>aminscore</parameterName>
						<parameterDescription>Type: float. If this is greater than or equal to the maximum score, then any score is allowed. This is an optional parameter. The default value is 0.0. </parameterDescription>
						<defaultValue>0.0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>amaxscore</parameterName>
						<parameterDescription>Type: float. If this is less than or equal to the maximum score, then any score is permitted. This is an optional parameter. The default value is 0.0. </parameterDescription>
						<defaultValue>0.0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>atag</parameterName>
						<parameterDescription>Type: string. Tags are the types of extra values that a feature may have. For example in the EMBL feature table, a &apos;CDS&apos; type of feature may have the tags &apos;/codon&apos;, &apos;/codon_start&apos;, &apos;/db_xref&apos;, &apos;/EC_number&apos;, &apos;/evidence&apos;, &apos;/exception&apos;, &apos;/function&apos;, &apos;/gene&apos;. Some of these tags also have values, for example &apos;/gene&apos; can have the value of the gene name. By default any feature tag in the feature table is allowed. You can set this to match any feature tag you wish to allow. The tag may be wildcarded by using &apos;*&apos;. If you wish to allow more than one tag, separate their names with the character &apos;|&apos;, eg: gene | label. This is an optional parameter. The default value is &quot;*&quot;</parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>avalue</parameterName>
						<parameterDescription>Type: string. Tag values are the values associated with a feature tag. Tags are the types of extra values that a feature may have. Only some of these tags can have values, for example &apos;/gene&apos; can have the value of the gene name. By default any feature tag value in the feature table is allowed. You can set this to match any feature tag value you wish to allow. The tag value may be wildcarded by using &apos;*&apos;. If you wish to allow more than one tag value, separate their names with the character &apos;|&apos;, eg: pax* | 10.  This is an optional parameter. The default value is &quot;*&quot;. </parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>bsource</parameterName>
						<parameterDescription>Type: string. By default any feature source in the feature table is allowed. You can set this to match any feature source you wish to allow. The source name is usually either the name of the program that detected the feature or it is the feature table (eg: EMBL) that the feature came from. The source may be wildcarded by using &apos;*&apos;. If you wish to allow more than one source, separate their names with the character &apos;|&apos;, eg: gene* | embl. This is an optional parameter. The default value is &quot;*&quot;. </parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>bsense</parameterName>
						<parameterDescription>Type: string. By default any feature sense is allowed. You can set this to match the required sense. The allowed values for this parameter are: 
0 (Any sense)|
+ (Forward sense)|
- (Reverse sense).
This is an optional parameter. The default value is 0. </parameterDescription>
						<defaultValue>0</defaultValue>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>bminscore</parameterName>
						<parameterDescription>Type: float. If this is greater than or equal to the maximum score, then any score is allowed. This is an optional parameter. The default value is 0.0. </parameterDescription>
						<defaultValue>0.0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>bmaxscore</parameterName>
						<parameterDescription>Type: float. If this is less than or equal to the maximum score, then any score is permitted. This is an optional parameter. The default value is 0.0</parameterDescription>
						<defaultValue>0.0</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>btag</parameterName>
						<parameterDescription>Type: string. Type: string. Tags are the types of extra values that a feature may have. For example in the EMBL feature table, a &apos;CDS&apos; type of feature may have the tags &apos;/codon&apos;, &apos;/codon_start&apos;, &apos;/db_xref&apos;, &apos;/EC_number&apos;, &apos;/evidence&apos;, &apos;/exception&apos;, &apos;/function&apos;, &apos;/gene&apos;. Some of these tags also have values, for example &apos;/gene&apos; can have the value of the gene name. By default any feature tag in the feature table is allowed. You can set this to match any feature tag you wish to allow. The tag may be wildcarded by using &apos;*&apos;. If you wish to allow more than one tag, separate their names with the character &apos;|&apos;, eg: gene | label. This is an optional parameter. The default value is &quot;*&quot;</parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>bvalue</parameterName>
						<parameterDescription>Type: string. Tag values are the values associated with a feature tag. Tags are the types of extra values that a feature may have. Only some of these tags can have values, for example &apos;/gene&apos; can have the value of the gene name. By default any feature tag value in the feature table is allowed. You can set this to match any feature tag value you wish to allow. The tag value may be wildcarded by using &apos;*&apos;. If you wish to allow more than one tag value, separate their names with the character &apos;|&apos;, eg: pax* | 10.  This is an optional parameter. The default value is &quot;*&quot;. </parameterDescription>
						<defaultValue>*</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>overlap</parameterName>
						<parameterDescription>Type: string. This allows you to specify the allowed overlaps of the features A and B. You can allow any or no overlaps, specify that they must or must not overlap, that one must or must not be wholly enclosed within another feature. This is an optional parameter. The allowed values for this parameter are: 
A (Any) |
O (Overlap required)|
NO (No overlaps are allowed)|
NW (Overlap required but not within)|
AW (A must be all within B)|
BW (B must be all within A). 
The default value is A. </parameterDescription>
						<defaultValue>A</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>rangetype</parameterName>
						<parameterDescription>Type: string. This allows you to specify the positions from which the allowed minimum or maximum distance between the features is measured. This is an optional parameter. The allowed values for this parameter are:
N (From nearest ends)|
L (From left ends)|
R (From right ends)|
F (From furthest ends). 
The default value is N. </parameterDescription>
						<defaultValue>N</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>sense</parameterName>
						<parameterDescription>Type: string. This allows you to specify the required sense that the two features must be on. This is ignored (always &apos;Any&apos;) when looking at protein sequence features. This is an optional parameter. The allowed values for this parameter are: 
A (Any sense)|
S (Same sense)|
O (Opposite sense).
The default value is A. </parameterDescription>
						<defaultValue>A</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>order</parameterName>
						<parameterDescription>Type: string. This allows you to specify the required order of the two features. The order is measured from the start positions of the features. This criterion is always applied despite the specified overlap type required. This is an optional parameter. The allowed values for this parameter are: 
A (Any)|
AB (Feature A then feature B)|
BA (Feature B then feature A).
The default value is A. </parameterDescription>
						<defaultValue>A</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>twoout</parameterName>
						<parameterDescription>Type: boolean. If you set this to be true, then the two features themselves will be written out. If it is left as false, then a single feature will be written out covering the two features you found. This is an optional parameter. The default value is &apos;N&apos; for No. </parameterDescription>
						<defaultValue>N</defaultValue>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

					<parameter >
						<parameterName>typeout</parameterName>
						<parameterDescription>Type: string. If you have specified that the pairs of features that are found should be reported as one feature in the ouput, then you can specify the &apos;type&apos; name of the new feature here. By default every feature in the feature table is allowed. If you specify an invalid feature type name, then the default name &apos;misc_feature&apos; is used. This is an optional parameter.</parameterDescription>
						<defaultValue>misc_feature</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>outfile</parameterName>
						<parameterDescription>Returns the list of sequence features </parameterDescription>
						<isConfigurationParameter>false</isConfigurationParameter>
						<transportDataType>String</transportDataType>
					</parameter>

				</operationOutputs>

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

		</operations>

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

</serviceDescriptions>
