Repository revision
9:7f5707dd6073

Repository 'mothur_heatmap_sim'
hg clone https://toolshed.g2.bx.psu.edu/repos/iuc/mothur_heatmap_sim

Heatmap.sim tool metadata
Miscellaneous
Heatmap.sim
Generate a heatmap for pariwise similarity
mothur_heatmap_sim
toolshed.g2.bx.psu.edu/repos/iuc/mothur_heatmap_sim/mothur_heatmap_sim/1.39.5.0
1.39.5.0
mothur "#help()" | sed '7q;d' | cut -d" " -f2
True
Version lineage of this tool (guids ordered most recent to oldest)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_heatmap_sim/mothur_heatmap_sim/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_heatmap_sim/mothur_heatmap_sim/1.36.1.0
mothur_heatmap_sim
Requirements (dependencies defined in the <requirements> tag set)
name version type
mothur 1.39.5 package
Additional information about this tool
set -o pipefail; export TERM=vt100; 

## 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
    
None
False
Functional tests
name inputs outputs required files
Test-1 input|dist: amazon.dist
input|source: phylip
savelog: True
name: value
name: value
amazon.dist
value
Test-2 input|otu: amazon.an.shared
input|source: shared
savelog: True
name: value
amazon.an.shared
value
Test-3 input|otu: amazon.an.shared
input|label: ['0.03', '0.26', '0.55']
input|groups: ['forest', 'pasture']
input|calc: ['jclass', 'jest', 'sorclass', 'sorest', 'braycurtis', 'jabund', 'morisitahorn', 'sorabund', 'thetan', 'thetayc']
input|source: shared
savelog: True
name: value
amazon.an.shared
value