Repository revision
9:4db54b1c1d83

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

Venn tool metadata
Miscellaneous
Venn
Generate Venn diagrams for groups
mothur_venn
toolshed.g2.bx.psu.edu/repos/iuc/mothur_venn/mothur_venn/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_venn/mothur_venn/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_venn/mothur_venn/1.36.1.0
mothur_venn
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 '$input.otu' input_otu.dat &&

echo 'venn(
    #if $input.source == "shared":
        shared=input_otu.dat,
        nseqs=$nseqs,
        permute=$permute,
        #if $input.groups:
            groups=${ str($input.groups).replace(",","-") },
        #end if
    #elif $input.source == "similarity":
        list=input_otu.dat,
        abund=$input.abund,
    #end if
    #if $input.label:
        label=${ str($input.label).replace(",","-") },
    #end if
    #if $input.calc:
        calc=${ str($input.calc).replace(",","-") },
    #end if
    fontsize=$fontsize,
    sharedotus=$sharedotus
)'
| sed 's/ //g'  ## mothur trips over whitespace
| mothur
| tee mothur.out.log
    
None
False
Functional tests
name inputs outputs required files
Test-1 input|otu: amazon.an.shared
input|calc: ['sharedsobs', 'sharedchao']
input|groups: ['forest', 'pasture']
input|source: shared
savelog: True
name: value
amazon.an.shared
value
Test-2 input|otu: amazon.an.list
input|calc: ['sobs', 'chao', 'ace']
input|source: similarity
savelog: True
name: value
amazon.an.list
value