comparison admixture/admixture.sh @ 24:21d878747ac6 draft default tip

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:53:20 -0400
parents fb274c4ae95a
children
comparison
equal deleted inserted replaced
23:a1ab979f4551 24:21d878747ac6
1 #!/bin/bash
2 input=$1
3 outputs=$2
4 logs=$3
5 best_k_output=$4
6 best_k_logfile=$5
7 kmin=$6
8 kmax=$7
9
10 directory=`dirname $0`
11 mkdir tmpdir$$
12 cp -rf $input tmpdir$$/input
13
14 /usr/bin/perl $directory/Admixture.pl -i $input -o $outputs -k $kmin -m $kmax -d tmpdir$$ -p $directory
15
16 mv tmpdir$$/output $best_k_output
17 mv tmpdir$$/log $best_k_logfile
18 mv tmpdir$$/outputs.Q $outputs
19 mv tmpdir$$/logs $logs
20
21