view admixture/admixture.sh @ 17:f21d05b9d3fe draft

Deleted selected files
author dereeper
date Thu, 26 Feb 2015 15:23:05 -0500
parents fb274c4ae95a
children
line wrap: on
line source

#!/bin/bash
input=$1
outputs=$2
logs=$3
best_k_output=$4
best_k_logfile=$5
kmin=$6
kmax=$7

directory=`dirname $0`
mkdir tmpdir$$
cp -rf $input tmpdir$$/input
 
/usr/bin/perl $directory/Admixture.pl -i $input -o $outputs -k $kmin -m $kmax -d tmpdir$$ -p $directory

mv tmpdir$$/output $best_k_output
mv tmpdir$$/log $best_k_logfile
mv tmpdir$$/outputs.Q $outputs
mv tmpdir$$/logs $logs