comparison MDSplot/mdsplot.sh @ 19:a0a95688cf17 draft

Uploaded
author dereeper
date Thu, 26 Feb 2015 16:09:14 -0500
parents
children
comparison
equal deleted inserted replaced
18:7ba803afa41b 19:a0a95688cf17
1 #!/bin/bash
2
3 tool_path=$(dirname $0)
4 ped=$1
5 map=$2
6 fileout_label=$3
7 fileout_matrix=$4
8 fileout_plot=$5
9 fileout_log=$6
10
11 rsync -a $ped input.ped
12 rsync -a $map input.map
13
14 perl $tool_path/MDSbasedOnIBSmatrix.pl --in input --out $fileout_label
15
16 rm -f input.ped input.map
17
18 cp $fileout_label.ibs_matrix.txt $fileout_matrix
19 cp $fileout_label.mds_plot.txt $fileout_plot
20 cp input.plink.log $fileout_log
21
22
23 rm -f $fileout_label.ibs_matrix.txt $fileout_label.mds_plot.txt input.plink.log