Repository revision
9:4d219b4dfd6a

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

Phylotype tool metadata
Miscellaneous
Phylotype
Assign sequences to OTUs based on taxonomy
mothur_phylotype
toolshed.g2.bx.psu.edu/repos/iuc/mothur_phylotype/mothur_phylotype/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_phylotype/mothur_phylotype/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_phylotype/mothur_phylotype/1.36.1.0
mothur_phylotype
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 '$taxonomy' taxonomy.dat &&
ln -s '$name' name.dat &&

echo 'phylotype(
    taxonomy=taxonomy.dat
    #if $cutoff:
        ,cutoff=$cutoff
    #end if
    #if $name:
        ,name=name.dat
    #end if
    #if $label:
        ,label=${ str($label).replace(",","-") }
    #end if
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    
None
False
Functional tests
name inputs outputs required files
Test-1 taxonomy: abrecovery.pds.wang.taxonomy
savelog: True
name: value
name: value
name: value
name: value
abrecovery.pds.wang.taxonomy
value
Test-2 taxonomy: abrecovery.pds.wang.taxonomy
label: ['1', '4', '5']
cutoff: 5
savelog: True
name: value
name: value
name: value
name: value
abrecovery.pds.wang.taxonomy
value