Mercurial > repos > iuc > mothur_heatmap_sim
diff heatmap.sim.xml @ 3:eb3fcb541aad 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:21:51 -0500 |
| parents | 4c752399b0c7 |
| children | 861d4d4458e9 |
line wrap: on
line diff
--- a/heatmap.sim.xml Tue Sep 05 16:44:31 2017 -0400 +++ b/heatmap.sim.xml Wed Feb 14 09:21:51 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 "$count" count.dat && - #if $input.source == 'shared': - ln -s "$input.otu" input_otu.dat && - #else - ln -s "$input.dist" input_dist.dat && - #if $input.source == 'column': - ln -s "$input.name" input_name.dat && - #end if - #end if +## create symlinks to input datasets +ln -s '$count' count.dat && +#if $input.source == 'shared': + ln -s '$input.otu' input_otu.dat && +#else + ln -s '$input.dist' input_dist.dat && + #if $input.source == 'column': + ln -s '$input.name' input_name.dat && + #end if +#end if - echo 'heatmap.sim( - #if $input.source == "shared": - shared=input_otu.dat, - #if $input.label: - label=${ str($input.label).replace(",","-") }, - #end if - #if $input.groups: - groups=${ str($input.groups).replace(",","-") }, - #end if - #if $input.calc: - calc=${ str($input.calc).replace(",","-") }, - #end if - #elif $input.source == "column": - column=input_dist.dat, - name=input_name.dat, - #elif $input.source == "phylip": - phylip=input_dist.dat, - #end if - #if $count: - count=count.dat, - #end if - fontsize=$fontsize - )' - | sed 's/ //g' ## mothur trips over whitespace - | mothur - | tee mothur.out.log +echo 'heatmap.sim( + #if $input.source == "shared": + shared=input_otu.dat, + #if $input.label: + label=${ str($input.label).replace(",","-") }, + #end if + #if $input.groups: + groups=${ str($input.groups).replace(",","-") }, + #end if + #if $input.calc: + calc=${ str($input.calc).replace(",","-") }, + #end if + #elif $input.source == "column": + column=input_dist.dat, + name=input_name.dat, + #elif $input.source == "phylip": + phylip=input_dist.dat, + #end if + #if $count: + count=count.dat, + #end if + fontsize=$fontsize +)' +| sed 's/ //g' ## mothur trips over whitespace +| mothur +| tee mothur.out.log ]]></command> <inputs> <conditional name="input"> @@ -115,7 +115,12 @@ <param name="source" value="shared"/> <param name="otu" value="amazon.an.shared" ftype="mothur.shared"/> <output_collection name="heatmaps" count="72"> - <element name="0.55.jest.heatmap" md5="c48bac26a84f657ead8dd43af0401317"/> + <element name="0.55.jest.heatmap"> + <assert_contents> + <has_text text="svg xmlns:svg="/> + <has_text text="Heatmap at distance 0.55"/> + </assert_contents> + </element> </output_collection> <expand macro="logfile-test"/> </test> @@ -126,13 +131,17 @@ <param name="calc" value="jclass,jest,sorclass,sorest,braycurtis,jabund,morisitahorn,sorabund,thetan,thetayc"/> <param name="groups" value="forest,pasture"/> <output_collection name="heatmaps" count="30"> - <element name="0.03.braycurtis.heatmap" md5="6a3f261e1012edaf620f78b62eff5c88"/> + <element name="0.03.braycurtis.heatmap"> + <assert_contents> + <has_text text="svg xmlns:svg="/> + <has_text text="Heatmap at distance 0.03"/> + </assert_contents> + </element> </output_collection> <expand macro="logfile-test"/> </test> </tests> - <help> -<![CDATA[ + <help><![CDATA[ @MOTHUR_OVERVIEW@ @@ -147,7 +156,7 @@ .. _heatmap.sim: https://www.mothur.org/wiki/Heatmap.sim v.1.24.0: Updated to Mothur 1.33, added count parameter -]]> - </help> + + ]]></help> <expand macro="citations"/> </tool>
