Mercurial > repos > iuc > mothur_pre_cluster
annotate pre.cluster.xml @ 3:d6bed1e2df21 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
| author | iuc |
|---|---|
| date | Wed, 14 Feb 2018 09:14:38 -0500 |
| parents | e277ab688993 |
| children | 4af9561f3c7c |
| rev | line source |
|---|---|
|
0
4b5b8a603f52
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_pre_cluster" name="Pre.cluster" version="@WRAPPER_VERSION@.0"> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
2 <description>Remove sequences due to pyrosequencing errors</description> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
3 <macros> |
|
4b5b8a603f52
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> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
5 </macros> |
|
4b5b8a603f52
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
e277ab688993
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
4b5b8a603f52
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
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
9 <command><![CDATA[ |
|
3
d6bed1e2df21
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
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
11 |
|
3
d6bed1e2df21
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 |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
13 ln -s '$fasta' fasta.dat && |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
14 ln -s '$name' name.dat && |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
15 ln -s '$group' group.dat && |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
16 |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
17 echo 'pre.cluster( |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
18 fasta=fasta.dat, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
19 #if $name.is_of_type("mothur.names"): |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
20 name=name.dat, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
21 #elif $name.is_of_type("mothur.count_table"): |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
22 count=name.dat, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
23 #end if |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
24 #if $group: |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
25 group=group.dat, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
26 #end if |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
27 diffs=$diffs, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
28 match=$match, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
29 mismatch=$mismatch, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
30 gapopen=$gapopen, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
31 gapextend=$gapextend, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
32 topdown=$topdown, |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
33 processors='\${GALAXY_SLOTS:-8}' |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
34 )' |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
35 | sed 's/ //g' ## mothur trips over whitespace |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
36 | mothur |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
37 | tee mothur.out.log && |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
38 |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
39 cat fasta* && |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
40 |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
41 if [ -f fasta.precluster.map ]; then mv fasta.precluster.map fasta.precluster.fasta.map; fi |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
42 ]]></command> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
43 <inputs> |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
44 <param argument="fasta" type="data" format="fasta" label="fasta - Sequence Fasta"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
45 <param argument="name" type="data" format="mothur.names,mothur.count_table" optional="true" label="name file or count table - Sequences Name reference"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
46 <param argument="group" type="data" format="mothur.groups" optional="true" label="group - Sequences Name reference"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
47 <param argument="diffs" type="integer" value="1" min="0" label="diffs - Number of mismatched bases to allow between sequences in a group (default 1)"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
48 <param argument="match" type="integer" value="1" label="match - reward for a match (default 1)"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
49 <param argument="mismatch" type="integer" value="-1" label="mismatch - penalty for a mismatch (default -1)"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
50 <param argument="gapopen" type="integer" value="-2" label="gapopen - penalty for opening a gap (default -2)"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
51 <param argument="gapextend" type="integer" value="-1" label="gapextend - penalty for extending a gap (default -1)"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
52 <param argument="topdown" type="boolean" truevalue="true" falsevalue="false" checked="true" label="topdown" |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
53 help="cluster from largest abundance to smallest or vice versa. Default=Yes, meaning largest to smallest"/> |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
54 </inputs> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
55 <outputs> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
56 <expand macro="logfile-output"/> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
57 <data name="fasta_out" format_source="fasta" from_work_dir="fasta*.precluster.dat" label="${tool.name} on ${on_string}: precluster.fasta"/> |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
58 <data name="names_out" format="mothur.names" from_work_dir="fasta*.precluster.names" label="${tool.name} on ${on_string}: precluster.names"> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
59 <filter>name.ext != "mothur.count_table"</filter> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
60 </data> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
61 <data name="count_out" format="mothur.count_table" from_work_dir="fasta*.precluster.count_table" label="${tool.name} on ${on_string}: precluster.count_table"> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
62 <filter>name.ext == "mothur.count_table"</filter> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
63 </data> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
64 <collection name="map_out" type="list" label="${tool.name} on ${on_string}: precluster.map"> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
65 <discover_datasets pattern="fasta\.precluster\.(?P<designation>.*)\.map" format="tabular"/> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
66 </collection> |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
67 </outputs> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
68 <tests> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
69 <test><!-- test with fasta and names file --> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
70 <param name="fasta" value="amazon.fasta_head" ftype="fasta"/> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
71 <param name="name" value="amazon.head.names" ftype="mothur.names"/> |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
72 <output name="fasta_out" ftype="fasta"> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
73 <assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
74 <expand macro="test-fasta-format"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
75 <has_text text="U68589"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
76 </assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
77 </output> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
78 <output name="names_out" ftype="mothur.names"> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
79 <assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
80 <expand macro="test-names-format"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
81 <has_line_matching expression="^U68589\tU68589$"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
82 </assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
83 </output> |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
84 <output_collection name="map_out" count="1"> |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
85 <element name="fasta" ftype="tabular"> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
86 <assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
87 <has_text text="ideal_seq_1"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
88 <has_text text="U68589"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
89 </assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
90 </element> |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
91 </output_collection> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
92 <expand macro="logfile-test"/> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
93 </test> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
94 <test><!-- test with fasta and count table --> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
95 <param name="fasta" value="amazon.fasta_head" ftype="fasta"/> |
|
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
96 <param name="name" value="amazon.count_table" ftype="mothur.count_table"/> |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
97 <output name="fasta_out" ftype="fasta"> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
98 <assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
99 <expand macro="test-fasta-format"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
100 <has_text text="U68589"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
101 </assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
102 </output> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
103 <output name="count_out" ftype="mothur.count_table"> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
104 <assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
105 <expand macro="test-count-format"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
106 <has_text text="U68589"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
107 </assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
108 </output> |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
109 <output_collection name="map_out" count="1"> |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
110 <element name="fasta" ftype="tabular"> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
111 <assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
112 <has_text text="ideal_seq_1"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
113 <has_text text="U68589"/> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
114 </assert_contents> |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
115 </element> |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
116 </output_collection> |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
117 <expand macro="logfile-test"/> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
118 </test> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
119 </tests> |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
120 <help><![CDATA[ |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
121 |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
122 @MOTHUR_OVERVIEW@ |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
123 |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
124 **Command Documentation** |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
125 |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
126 The pre.cluster_ command implements a pseudo-single linkage algorithm with the goal of removing sequences that |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
127 are likely due to pyrosequencing errors. The basic idea is that abundant sequences are more likely to generate |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
128 erroneous sequences than rare sequences. With that in mind, the algorithm proceeds by ranking sequences in order |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
129 of their abundance. Then we walk through the list of sequences looking for rarer sequences that are within some |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
130 threshold of the original sequence. Those that are within the threshold are merged with the larger sequence. |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
131 The original Huse method performs this task on a distance matrix, whereas we do it based on the original sequences. |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
132 The advantage of our approach is that the algorithm works on aligned sequences instead of a distance matrix. |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
133 This is advantageous because by pre-clustering you remove a large number of sequences making the distance |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
134 calculation much faster. |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
135 |
|
1
e277ab688993
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit ea40e3d84e7850eb4226d6c85f709dcad18d4ba9
iuc
parents:
0
diff
changeset
|
136 .. _pre.cluster: https://www.mothur.org/wiki/Pre.cluster |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
137 |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
138 v1.24.0: Updated to mothur 1.33, added count and topdown parameter |
|
3
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
139 |
|
d6bed1e2df21
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
140 ]]></help> |
|
0
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
141 <expand macro="citations"/> |
|
4b5b8a603f52
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
142 </tool> |
