<?xml version="1.0" encoding="UTF-8"?>
<s:scufl xmlns:s="http://org.embl.ebi.escience/xscufl/0.1alpha" version="0.1" log="3">
  <s:processor name="outputFormat">
    <s:description>Configures the XML format of the EMBL record to be outputed by xembl</s:description>
    <s:stringconstant>Bsml</s:stringconstant>
  </s:processor>
  <s:processor name="xembl">
    <s:description>Retrieves the EMBL record associated with a given EMBL accession number in BSML XML format</s:description>
    <s:arbitrarywsdl>
      <s:wsdl>http://www.ebi.ac.uk/xembl/XEMBL.wsdl</s:wsdl>
      <s:operation>getNucSeq</s:operation>
    </s:arbitrarywsdl>
  </s:processor>
  <s:link>
    <s:input>xembl:format</s:input>
    <s:output>outputFormat:value</s:output>
  </s:link>
  <s:link>
    <s:input>xembl:ids</s:input>
    <s:output>emblAccNumber</s:output>
  </s:link>
  <s:link>
    <s:input>emblRecordInBsml</s:input>
    <s:output>xembl:result</s:output>
  </s:link>
  <s:source>
    emblAccNumber
    <s:metadata>
      <s:mimeTypes />
      <s:description>An EMBL accession number such as D00137</s:description>
      <s:semanticType>http://www.mygrid.org.uk/ontology#EMBL_nucleotide_sequence_accession</s:semanticType>
    </s:metadata>
  </s:source>
  <s:sink>
    emblRecordInBsml
    <s:metadata>
      <s:mimeTypes />
      <s:description>An EMBL record in XML format using the BSML schema</s:description>
      <s:semanticType>http://www.mygrid.org.uk/ontology#EMBL_record</s:semanticType>
    </s:metadata>
  </s:sink>
</s:scufl>


