comparison remove.dists.xml @ 0:741303a463c8 draft

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