comparison mothur/tools/mothur/consensus.seqs.xml @ 4:5265aa9067e0

set output formats to match input formats
author jjohnson
date Wed, 08 Jun 2011 15:02:44 -0500
parents e990ac8a0f58
children 7bfe1f843858
comparison
equal deleted inserted replaced
3:b849cd7e132a 4:5265aa9067e0
13 #if $otu.label.__str__ != "None" and len($otu.label.__str__) > 0: 13 #if $otu.label.__str__ != "None" and len($otu.label.__str__) > 0:
14 --label='$otu.label' 14 --label='$otu.label'
15 #end if 15 #end if
16 --result='^mothur.\S+\.logfile$:'$logfile 16 --result='^mothur.\S+\.logfile$:'$logfile
17 --datasetid='$logfile.id' --new_file_path='$__new_file_path__' 17 --datasetid='$logfile.id' --new_file_path='$__new_file_path__'
18 --new_datasets='^\S+?\.(((unique|[0-9.]*)\.)?cons\.fasta)$:fasta','^\S+?\.(((unique|[0-9.]*)\.)?cons\.names)$:names','^\S+?\.(((unique|[0-9.]*)\.)?cons\.summary)$:tabular' 18 --new_datasets='^\S+?\.(((unique|[0-9.]*)\.)?cons\.fasta)$:${fasta.ext}','^\S+?\.(((unique|[0-9.]*)\.)?cons\.names)$:names','^\S+?\.(((unique|[0-9.]*)\.)?cons\.summary)$:tabular'
19 #else 19 #else
20 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.cons\.summary$:'$summary,'^\S+\.cons\.fasta$:'$cons_fasta 20 --result='^mothur.\S+\.logfile$:'$logfile,'^\S+\.cons\.summary$:'$summary,'^\S+\.cons\.fasta$:'$cons_fasta
21 #end if 21 #end if
22 </command> 22 </command>
23 <inputs> 23 <inputs>
24 <param name="fasta" type="data" format="fasta" label="fasta - Sequences to Bin" help="Sequences must be the same length"/> 24 <param name="fasta" type="data" format="align" label="fasta - Sequences to Bin" help="Sequences must be the same length"/>
25 <param name="name" type="data" format="names" optional="true" label="name - Sequences Name reference"/> 25 <param name="name" type="data" format="names" optional="true" label="name - Sequences Name reference"/>
26 <conditional name="otu"> 26 <conditional name="otu">
27 <param name="use" type="select" label="Consensus sequence"> 27 <param name="use" type="select" label="Consensus sequence">
28 <option value="no">Single consensus sequence</option> 28 <option value="no">Single consensus sequence</option>
29 <option value="yes">Consensus sequence for each OTU in list</option> 29 <option value="yes">Consensus sequence for each OTU in list</option>
43 <outputs> 43 <outputs>
44 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" /> 44 <data format="html" name="logfile" label="${tool.name} on ${on_string}: logfile" />
45 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: cons.summary"> 45 <data format="tabular" name="summary" label="${tool.name} on ${on_string}: cons.summary">
46 <filter>otu['use'] == 'no'</filter> 46 <filter>otu['use'] == 'no'</filter>
47 </data> 47 </data>
48 <data format="fasta" name="cons_fasta" label="${tool.name} on ${on_string}: cons.fasta"> 48 <data format_source="fasta" name="cons_fasta" label="${tool.name} on ${on_string}: cons.fasta">
49 <filter>otu['use'] == 'no'</filter> 49 <filter>otu['use'] == 'no'</filter>
50 </data> 50 </data>
51 </outputs> 51 </outputs>
52 <requirements> 52 <requirements>
53 <requirement type="binary">mothur</requirement> 53 <requirement type="binary">mothur</requirement>