comparison admixture/.svn/text-base/admixture.sh.svn-base @ 20:13cff72ec2d3 draft

Uploaded
author dereeper
date Mon, 23 Mar 2015 05:30:36 -0400
parents
children
comparison
equal deleted inserted replaced
19:a0a95688cf17 20:13cff72ec2d3
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