Mercurial > repos > iuc > mothur_make_biom
diff 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 |
line wrap: on
line diff
--- a/make.biom.xml Fri Sep 08 13:12:53 2017 -0400 +++ b/make.biom.xml Wed Feb 14 09:28:29 2018 -0500 @@ -7,45 +7,45 @@ <expand macro="stdio"/> <expand macro="version_command"/> <command><![CDATA[ - @SHELL_OPTIONS@ +@SHELL_OPTIONS@ - ## create symlinks to input datasets - ln -s "$otu" otu.dat && - ln -s "$constaxonomy" constaxonomy.dat && - ln -s "$metadata" metadata.dat && - #if $picrustc.use == "yes": - ln -s "$picrustc.picrust" picrustc.picrust.dat && - ln -s "$picrustc.reftax" picrustc.reftax.dat && - #end if +## create symlinks to input datasets +ln -s '$otu' otu.dat && +ln -s '$constaxonomy' constaxonomy.dat && +ln -s '$metadata' metadata.dat && +#if $picrustc.use == "yes": + ln -s '$picrustc.picrust' picrustc.picrust.dat && + ln -s '$picrustc.reftax' picrustc.reftax.dat && +#end if - echo 'make.biom( - shared=otu.dat, - #if $constaxonomy: - constaxonomy=constaxonomy.dat, - #end if - #if $label: - label=${ str($label).replace(",","-") }, - #end if - #if $groups: - groups=${ str($groups).replace(",","-") }, - #end if - #if $metadata: - metadata=metadata.dat, - #end if - #if $picrustc.use == "yes": - picrust=picrustc.picrust.dat, - reftaxonomy=picrustc.reftax.dat, - #end if - matrixtype=$matrixtype - )' - | sed 's/ //g' ## mothur trips over whitespace - | mothur - | tee mothur.out.log +echo 'make.biom( + shared=otu.dat, + #if $constaxonomy: + constaxonomy=constaxonomy.dat, + #end if + #if $label: + label=${ str($label).replace(",","-") }, + #end if + #if $groups: + groups=${ str($groups).replace(",","-") }, + #end if + #if $metadata: + metadata=metadata.dat, + #end if + #if $picrustc.use == "yes": + picrust=picrustc.picrust.dat, + reftaxonomy=picrustc.reftax.dat, + #end if + matrixtype=$matrixtype +)' +| sed 's/ //g' ## mothur trips over whitespace +| mothur +| tee mothur.out.log ]]></command> <inputs> <param name="otu" type="data" format="mothur.shared" label="shared - OTU Shared file"/> <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"/> - <param name="metadata" type="data" format="tabular" label="metadata" optional="true" help="You can add sample data support here"/> + <param name="metadata" type="data" format="tabular,txt" label="metadata" optional="true" help="You can add sample data support here"/> <conditional name="picrustc"> <param name="use" type="select" label="use picrust program"> <option value="no" selected="true">no</option> @@ -72,7 +72,7 @@ </inputs> <outputs> <expand macro="logfile-output"/> - <collection name="biomfiles" type="list" label="${tool.name} on ${on_string}: calculators"> + <collection name="biomfiles" type="list" label="${tool.name} on ${on_string}: biom files"> <discover_datasets pattern=".*?\.(?P<designation>.*)\.biom" format="biom1"/> </collection> </outputs> @@ -124,8 +124,7 @@ </test> <!-- TODO: test with picrust option (need file with greengenes OTU IDs) --> </tests> - <help> -<![CDATA[ + <help><![CDATA[ @MOTHUR_OVERVIEW@ @@ -138,7 +137,7 @@ .. _shared: https://www.mothur.org/wiki/Shared_file .. _biom: http://biom-format.org/documentation/biom_format.html .. _make.biom: https://www.mothur.org/wiki/Make.biom -]]> - </help> + + ]]></help> <expand macro="citations"/> </tool>
