Mercurial > repos > dereeper > snmf
annotate snmf.sh @ 7:22aee300afdf draft
planemo upload commit 1984e785e8d5efa4685389ab8ca4c73346b4de93
| author | dereeper |
|---|---|
| date | Wed, 18 Apr 2018 05:44:40 -0400 |
| parents | 9a1729b89405 |
| children | c94c31bde773 |
| rev | line source |
|---|---|
| 0 | 1 #!/bin/bash |
| 2 vcf=$1 | |
| 3 outputs=$2 | |
| 4 logs=$3 | |
| 5 best_k_output=$4 | |
| 6 best_k_logfile=$5 | |
| 7 kmin=$6 | |
| 8 kmax=$7 | |
| 9 groups=$8 | |
| 10 threshold_group=$9 | |
| 11 | |
| 12 directory=`dirname $0` | |
| 13 mkdir tmpdir$$ | |
| 14 | |
| 15 | |
| 16 perl $directory/Snmf.pl -i $vcf -o $outputs -k $kmin -m $kmax -d tmpdir$$ -t $threshold_group | |
| 17 | |
| 18 mv tmpdir$$/output $best_k_output | |
| 19 mv tmpdir$$/log $best_k_logfile | |
| 20 mv tmpdir$$/outputs.Q $outputs | |
| 21 mv tmpdir$$/logs $logs | |
| 22 mv tmpdir$$/groups $groups | |
| 23 | |
| 24 |
