annotate remove.dists.xml @ 10:8a4e2d042ee9 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 7f7605c2c8d8e92f3369dfdc290e5d8d06fa409a
author iuc
date Fri, 03 Aug 2018 14:11:20 -0400
parents 6a4feed29ebc
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
1 <tool profile="16.07" id="mothur_remove_dists" name="Remove.dists" version="@WRAPPER_VERSION@.0">
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
2 <description>Removes distances from a phylip or column file</description>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
3 <macros>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
4 <import>macros.xml</import>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
5 </macros>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
6 <expand macro="requirements"/>
1
27ab74145f55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
8 <expand macro="version_command"/>
1
27ab74145f55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
9 <command><![CDATA[
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
10 @SHELL_OPTIONS@
1
27ab74145f55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
11
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
12 ## create symlinks to input datasets
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
13 ln -s '$accnos' accnos.dat &&
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
14 ln -s '$input.dist' input_dist.dat &&
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
15
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
16 echo 'remove.dists(
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
17 accnos=accnos.dat,
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
18 #if $input.source == "phylip":
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
19 phylip=input_dist.dat
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
20 #else
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
21 column=input_dist.dat
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
22 #end if
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
23 )'
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
24 | sed 's/ //g' ## mothur trips over whitespace
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
25 | mothur
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
26 | tee mothur.out.log
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
27 ]]></command>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
28 <inputs>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
29 <conditional name="input">
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
30 <param name="source" type="select" label="Select input format">
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
31 <option value="column">Pairwise Column Distance Matrix</option>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
32 <option value="phylip">Phylip Distance Matrix</option>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
33 </param>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
34 <when value="column">
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
35 <param name="dist" argument="column" type="data" format="mothur.pair.dist" label="column - Distance Matrix"/>
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
36 </when>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
37 <when value="phylip">
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
38 <param name="dist" argument="phylip" type="data" format="mothur.dist,mothur.lower.dist,mothur.square.dist" label="phylip - Distance Matrix"/>
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
39 </when>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
40 </conditional>
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
41 <param argument="accnos" type="data" format="mothur.accnos" label="accnos - sort" help="format must be mothur.accnos"/>
7
6a4feed29ebc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 38a2bbee32eaaceeb22d7549b13dbc0c613ee173
iuc
parents: 5
diff changeset
42 <expand macro="param-savelog"/>
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
43 </inputs>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
44 <outputs>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
45 <expand macro="logfile-output"/>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
46 <data name="pick_dist" format_source="dist" from_work_dir="input_dist*.pick.dat" label="${tool.name} on ${on_string}: pick.dist"/>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
47 </outputs>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
48 <tests>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
49 <test>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
50 <param name="source" value="phylip"/>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
51 <param name="dist" value="98_sq_phylip_amazon.dist" ftype="mothur.square.dist"/>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
52 <param name="accnos" value="amazon.bad.accnos" ftype="mothur.accnos"/>
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
53 <output name="pick_dist" ftype="mothur.square.dist">
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
54 <assert_contents>
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
55 <expand macro="test-dist-format"/>
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
56 <has_text text="U68589"/>
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
57 <has_line_matching expression="^90$"/>
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
58 </assert_contents>
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
59 </output>
7
6a4feed29ebc planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 38a2bbee32eaaceeb22d7549b13dbc0c613ee173
iuc
parents: 5
diff changeset
60 <param name="savelog" value="true"/>
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
61 <expand macro="logfile-test"/>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
62 </test>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
63 </tests>
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
64 <help><![CDATA[
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
65
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
66 @MOTHUR_OVERVIEW@
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
67
1
27ab74145f55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
68 **Command Documentation**
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
69
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
70 The remove.dists_ removes distances from a phylip or column file related to groups or sequences listed in an accnos file.
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
71
1
27ab74145f55 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents: 0
diff changeset
72 .. _remove.dists: https://www.mothur.org/wiki/Remove.dists
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
73
5
9067f78ae9bd planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents: 1
diff changeset
74 ]]></help>
0
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
75 <expand macro="citations"/>
1c601f47dd3d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff changeset
76 </tool>