Repository revision
9:56ad298415d8

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

Remove.dists tool metadata
Miscellaneous
Remove.dists
Removes distances from a phylip or column file
mothur_remove_dists
toolshed.g2.bx.psu.edu/repos/iuc/mothur_remove_dists/mothur_remove_dists/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_remove_dists/mothur_remove_dists/1.39.5.0 (this tool)
toolshed.g2.bx.psu.edu/repos/iuc/mothur_remove_dists/mothur_remove_dists/1.36.1.0
mothur_remove_dists
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 '$accnos' accnos.dat &&
ln -s '$input.dist' input_dist.dat &&

echo 'remove.dists(
    accnos=accnos.dat,
    #if $input.source == "phylip":
        phylip=input_dist.dat
    #else
        column=input_dist.dat
    #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 input|dist: 98_sq_phylip_amazon.dist
input|source: phylip
accnos: amazon.bad.accnos
savelog: True
name: value
name: value
98_sq_phylip_amazon.dist
amazon.bad.accnos
value