Repository revision
9:fbd1d5bf02bf

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

Get.otulabels tool metadata
Miscellaneous
Selects OTU labels
mothur_get_otulabels
toolshed.g2.bx.psu.edu/repos/iuc/mothur_get_otulabels/mothur_get_otulabels/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_get_otulabels/mothur_get_otulabels/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_get_otulabels/mothur_get_otulabels/1.36.1.0
mothur_get_otulabels
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 '$infile.otu' infile.otu.dat &&
ln -s '$accnos' accnos.dat &&

echo 'get.otulabels(
    #if $infile.otu.is_of_type("mothur.cons.taxonomy"):
        constaxonomy=infile.otu.dat,
    #end if
    #if $infile.otu.is_of_type("mothur.otu.corr"):
        otucorr=infile.otu.dat,
    #end if
    #if $infile.otu.is_of_type("mothur.axes"):
        corraxes=infile.otu.dat,
    #end if
    #if $infile.otu.is_of_type("mothur.list"):
        list=infile.otu.dat,
    #end if
    #if $infile.otu.is_of_type("mothur.shared"):
        shared=infile.otu.dat,
    #end if
    #if $infile.intype == "in_shared" and $infile.label:
        label=$infile.label,
    #end if
    accnos=accnos.dat
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    
None
False
Functional tests
name inputs outputs required files
Test-1 accnos: amazon.accnos.otulabels
infile|otu: amazon.an.shared
infile|label: 0.22
infile|intype: in_shared
savelog: True
name: value
name: value
amazon.accnos.otulabels
amazon.an.shared
value
Test-2 accnos: amazon.accnos.otulabels
infile|otu: amazon.pcoa.axes
infile|intype: in_other
savelog: True
name: value
name: value
amazon.accnos.otulabels
amazon.pcoa.axes
value