Repository revision
9:aeacbc9d5333

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

Heatmap.bin tool metadata
Miscellaneous
Heatmap.bin
Generate a heatmap for OTUs
mothur_heatmap_bin
toolshed.g2.bx.psu.edu/repos/iuc/mothur_heatmap_bin/mothur_heatmap_bin/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_bin/mothur_heatmap_bin/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_heatmap_bin/mothur_heatmap_bin/1.36.1.0
mothur_heatmap_bin
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 '$input.otu' input_otu.dat &&

echo 'heatmap.bin(
    #if $input.otu.is_of_type("mothur.rabund"):
        rabund=input_otu.dat,
    #elif $input.otu.is_of_type("mothur.sabund"):
        sabund=input_otu.dat,
    #elif $input.otu.is_of_type("mothur.list"):
        list=input_otu.dat,
    #elif $input.otu.is_of_type("mothur.relabund"):
        relabund=input_otu.dat,
    #elif $input.otu.is_of_type("mothur.shared"):
        shared=input_otu.dat,
    #end if
    #if $input.has_groups == 'yes' and $input.groups:
        groups=${ str($input.groups).replace(",","-") },
    #end if
    #if $input.label:
        label=${ str($input.label).replace(",","-") },
    #end if
    scale=$scale,
    sorted=$sorted,
    numotu=$numotu,
    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|otu: amazon.an.list
input|has_groups: no
savelog: True
name: value
amazon.an.list
value
Test-2 input|otu: amazon.an.relabund
input|groups: forest
input|label: 0.26
input|has_groups: yes
savelog: True
name: value
amazon.an.relabund
value
Test-3 input|otu: amazon.an.shared
input|groups: ['forest', 'pasture']
input|label: ['0.03', '0.26', '0.55']
input|has_groups: yes
scale: linear
sorted: none
fontsize: 100
savelog: True
name: value
amazon.an.shared
value