Repository revision
9:03b02c255008

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

Corr.axes tool metadata
Miscellaneous
Corr.axes
correlation of data to axes
mothur_corr_axes
toolshed.g2.bx.psu.edu/repos/iuc/mothur_corr_axes/mothur_corr_axes/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_corr_axes/mothur_corr_axes/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_corr_axes/mothur_corr_axes/1.36.1.0
mothur_corr_axes
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
#if $input.source == "shared":
    ln -s '$input.otu' input.otu.dat &&
#else
    ln -s '$input.metadata' input.metadata.dat &&
#end if

echo 'corr.axes(
    #if $input.source == "shared":
        #if $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.label:
            label=$input.label,
        #end if
        #if $input.groups:
            groups=${ str($input.groups).replace(",","-") },
        #end if
    #else:
        metadata=input.metadata.dat,
    #end if
    method=$method,
    axes=$axes,
    numaxes=$numaxes
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    
None
False
Functional tests
name inputs outputs required files
Test-1 axes: amazon.square.pcoa.axes
input|otu: amazon.an.shared
input|source: shared
savelog: True
name: value
name: value
amazon.square.pcoa.axes
amazon.an.shared
value
Test-2 axes: amazon.square.pcoa.axes
input|metadata: amazon.metadata
input|source: metadata
savelog: True
name: value
name: value
amazon.square.pcoa.axes
amazon.metadata
value
Test-3 axes: amazon.square.pcoa.axes
input|otu: amazon.an.relabund
input|label: 0.05
input|groups: ['forest', 'pasture']
input|source: shared
savelog: True
name: value
name: value
amazon.square.pcoa.axes
amazon.an.relabund
value