comparison remove.dists.xml @ 0:1c601f47dd3d draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
author iuc
date Fri, 24 Jun 2016 16:46:24 -0400
parents
children 27ab74145f55
comparison
equal deleted inserted replaced
-1:000000000000 0:1c601f47dd3d
1 <tool profile="16.07" id="mothur_remove_dists" name="Remove.dists" version="@WRAPPER_VERSION@.0">
2 <description>Removes distances from a phylip or column file</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements"/>
7 <expand macro="version_command"/>
8 <command detect_errors="aggressive"><![CDATA[
9 ## create symlinks to input datasets
10 ln -s "$accnos" accnos.dat &&
11 ln -s "$input.dist" input_dist.dat &&
12
13 echo 'remove.dists(
14 accnos=accnos.dat,
15 #if $input.source == "phylip":
16 phylip=input_dist.dat
17 #else
18 column=input_dist.dat
19 #end if
20 )'
21 | sed 's/ //g' ## mothur trips over whitespace
22 | mothur
23 ]]></command>
24 <inputs>
25 <conditional name="input">
26 <param name="source" type="select" label="Select input format">
27 <option value="column">Pairwise Column Distance Matrix</option>
28 <option value="phylip">Phylip Distance Matrix</option>
29 </param>
30 <when value="column">
31 <param name="dist" type="data" format="mothur.pair.dist" label="column - Distance Matrix"/>
32 </when>
33 <when value="phylip">
34 <param name="dist" type="data" format="mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/>
35 </when>
36 </conditional>
37 <param name="accnos" type="data" format="mothur.accnos" label="accnos - sort" help="format must be mothur.accnos"/>
38 </inputs>
39 <outputs>
40 <expand macro="logfile-output"/>
41 <data name="pick_dist" format_source="dist" from_work_dir="input_dist*.pick.dat" label="${tool.name} on ${on_string}: pick.dist"/>
42 </outputs>
43 <tests>
44 <test>
45 <param name="source" value="phylip"/>
46 <param name="dist" value="98_sq_phylip_amazon.dist" ftype="mothur.square.dist"/>
47 <param name="accnos" value="amazon.bad.accnos" ftype="mothur.accnos"/>
48 <output name="pick_dist" md5="ec444ddb897d21864a245e8645fcda33" ftype="mothur.square.dist"/>
49 <expand macro="logfile-test"/>
50 </test>
51 </tests>
52 <help>
53 <![CDATA[
54
55 @MOTHUR_OVERVIEW@
56
57 **Command Documenation**
58
59 The remove.dists_ removes distances from a phylip or column file related to groups or sequences listed in an accnos file.
60
61 .. _remove.dists: http://www.mothur.org/wiki/Remove.dists
62
63 ]]>
64 </help>
65 <expand macro="citations"/>
66 </tool>