Repository revision
10:88c441e56578

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

unifrac.weighted tool metadata
Miscellaneous
Describes whether two or more communities have the same structure
mothur_unifrac_weighted
toolshed.g2.bx.psu.edu/repos/iuc/mothur_unifrac_weighted/mothur_unifrac_weighted/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_unifrac_weighted/mothur_unifrac_weighted/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_unifrac_weighted/mothur_unifrac_weighted/1.36.1.0
mothur_unifrac_weighted
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 '$tree' tree.dat &&
ln -s '$group' group.dat &&
ln -s '$name' name.dat &&
ln -s '$count' count.dat &&

echo 'unifrac.weighted(
    tree=tree.dat,
    #if $group:
        group=group.dat,
        #if $groups:
            groups=${ str($groups).replace(",","-") },
        #end if
    #end if
    #if $name:
        name=name.dat,
    #end if
    iters=$iters,
    #if $subsampling.use == "yes":
        #if $subsampling.subsample:
            subsample=$subsampling.subsample,
        #else
            subsample=T,
        #end if
        consensus=$subsampling.consensus,
    #else
        random=$random,
    #end if
    #if $distance:
        distance=$distance,
    #end if
    #if $count:
        count=count.dat,
    #end if
    root=$root,
    processors='\${GALAXY_SLOTS:-1}'
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log

## rename some datasets
#if $subsampling.use == "yes":
    && mv tree.*.ave.dist tree.ave
    && mv tree.*.std.dist tree.std
#end if
    
None
False
Functional tests
name inputs outputs required files
Test-1 tree: abrecovery.tre
group: abrecovery.groups
groups: ['A', 'B', 'C']
savelog: True
name: value
name: value
name: value
abrecovery.tre
abrecovery.groups
value
Test-2 tree: abrecovery.tre
group: abrecovery.groups
groups: ['A', 'B', 'C']
random: True
savelog: True
name: value
name: value
name: value
name: value
abrecovery.tre
abrecovery.groups
value
Test-3 tree: abrecovery.tre
group: abrecovery.groups
groups: ['A', 'B']
distance: square
savelog: True
name: value
name: value
name: value
abrecovery.tre
abrecovery.groups
value
Test-4 tree: abrecovery.tre
group: abrecovery.groups
groups: ['A', 'B', 'C']
subsampling|subsample: 10
subsampling|consensus: True
subsampling|use: yes
distance: column
savelog: True
name: value
name: value
name: value
name: value
name: value
name: value
name: value
abrecovery.tre
abrecovery.groups
value