view MDSplot/mdsplot.sh @ 22:9954edc41095 draft

Deleted selected files
author dereeper
date Mon, 23 Mar 2015 05:48:52 -0400
parents a0a95688cf17
children
line wrap: on
line source

#!/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