Mercurial > repos > iuc > mothur_create_database
annotate create.database.xml @ 0:6efb9d6ab2b1 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
| author | iuc |
|---|---|
| date | Fri, 24 Jun 2016 16:28:52 -0400 |
| parents | |
| children | 122c47c8dad6 |
| rev | line source |
|---|---|
|
0
6efb9d6ab2b1
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_create_database" name="Create.database" version="@WRAPPER_VERSION@.0"> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
2 <description>creates a database file from a list, repnames, repfasta and contaxonomy file</description> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
3 <macros> |
|
6efb9d6ab2b1
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> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
5 </macros> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
6 <expand macro="requirements"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
7 <expand macro="version_command"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
8 <command detect_errors="aggressive"><![CDATA[ |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
9 ## create symlinks to input datasets |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
10 ln -s "$otu" otu.dat && |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
11 ln -s "$group" group.dat && |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
12 ln -s "$count" count.dat && |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
13 ln -s "$repfasta" repfasta.dat && |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
14 ln -s "$repname" repname.dat && |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
15 ln -s "$constaxonomy" constaxonomy.dat && |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
16 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
17 echo 'create.database( |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
18 #if $otu.is_of_type("mothur.list"): |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
19 list=otu.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
20 #else |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
21 shared=otu.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
22 #end if |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
23 ,repfasta=repfasta.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
24 ,repname=repname.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
25 ,constaxonomy=constaxonomy.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
26 #if $label: |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
27 ,label=$label |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
28 #end if |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
29 #if $group: |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
30 ,group=group.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
31 #end if |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
32 #if $count: |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
33 ,count=count.dat |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
34 #end if |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
35 )' |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
36 | sed 's/ //g' ## mothur trips over whitespace |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
37 | mothur |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
38 ]]></command> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
39 <inputs> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
40 <param name="otu" type="data" format="mothur.list,mothur.shared" label="list or shared - OTU List of Shared"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
41 <param name="repfasta" type="data" format="fasta" label="repfasta - rep.fasta" help="rep.fasta file output by get.oturep"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
42 <param name="repname" type="data" format="mothur.names" label="repname - rep.names" help="rep.names file output by get.oturep"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
43 <param name="constaxonomy" type="data" format="mothur.cons.taxonomy" label="constaxonomy - Consensus Taxonomy" help="consensus taxonomy file output by classify.otu"/> |
|
6efb9d6ab2b1
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 file - count_table"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
45 <param name="group" type="data" format="mothur.groups" optional="true" label="group - Groups for summary file"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
46 <param name="label" type="select" label="label - OTU Labels" optional="true" help="Select exactly one label. If none selected, first label in your list or shared file will be used"> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
47 <expand macro="labeloptions"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
48 </param> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
49 </inputs> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
50 <outputs> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
51 <expand macro="logfile-output"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
52 <data name="database" format="tabular" from_work_dir="otu*.database" label="${tool.name} on ${on_string}: database"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
53 </outputs> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
54 <tests> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
55 <test> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
56 <param name="otu" value="cd-test.list" ftype="mothur.list"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
57 <param name="repfasta" value="cd-test.repfasta" ftype="fasta"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
58 <param name="repname" value="cd-test.repname" ftype="mothur.names"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
59 <param name="label" value="unique"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
60 <param name="constaxonomy" value="cd-test.constaxonomy" ftype="mothur.cons.taxonomy"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
61 <output name="database" file="cd-test.database" ftype="tabular"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
62 <expand macro="logfile-test"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
63 </test> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
64 </tests> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
65 <help> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
66 <![CDATA[ |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
67 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
68 @MOTHUR_OVERVIEW@ |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
69 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
70 **Command Documenation** |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
71 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
72 The create.database_ command reads a list_ or shared_ file, .cons.taxonomy, .rep.fasta, .rep.names and optional group file, and creates a database file. |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
73 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
74 .. _list: http://www.mothur.org/wiki/List_file |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
75 .. _shared: http://www.mothur.org/wiki/Shared_file |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
76 .. _create.database: http://www.mothur.org/wiki/Create.database |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
77 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
78 v.1.28.0: Updated to Mothur 1.33, added count paramter. |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
79 |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
80 ]]> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
81 </help> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
82 <expand macro="citations"/> |
|
6efb9d6ab2b1
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/mothur commit 180a403421967d36f995941b1a4561349d75cfc5
iuc
parents:
diff
changeset
|
83 </tool> |
