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