Mercurial > repos > iuc > mothur_split_groups
annotate split.groups.xml @ 4:7b20827f8e8f draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 38a2bbee32eaaceeb22d7549b13dbc0c613ee173
| author | iuc |
|---|---|
| date | Tue, 20 Mar 2018 14:14:32 -0400 |
| parents | 883a95e17395 |
| children |
| rev | line source |
|---|---|
|
0
089c0f0c6c18
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_split_groups" name="Split.groups" version="@WRAPPER_VERSION@.0"> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
2 <description>Generates a fasta file for each group</description> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
3 <macros> |
|
089c0f0c6c18
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> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
5 </macros> |
|
089c0f0c6c18
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
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
7 <expand macro="stdio"/> |
|
0
089c0f0c6c18
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
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
9 <command><![CDATA[ |
|
3
883a95e17395
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
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
11 |
|
3
883a95e17395
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 |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
13 ln -s '$name' name.dat && |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
14 ln -s '$count' count.dat && |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
15 ln -s '$fasta' fasta.dat && |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
16 ln -s '$group' group.dat && |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
17 |
|
3
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
18 echo 'split.groups( |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
19 #if $name: |
|
883a95e17395
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, |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
21 #end if |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
22 #if $groups: |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
23 groups=${ str($groups).replace(",","-") }, |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
24 #end if |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
25 #if $count: |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
26 count=count.dat, |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
27 #end if |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
28 fasta=fasta.dat, |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
29 group=group.dat |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
30 )' |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
31 | sed 's/ //g' ## mothur trips over whitespace |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
32 | mothur |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
33 | tee mothur.out.log |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
34 ]]></command> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
35 <inputs> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
36 <param name="fasta" type="data" format="fasta" label="fasta - Fasta to split by group"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
37 <param name="name" type="data" format="mothur.names" label="name - Names to split by group" optional="true"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
38 <param name="group" type="data" format="mothur.groups" label="group - Groups"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
39 <param name="groups" type="select" optional="true" label="groups - Pick groups to analyze" multiple="true"> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
40 <options> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
41 <filter type="data_meta" ref="group" key="groups"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
42 </options> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
43 </param> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
44 <param name="count" type="data" format="mothur.count_table" optional="true" label="count - a count_table" help="generated by count.seqs"/> |
|
4
7b20827f8e8f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 38a2bbee32eaaceeb22d7549b13dbc0c613ee173
iuc
parents:
3
diff
changeset
|
45 <expand macro="param-savelog"/> |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
46 </inputs> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
47 <outputs> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
48 <expand macro="logfile-output"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
49 <collection name="groupfastas" type="list" label="${tool.name} on ${on_string}: fasta per group"> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
50 <!-- TODO: format_source on discovered collection elements doesn't seem to work yet, change to format_source="fasta" once it does --> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
51 <discover_datasets pattern=".*?\.(?P<designation>.*)\.fasta" format="fasta"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
52 </collection> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
53 </outputs> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
54 <tests> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
55 <test> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
56 <param name="fasta" value="amazon.fasta" ftype="fasta"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
57 <param name="group" value="amazon.groups" ftype="mothur.groups"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
58 <output_collection name="groupfastas" count="2"> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
59 <element name="pasture" md5="3844bc02ec09acbbf31845ea6ac6632d" ftype="fasta"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
60 <element name="forest" md5="f0e662d1d82e96b4977864925493dbf5" ftype="fasta"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
61 </output_collection> |
|
4
7b20827f8e8f
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 38a2bbee32eaaceeb22d7549b13dbc0c613ee173
iuc
parents:
3
diff
changeset
|
62 <param name="savelog" value="true"/> |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
63 <expand macro="logfile-test"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
64 </test> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
65 </tests> |
|
3
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
66 <help><![CDATA[ |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
67 |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
68 @MOTHUR_OVERVIEW@ |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
69 |
|
1
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
70 **Command Documentation** |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
71 |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
72 The split.groups_ command reads a fasta file and group_ file and generates a fasta file for each group in the groupfile. A name_ file can also be split into groups. |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
73 |
|
1
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
74 .. _group: https://www.mothur.org/wiki/Group_file |
|
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
75 .. _name: https://www.mothur.org/wiki/Name_file |
|
87bee516388b
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit a9d1e0debcd357d8080a1c6c5f1d206dd45a7a4d
iuc
parents:
0
diff
changeset
|
76 .. _split.groups: https://www.mothur.org/wiki/Split.groups |
|
3
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
77 |
|
883a95e17395
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 4648c7574a78601e03ae6a318cbcd5b492a8a9f4
iuc
parents:
1
diff
changeset
|
78 ]]></help> |
|
0
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
79 <expand macro="citations"/> |
|
089c0f0c6c18
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
80 </tool> |
