Mercurial > repos > qfab > rarefaction
view rarefaction/rarefactionCurve.sh @ 2:f6c468a79849 draft default tip
update repository dependencies
author | qfab |
---|---|
date | Wed, 04 Jun 2014 01:16:43 -0400 |
parents | ccdc5e9238fc |
children |
line wrap: on
line source
#!/bin/bash echo $@ filetype=$1 input=$2 pctIdent=$3 label=0$(bc <<< "scale=2; 1-$pctIdent") output=$4 pngOutput=$5 ## use Mothur rarefaction.single to calculate rarefaction mothur "#rarefaction.single($filetype=$input, label=$label)" 2>1 ## get filename only remove the extension and copy to galaxy output file file="${input%.*}" echo `cp $file.rarefaction $output`