Mercurial > repos > iuc > mothur_make_biom
comparison make.biom.xml @ 4:9da0a5f7df8c 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:28:29 -0500 |
| parents | fe0c38ac3adb |
| children | 063d478e1c94 |
comparison
equal
deleted
inserted
replaced
| 3:fe0c38ac3adb | 4:9da0a5f7df8c |
|---|---|
| 5 </macros> | 5 </macros> |
| 6 <expand macro="requirements"/> | 6 <expand macro="requirements"/> |
| 7 <expand macro="stdio"/> | 7 <expand macro="stdio"/> |
| 8 <expand macro="version_command"/> | 8 <expand macro="version_command"/> |
| 9 <command><![CDATA[ | 9 <command><![CDATA[ |
| 10 @SHELL_OPTIONS@ | 10 @SHELL_OPTIONS@ |
| 11 | 11 |
| 12 ## create symlinks to input datasets | 12 ## create symlinks to input datasets |
| 13 ln -s "$otu" otu.dat && | 13 ln -s '$otu' otu.dat && |
| 14 ln -s "$constaxonomy" constaxonomy.dat && | 14 ln -s '$constaxonomy' constaxonomy.dat && |
| 15 ln -s "$metadata" metadata.dat && | 15 ln -s '$metadata' metadata.dat && |
| 16 #if $picrustc.use == "yes": | 16 #if $picrustc.use == "yes": |
| 17 ln -s "$picrustc.picrust" picrustc.picrust.dat && | 17 ln -s '$picrustc.picrust' picrustc.picrust.dat && |
| 18 ln -s "$picrustc.reftax" picrustc.reftax.dat && | 18 ln -s '$picrustc.reftax' picrustc.reftax.dat && |
| 19 #end if | 19 #end if |
| 20 | 20 |
| 21 echo 'make.biom( | 21 echo 'make.biom( |
| 22 shared=otu.dat, | 22 shared=otu.dat, |
| 23 #if $constaxonomy: | 23 #if $constaxonomy: |
| 24 constaxonomy=constaxonomy.dat, | 24 constaxonomy=constaxonomy.dat, |
| 25 #end if | 25 #end if |
| 26 #if $label: | 26 #if $label: |
| 27 label=${ str($label).replace(",","-") }, | 27 label=${ str($label).replace(",","-") }, |
| 28 #end if | 28 #end if |
| 29 #if $groups: | 29 #if $groups: |
| 30 groups=${ str($groups).replace(",","-") }, | 30 groups=${ str($groups).replace(",","-") }, |
| 31 #end if | 31 #end if |
| 32 #if $metadata: | 32 #if $metadata: |
| 33 metadata=metadata.dat, | 33 metadata=metadata.dat, |
| 34 #end if | 34 #end if |
| 35 #if $picrustc.use == "yes": | 35 #if $picrustc.use == "yes": |
| 36 picrust=picrustc.picrust.dat, | 36 picrust=picrustc.picrust.dat, |
| 37 reftaxonomy=picrustc.reftax.dat, | 37 reftaxonomy=picrustc.reftax.dat, |
| 38 #end if | 38 #end if |
| 39 matrixtype=$matrixtype | 39 matrixtype=$matrixtype |
| 40 )' | 40 )' |
| 41 | sed 's/ //g' ## mothur trips over whitespace | 41 | sed 's/ //g' ## mothur trips over whitespace |
| 42 | mothur | 42 | mothur |
| 43 | tee mothur.out.log | 43 | tee mothur.out.log |
| 44 ]]></command> | 44 ]]></command> |
| 45 <inputs> | 45 <inputs> |
| 46 <param name="otu" type="data" format="mothur.shared" label="shared - OTU Shared file"/> | 46 <param name="otu" type="data" format="mothur.shared" label="shared - OTU Shared file"/> |
| 47 <param name="constaxonomy" type="data" format="mothur.cons.taxonomy" optional="true" label="contaxonomy - consensus taxonomy" help="The contaxonomy file is the taxonomy file outputted by classify.otu"/> | 47 <param name="constaxonomy" type="data" format="mothur.cons.taxonomy" optional="true" label="contaxonomy - consensus taxonomy" help="The contaxonomy file is the taxonomy file outputted by classify.otu"/> |
| 48 <param name="metadata" type="data" format="tabular" label="metadata" optional="true" help="You can add sample data support here"/> | 48 <param name="metadata" type="data" format="tabular,txt" label="metadata" optional="true" help="You can add sample data support here"/> |
| 49 <conditional name="picrustc"> | 49 <conditional name="picrustc"> |
| 50 <param name="use" type="select" label="use picrust program"> | 50 <param name="use" type="select" label="use picrust program"> |
| 51 <option value="no" selected="true">no</option> | 51 <option value="no" selected="true">no</option> |
| 52 <option value="yes">yes</option> | 52 <option value="yes">yes</option> |
| 53 </param> | 53 </param> |
| 70 <expand macro="labeloptions"/> | 70 <expand macro="labeloptions"/> |
| 71 </param> | 71 </param> |
| 72 </inputs> | 72 </inputs> |
| 73 <outputs> | 73 <outputs> |
| 74 <expand macro="logfile-output"/> | 74 <expand macro="logfile-output"/> |
| 75 <collection name="biomfiles" type="list" label="${tool.name} on ${on_string}: calculators"> | 75 <collection name="biomfiles" type="list" label="${tool.name} on ${on_string}: biom files"> |
| 76 <discover_datasets pattern=".*?\.(?P<designation>.*)\.biom" format="biom1"/> | 76 <discover_datasets pattern=".*?\.(?P<designation>.*)\.biom" format="biom1"/> |
| 77 </collection> | 77 </collection> |
| 78 </outputs> | 78 </outputs> |
| 79 <tests> | 79 <tests> |
| 80 <test><!-- test with defaults --> | 80 <test><!-- test with defaults --> |
| 122 </output_collection> | 122 </output_collection> |
| 123 <expand macro="logfile-test"/> | 123 <expand macro="logfile-test"/> |
| 124 </test> | 124 </test> |
| 125 <!-- TODO: test with picrust option (need file with greengenes OTU IDs) --> | 125 <!-- TODO: test with picrust option (need file with greengenes OTU IDs) --> |
| 126 </tests> | 126 </tests> |
| 127 <help> | 127 <help><![CDATA[ |
| 128 <![CDATA[ | |
| 129 | 128 |
| 130 @MOTHUR_OVERVIEW@ | 129 @MOTHUR_OVERVIEW@ |
| 131 | 130 |
| 132 **Command Documentation** | 131 **Command Documentation** |
| 133 | 132 |
| 136 | 135 |
| 137 | 136 |
| 138 .. _shared: https://www.mothur.org/wiki/Shared_file | 137 .. _shared: https://www.mothur.org/wiki/Shared_file |
| 139 .. _biom: http://biom-format.org/documentation/biom_format.html | 138 .. _biom: http://biom-format.org/documentation/biom_format.html |
| 140 .. _make.biom: https://www.mothur.org/wiki/Make.biom | 139 .. _make.biom: https://www.mothur.org/wiki/Make.biom |
| 141 ]]> | 140 |
| 142 </help> | 141 ]]></help> |
| 143 <expand macro="citations"/> | 142 <expand macro="citations"/> |
| 144 </tool> | 143 </tool> |
