Mercurial > repos > dereeper > sniplay
diff MDSplot/mdsplot.sh @ 3:345f88a8f483 draft
Uploaded
author | dereeper |
---|---|
date | Fri, 10 Jul 2015 10:38:43 -0400 |
parents | 3e19d0dfcf3e |
children | 10627af23f10 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/MDSplot/mdsplot.sh Fri Jul 10 10:38:43 2015 -0400 @@ -0,0 +1,23 @@ +#!/bin/bash + +tool_path=$(dirname $0) +ped=$1 +map=$2 +fileout_label=$3 +fileout_matrix=$4 +fileout_plot=$5 +fileout_log=$6 + +rsync -a $ped input.ped +rsync -a $map input.map + +perl $tool_path/MDSbasedOnIBSmatrix.pl --in input --out $fileout_label + +rm -f input.ped input.map + +cp $fileout_label.ibs_matrix.txt $fileout_matrix +cp $fileout_label.mds_plot.txt $fileout_plot +cp input.plink.log $fileout_log + + +rm -f $fileout_label.ibs_matrix.txt $fileout_label.mds_plot.txt input.plink.log