Repository revision
9:f25598da7174

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

Dist.shared tool metadata
Miscellaneous
Dist.shared
Generate a phylip-formatted dissimilarity distance matrix among multiple groups
mothur_dist_shared
toolshed.g2.bx.psu.edu/repos/iuc/mothur_dist_shared/mothur_dist_shared/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_dist_shared/mothur_dist_shared/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_dist_shared/mothur_dist_shared/1.36.1.0
mothur_dist_shared
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 '$otu' otu.dat &&

echo 'dist.shared(
    shared=otu.dat,
    #if $label:
        label=${ str($label).replace(",","-") },
    #end if
    #if $groups:
        groups=${ str($groups).replace(",","-") },
    #end if
    #if $calc:
        calc=${ str($calc).replace(",","-") },
    #end if
    #if $subsampling.use == "yes":
        #if $subsampling.subsample:
            subsample=$subsampling.subsample,
        #else
            subsample=T,
        #end if
        iters=$subsampling.iters,
    #end if
    output=$output,
    processors='\${GALAXY_SLOTS:-8}'
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    
None
False
Functional tests
name inputs outputs required files
Test-1 otu: amazon.an.shared
savelog: True
name: value
amazon.an.shared
value
Test-2 otu: amazon.an.shared
label: ['0.05', '0.22']
groups: ['forest', 'pasture']
calc: ['sharedsobs', 'sharedchao', 'sharedace', 'anderberg', 'jclass', 'jest', 'kulczynski', 'kulczynskicody', 'kstest', 'lennon', 'ochiai', 'sorclass', 'sorest', 'whittaker', 'hamming', 'memchi2', 'memchord', 'memeuclidean', 'mempearson', 'braycurtis', 'jabund', 'morisitahorn', 'sorabund', 'thetan', 'thetayc', 'canberra', 'gower', 'hellinger', 'manhattan', 'odum', 'soergel', 'spearman', 'speciesprofile', 'structchi2', 'structeuclidean', 'structpearson', 'sharednseqs', 'sharedobserved']
savelog: True
name: value
amazon.an.shared
value
Test-3 otu: amazon.an.shared
label: ['0.03', '0.33']
calc: canberra
subsampling|use: yes
output: square
savelog: True
name: value
amazon.an.shared
value
Test-4 otu: amazon.mothur.shared
label: 0.10
calc: canberra
subsampling|subsample: 2
subsampling|iters: 42
subsampling|use: yes
output: square
savelog: True
name: value
amazon.mothur.shared
value