comparison MDSplot/mdsplot.sh @ 3:345f88a8f483 draft

Uploaded
author dereeper
date Fri, 10 Jul 2015 10:38:43 -0400
parents 3e19d0dfcf3e
children 10627af23f10
comparison
equal deleted inserted replaced
2:feb40a9a8eae 3:345f88a8f483
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