<?xml version="1.0" encoding="UTF-8"?>
<s:scufl xmlns:s="http://org.embl.ebi.escience/xscufl/0.1alpha" version="0.2" log="0">
  <s:workflowdescription lsid="urn:lsid:net.sf.taverna:wfDefinition:1284a957-6ffd-4c8b-b0a9-2b90697d1427" author="Mariana de Oliveira Braga Teixeira Monteiro" title="EMBOSS NJ Tree">This workflow performs a generic protein sequence analysis. In order to do that a novel protein sequence enters into the software along with a list of known protein identifiers chosen by the biologist to perform a homology search, followed by a multiple sequence alignment and finally a phylogenetic analysis.</s:workflowdescription>
  <s:processor name="fdrawtree">
    <s:description>Plots an unrooted tree diagram</s:description>
    <s:soaplabwsdl interval="60000" backoff="1.1" maxinterval="60000">http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_tree_drawing.fdrawtree</s:soaplabwsdl>
  </s:processor>
  <s:processor name="fprotdist">
    <s:description>Protein distance algorithm</s:description>
    <s:soaplabwsdl interval="60000" backoff="1.1" maxinterval="60000">http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_molecular_sequence.fprotdist</s:soaplabwsdl>
  </s:processor>
  <s:processor name="fdrawgram">
    <s:description>Plots a cladogram- or phenogram-like rooted
                  tree diagram</s:description>
    <s:soaplabwsdl>http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_tree_drawing.fdrawgram</s:soaplabwsdl>
  </s:processor>
  <s:processor name="fneighbor">
    <s:description>Phylogenies from distance matrix by N-J or
                  UPGMA method</s:description>
    <s:defaults>
      <s:default name="treetype">n</s:default>
    </s:defaults>
    <s:soaplabwsdl interval="60000" backoff="1.1" maxinterval="60000">http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_distance_matrix.fneighbor</s:soaplabwsdl>
  </s:processor>
  <s:processor name="fconsense">
    <s:description>Majority-rule and strict consensus tree</s:description>
    <s:soaplabwsdl>http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_consensus.fconsense</s:soaplabwsdl>
  </s:processor>
  <s:processor name="fseqboot">
    <s:description>Bootstrapped sequences algorithm</s:description>
    <s:defaults>
      <s:default name="sprotein_sequence">yes</s:default>
      <s:default name="snucleotide_sequence">no</s:default>
      <s:default name="seqtype">p</s:default>
      <s:default name="progress">no</s:default>
    </s:defaults>
    <s:soaplabwsdl>http://www.ebi.ac.uk/soaplab/emboss4/services/phylogeny_molecular_sequence.fseqboot</s:soaplabwsdl>
  </s:processor>
  <s:link source="Alignments" sink="fseqboot:sequence_direct_data" />
  <s:link source="fconsense:outtreefile" sink="njtree" />
  <s:link source="fneighbor:outtreefile" sink="fconsense:intreefile_direct_data" />
  <s:link source="fseqboot:outfile" sink="fprotdist:sequence_direct_data" />
  <s:link source="fdrawgram:plotfile" sink="Rooted" />
  <s:link source="fdrawtree:plotfile" sink="Unrooted" />
  <s:link source="fneighbor:outfile" sink="Distance" />
  <s:link source="fneighbor:outtreefile" sink="NJ" />
  <s:link source="fneighbor:outtreefile" sink="fdrawgram:intreefile_direct_data" />
  <s:link source="fneighbor:outtreefile" sink="fdrawtree:intreefile_direct_data" />
  <s:link source="fprotdist:outfile" sink="fneighbor:datafile_direct_data" />
  <s:source name="Alignments">
    <s:metadata>
      <s:description>Enter a novel protein sequence. e.g.
AITRRVACLDGVNTATNAACCALFAVRDDIQQNL
FDGGECGEEVHESLRLTFHDAIGISPSLAATGKFGG
GGADGSIMIFDDIEPNFHANNGVDEIINAQKPFVAK
HNMTAGDFIQFAGAVGVSNCPGAPQLSFFLGRPA</s:description>
    </s:metadata>
  </s:source>
  <s:sink name="NJ" />
  <s:sink name="Distance" />
  <s:sink name="Rooted" />
  <s:sink name="Unrooted" />
  <s:sink name="njtree" />
</s:scufl>
